File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -37,15 +37,15 @@ def beginning_of_line(cursor_offset, line):
3737def end_of_line (cursor_offset , line ):
3838 return len (line ), line
3939
40- @on ('<Esc- f>' )
40+ @on ('<Esc+ f>' )
4141@on ('<Ctrl-RIGHT>' )
4242def forward_word (cursor_offset , line ):
4343 patt = r"\S\s"
4444 match = re .search (patt , line [cursor_offset :]+ ' ' )
4545 delta = match .end () - 1 if match else 0
4646 return (cursor_offset + delta , line )
4747
48- @on ('<Esc- b>' )
48+ @on ('<Esc+ b>' )
4949@on ('<Ctrl-LEFT>' )
5050def back_word (cursor_offset , line ):
5151 return (last_word_pos (line [:cursor_offset ]), line )
@@ -117,11 +117,11 @@ def transpose_word_before_cursor(cursor_offset, line):
117117def delete_line (cursor_offset , line ):
118118 return 0 , ""
119119
120- @on ('<Esc- u>' )
120+ @on ('<Esc+ u>' )
121121def uppercase_next_word (cursor_offset , line ):
122122 return cursor_offset , line #TODO Not implemented
123123
124- @on ('<Esc- c>' )
124+ @on ('<Esc+ c>' )
125125def titlecase_next_word (cursor_offset , line ):
126126 return cursor_offset , line #TODO Not implemented
127127
You can’t perform that action at this time.
0 commit comments