remapping j,k to gj, gk
This commit is contained in:
parent
ca9a774280
commit
47f4f23705
1 changed files with 3 additions and 0 deletions
3
vimrc
3
vimrc
|
|
@ -126,6 +126,9 @@ set foldcolumn=2
|
||||||
" key mappings
|
" key mappings
|
||||||
let g:mapleader = "\<space>"
|
let g:mapleader = "\<space>"
|
||||||
|
|
||||||
|
nnoremap j gj
|
||||||
|
nnoremap k gk
|
||||||
|
|
||||||
" jk acts as escape in insert
|
" jk acts as escape in insert
|
||||||
inoremap jk <esc>
|
inoremap jk <esc>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue