line_commands.talon (2144B)
1 tag: user.line_commands 2 - 3 #this defines some common line commands. More may be defined that are ide-specific. 4 lend: edit.line_end() 5 bend: edit.line_start() 6 go <number>: edit.jump_line(number) 7 go <number> end: 8 edit.jump_line(number) 9 edit.line_end() 10 comment [line] <number>: 11 user.select_range(number, number) 12 code.toggle_comment() 13 comment <number> until <number>: 14 user.select_range(number_1, number_2) 15 code.toggle_comment() 16 clear [line] <number>: 17 edit.jump_line(number) 18 user.select_range(number, number) 19 edit.delete() 20 clear <number> until <number>: 21 user.select_range(number_1, number_2) 22 edit.delete() 23 copy [line] <number>: 24 user.select_range(number, number) 25 edit.copy() 26 copy <number> until <number>: 27 user.select_range(number_1, number_2) 28 edit.copy() 29 cut [line] <number>: 30 user.select_range(number, number) 31 edit.cut() 32 cut [line] <number> until <number>: 33 user.select_range(number_1, number_2) 34 edit.cut() 35 (paste | replace) <number> until <number>: 36 user.select_range(number_1, number_2) 37 edit.paste() 38 (select | cell | sell) [line] <number>: user.select_range(number, number) 39 (select | cell | sell) <number> until <number>: user.select_range(number_1, number_2) 40 tab that: edit.indent_more() 41 tab [line] <number>: 42 edit.jump_line(number) 43 edit.indent_more() 44 tab <number> until <number>: 45 user.select_range(number_1, number_2) 46 edit.indent_more() 47 retab that: edit.indent_less() 48 retab [line] <number>: 49 user.select_range(number, number) 50 edit.indent_less() 51 retab <number> until <number>: 52 user.select_range(number_1, number_2) 53 edit.indent_less() 54 drag [line] down: edit.line_swap_down() 55 drag [line] up: edit.line_swap_up() 56 drag up [line] <number>: 57 user.select_range(number, number) 58 edit.line_swap_up() 59 drag up <number> until <number>: 60 user.select_range(number_1, number_2) 61 edit.line_swap_up() 62 drag down [line] <number>: 63 user.select_range(number, number) 64 edit.line_swap_down() 65 drag down <number> until <number>: 66 user.select_range(number_1, number_2) 67 edit.line_swap_down() 68 clone (line|that): edit.line_clone()