Commits

Anonymous committed c4170f5

Make <j> and <k> behave in screen line mode

Comments (0)

Files changed (1)

 " My non-GUI Vim customizations
 " Maintainer: Jon Maken
 " License: Apache 2.0
-" Last Change: 2013-03-18 19:27:33 -0600
+" Last Change: 2013-03-18 19:29:55 -0600
 
 " set custom key mapping prefix, aka the <Leader>
 let mapleader = ","
 " use 'jj' sequence instead of <Esc> to exit insert mode
 inoremap jj <Esc>
 
+" make <j> and <k> behave in screen line mode not file line mode
+nnoremap j gj
+nnoremap k gk
+
 " shortcut to remove highlighting
 nnoremap <leader><space> :noh<cr>