Add easy vim wrapped line movement

This commit is contained in:
lhark 2015-10-15 10:11:09 +02:00
parent 2f24f2e275
commit 0b1a4480cd

6
vimrc
View file

@ -108,6 +108,12 @@ vnoremap > >gv
"[Improve up/down movement on wrapped lines]"
nnoremap j gj
nnoremap k gk
nnoremap <Down> gj
nnoremap <Up> gk
vnoremap <Down> gj
vnoremap <Up> gk
inoremap <Down> <C-o>gj
inoremap <Up> <C-o>gk
"[Clear search highlights]"
nnoremap // :nohlsearch<CR>
"[Easy split navigation]"