diff --git a/.vimrc b/.vimrc index deb3928..29e04ad 100644 --- a/.vimrc +++ b/.vimrc @@ -63,6 +63,10 @@ inoremap inoremap inoremap +" Buffer Management +nnoremap j :bp +nnoremap k :bn + " Move lines up/down nnoremap :m .+1== nnoremap :m .-2== @@ -77,7 +81,6 @@ vnoremap < p "+p vnoremap y "+y - " Automatically change current directory to that of the file in the buffer autocmd BufEnter * cd %:p:h @@ -85,7 +88,6 @@ autocmd BufEnter * cd %:p:h " directory, and show all files that contain it map :execute "vimgrep /" . expand("") . "/j **" cw - " Disable gvim toolbars by default set guioptions-=T set guioptions-=m