voice_control / text_deletion.talon
1# Text deletion2delete that | delete this | delete [the] selection:3 # help: Delete the selected text4 edit.delete()56delete all:7 # help: Delete all the text in the document8 edit.delete_all()9delete [this] character:10 # help: Delete the character at the cursor11 edit.delete_right()12delete [this] line:13 # help: Delete the line at the cursor14 edit.delete_line()15delete [this] paragraph:16 # help: Delete the paragraph at the cursor17 edit.delete_paragraph()18delete [this] sentence:19 # help: Delete the sentence at the cursor20 edit.delete_sentence()21delete [this] word:22 # help: Delete the word at the cursor23 edit.delete_word()24delete [the] next character | delete forward:25 # help: Delete the next character26 edit.delete_right()27delete [the] next <number> characters:28 # help: Delete the given number of characters after the cursor29 edit.delete_right()30 repeat(number-1)31delete [the] next line:32 # help: Delete the line after the cursor33 edit.line_down()34 edit.delete_line()35delete [the] next <number> lines:36 # help: Delete the given number of lines after the cursor37 edit.line_down()38 edit.delete_line()39 repeat(number-1)40delete [the] next paragraph:41 # help: Delete the paragraph after the cursor42 edit.paragraph_next()43 edit.delete_paragraph()44delete [the] next <number> paragraphs:45 # help: Delete the given number of paragraphs after the cursor46 edit.paragraph_next()47 edit.delete_paragraph()48 repeat(number-1)49delete [the] next sentence:50 # help: Delete the sentence after the cursor51 edit.sentence_next()52 edit.delete_sentence()53delete [the] next <number> sentences:54 # help: Delete the given number of sentences after the cursor55 edit.sentence_next()56 edit.delete_sentence()57 repeat(number-1)58delete [the] next word:59 # help: Delete the word after the cursor60 edit.word_right()61 edit.delete_word()62delete [the] next <number> words:63 # help: Delete the given number of words after the cursor64 edit.word_right()65 edit.delete_word()66 repeat(number-1)67delete [the] previous character | backspace [one]:68 # help: Delete the character before the cursor69 edit.delete_left()70delete [the] previous <number> characters | backspace <number>:71 # help: Delete the given number of characters before the cursor72 edit.delete_left()73 repeat(number-1)74delete [the] previous line:75 # help: Delete the line before the cursor76 edit.line_start()77 edit.extend_line_up()78 edit.delete()79delete [the] previous <number> lines:80 # help: Delete the given number of lines before the cursor81 edit.line_start()82 edit.extend_line_up()83 repeat(number-1)84 edit.delete()85delete [the] previous paragraph:86 # help: Delete the paragraph before the cursor87 edit.paragraph_start()88 edit.extend_paragraph_previous()89 edit.delete()90delete [the] previous <number> paragraphs:91 # help: Delete the given number of paragraphs before the cursor92 edit.paragraph_start()93 edit.extend_paragraph_previous()94 repeat(number-1)95 edit.delete()96delete [the] previous sentence:97 # help: Delete the sentence before the cursor98 edit.sentence_start()99 edit.extend_sentence_previous()100 edit.delete()101delete [the] previous <number> sentences:102 # help: Delete the given number of sentences before the cursor103 edit.sentence_start()104 edit.extend_sentence_previous()105 repeat(number-1)106 edit.delete()107delete [the] previous word:108 # help: Delete the word before the cursor109 edit.word_left()110 edit.delete_word()111delete [the] previous <number> words:112 # help: Delete the given number of words before the cursor113 edit.extend_word_left()114 repeat(number-1)115 edit.delete()116117delete <edit.target>:118 # help: Delete the target text119 edit.target_delete(edit.target)