Created
June 20, 2012 06:25
-
-
Save t-uda/2958425 to your computer and use it in GitHub Desktop.
Vim で表示行単位の上下移動 ref: http://qiita.com/items/407220bfc989f901baf5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" 表示行単位で上下移動するように | |
nnoremap j gj | |
nnoremap k gk | |
nnoremap <Down> gj | |
nnoremap <Up> gk | |
" 逆に普通の行単位で移動したい時のために逆の map も設定しておく | |
nnoremap gj j | |
nnoremap gk k |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment