Add maps for easier visual shifting of lines

This commit is contained in:
2013-07-03 20:32:22 +03:00
parent a308f06b67
commit b0b2db3a35
+4
View File
@@ -32,6 +32,10 @@ nnoremap <C-Up> :m .-2<CR>==
vnoremap <C-Down> :m '>+1<CR>gv=gv
vnoremap <C-Up> :m '<-2<CR>gv=gv
" Ease visual shifting
vnoremap > >gv
vnoremap < <gv
" Automatically change current directory to that of the file in the buffer
autocmd BufEnter * cd %:p:h