Map the t character to select to the end of the word

This commit is contained in:
Kevin MacMartin 2017-10-06 13:57:15 -04:00
parent 2154eac7d9
commit 80b5a0ded4

View file

@ -260,6 +260,8 @@
" <Shift-Right> | (V) -> select all text to the right
" <Shift-Left> | (V) -> select all text to the left up to the indent
"
" t | (N) -> select to the end of the word
"
" <Ctrl-Up> | (V) -> select four lines up
" <Ctrl-Down> | (V) -> select four lines down
" <Ctrl-Right> | (V) -> select one word right
@ -822,6 +824,9 @@
nnoremap <C-a> gg0vG$
xnoremap <C-a> <Esc>gg0vG$
"t to select to the end of the word
nnoremap t ve
"map remap keys for speedier text selection
xnoremap <C-Up> 4k
xnoremap <C-Down> 4j