Skip to content

Replace move maps on last update. #423

Closed Answered by lippfi
Thomas-Bagnolati asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, Thomas!
You shouldn't place keystrokes in triangle brackets, please replace your config with following lines:

" Go to next/previous word
nnoremap <C-h> b
nnoremap <C-l> w
vnoremap <C-h> b
vnoremap <C-l> w
nnoremap <C-S-h> B
nnoremap <C-S-l> W
vnoremap <C-S-h> B
vnoremap <C-S-l> W

For Vim <b/<w is <{motion} and does a completely different thing than going to the previous/next word (see :h <)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Thomas-Bagnolati
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants