Created
March 20, 2012 08:50
-
-
Save sifue/2132992 to your computer and use it in GitHub Desktop.
Eclipse使いがVimで使いたいAlt + j or k で行移動を設定する方法 ref: http://qiita.com/items/a93451fc830e918f2795
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
" Command + j or k で行を移動する | |
nnoremap <D-j> :m+<CR>== | |
nnoremap <D-k> :m-2<CR>== | |
inoremap <D-j> <Esc>:m+<CR>==gi | |
inoremap <D-k> <Esc>:m-2<CR>==gi | |
vnoremap <D-j> :m'>+<CR>gv=gv | |
vnoremap <D-k> :m-2<CR>gv=gv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment