Download:
child 84:2ce8b8e7a681
parent 82:2e8cd5304fff
83:13c340386ee0
Anton Shestakov <engored@ya.ru>, Tue, 27 Jan 2015 21:52:16 +0800
.vimrc: bubble lines (or blocks) in visual mode

1 файлов изменено, 2 вставок(+), 0 удалений(-) [+]
.vimrc file | annotate | diff | comparison | revisions
--- a/.vimrc Tue Jan 27 21:35:01 2015 +0800
+++ b/.vimrc Tue Jan 27 21:52:16 2015 +0800
@@ -63,6 +63,8 @@
" bubble lines
nnoremap <C-Up> :move .-2<CR>
nnoremap <C-Down> :move .+1<CR>
+vnoremap <C-Up> :move '<-2<CR>gv
+vnoremap <C-Down> :move '>+1<CR>gv
imap <C-Up> <C-O><C-Up>
imap <C-Down> <C-O><C-Down>