Add easy vim wrapped line movement
This commit is contained in:
parent
2f24f2e275
commit
0b1a4480cd
1 changed files with 6 additions and 0 deletions
6
vimrc
6
vimrc
|
@ -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]"
|
||||
|
|
Loading…
Reference in a new issue