S or /

voice_control / text_navigation.talon

1# Text navigation2move down:3    # help: Move the cursor down one line4    edit.down()5move left:6    # help: Move the cursor left one character7    edit.left()8move right:9    # help: Move the cursor right one character10    edit.right()11move up:12    # help: Move the cursor up one line13    edit.up()1415move to [the] end [of [the] document] | go to [the] end [of [the] document] | move to [the] bottom [of [the] document] | go to [the] bottom [of [the] document]:16    # help: Move the cursor to the end of the document17    edit.file_end()18move to [the] end of [the] line | go to [the] end of [the] line:19    # help: Move the cursor to the end of the line20    edit.line_end()21move to [the] end of [the] paragraph | go to [the] end of [the] paragraph:22    # help: Move the cursor to the end of the paragraph23    edit.paragraph_end()24move to [the] end of [the] selection | go to [the] end of [the] selection:25    # help: Move the cursor to the end of the current selection26    # FIXME? might depend on caret direction / OS27    edit.right()28move to [the] end of [the] sentence | go to [the] end of [the] sentence:29    # help: Move the cursor to the end of the sentence30    edit.sentence_end()31move to [the] end of [the] word | go to [the] end of [the] word:32    # help: Move the cursor to the end of the word33    edit.select_word()34    edit.right()35move to [the] beginning [of [the] document] | go to [the] beginning [of [the] document] | move to [the] top [of [the] document] | go to [the] top [of [the] document]:36    # help: Move the cursor to the beginning of the document37    edit.file_start()38move to [the] beginning of [the] line | go to [the] beginning of [the] line:39    # help: Move the cursor to the beginning of the line40    edit.line_start()41move to [the] beginning of [the] paragraph | go to [the] beginning of [the] paragraph:42    # help: Move the cursor to the beginning of the paragraph43    edit.paragraph_start()44move to [the] beginning of [the] selection | go to [the] beginning of [the] selection:45    # help: Move the cursor to the beginning of the current selection46    # FIXME? might depend on caret direction / OS47    edit.left()48move to [the] beginning of [the] sentence | go to [the] beginning of [the] sentence:49    # help: Move the cursor to the beginning of the sentence50    edit.sentence_start()51move to [the] beginning of [the] word | go to [the] beginning of [the] word:52    # help: Move the cursor to the beginning of the word53    edit.select_word()54    edit.left()5556move back [by] <number> characters | move backward [by] <number> characters | move back [by] one character | move back [[by] [a] character] | move backward [by] one character | move backward [[by] [a] character] | move left [by] <number> characters | move left [by] one character | move left [by] [a] character:57    # help: Move the cursor back by the given number of characters58    number = number or 159    edit.left()60    repeat(number-1)61move back [by] <number> lines | move backward [by] <number> lines | move back [by] one line | move back [by] [a] line | move backward [by] one line | move backward [by] [a] line:62    # help: Move the cursor back by the given number of lines63    number = number or 164    edit.line_up()65    repeat(number-1)66move back [by] <number> paragraphs | move backward [by] <number> paragraphs | move back [by] one paragraph | move back [by] [a] paragraph | move backward [by] one paragraph | move backward [by] [a] paragraph:67    # help: Move the cursor back by the given number of paragraphs68    number = number or 169    edit.paragraph_previous()70    repeat(number-1)71move back [by] <number> sentences | move backward [by] <number> sentences | move back [by] one sentence | move back [by] [a] sentence | move backward [by] one sentence | move backward [by] [a] sentence | move left [by] <number> sentences | move left [by] one sentence | move left [by] [a] sentence:72    # help: Move the cursor back by the given number of sentences73    number = number or 174    edit.sentence_previous()75    repeat(number-1)76move back [by] <number> words | move backward [by] <number> words | move back [by] one word | move back [by] [a] word | move backward [by] one word | move backward [by] [a] word | move left [by] <number> words | move left [by] one word | move left [by] [a] word:77    # help: Move the cursor back by the given number of words78    number = number or 179    edit.word_left()80    repeat(number-1)81move down [by] <number> lines | move down [by] one line | move down [by] [a] line:82    # help: Move the cursor down by the given number of lines83    number = number or 184    edit.line_down()85    repeat(number-1)86move down [by] <number> paragraphs | move down [by] one paragraph | move down [by] [a] paragraph:87    # help: Move the cursor down by the given number of paragraphs88    number = number or 189    edit.paragraph_next()90    repeat(number-1)91move forward [by] <number> characters | move forward [by] one character | move forward [[by] [a] character] | move right [by] <number> characters | move right [by] one character | move right [by] [a] character:92    # help: Move the cursor forward by the given number of characters93    number = number or 194    edit.right()95    repeat(number-1)96move forward [by] <number> lines | move forward [by] one line | move forward [by] [a] line:97    # help: Move the cursor forward by the given number of lines98    number = number or 199    edit.line_down()100    repeat(number-1)101move forward [by] <number> paragraphs | move forward [by] one paragraph | move forward [by] [a] paragraph:102    # help: Move the cursor forward by the given number of paragraphs103    number = number or 1104    edit.paragraph_next()105    repeat(number-1)106move forward [by] <number> sentences | move forward [by] one sentence | move forward [by] [a] sentence | move right [by] <number> sentences | move right [by] one sentence | move right [by] [a] sentence:107    # help: Move the cursor forward by the given number of sentences108    number = number or 1109    edit.sentence_next()110    repeat(number-1)111move forward [by] <number> words | move forward [by] one word | move forward [by] [a] word | move right [by] <number> words | move right [by] one word | move right [by] [a] word:112    # help: Move the cursor forward by the given number of words113    number = number or 1114    edit.word_right()115    repeat(number-1)116move up [by] <number> lines | move up [by] one line | move up [by] [a] line:117    # help: Move the cursor up by the given number of lines118    number = number or 1119    edit.line_up()120    repeat(number-1)121move up [by] <number> paragraphs | move up [by] one paragraph | move up [by] [a] paragraph:122    # help: Move the cursor up by the given number of paragraphs123    number = number or 1124    edit.paragraph_previous()125    repeat(number-1)126127move after <edit.target> | insert after <edit.target>:128    # help: Move the cursor after the target text129    edit.target_after(edit.target)130move before <edit.target> | insert before <edit.target>:131    # help: Move the cursor before the target text132    edit.target_before(edit.target)