|
@@ -56,7 +56,6 @@ if has("autocmd")
|
|
|
|
|
|
|
|
" if the last window is NERDTree, then close Vim
|
|
" if the last window is NERDTree, then close Vim
|
|
|
"autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif
|
|
"autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif
|
|
|
-
|
|
|
|
|
else
|
|
else
|
|
|
set autoindent on
|
|
set autoindent on
|
|
|
endif
|
|
endif
|
|
@@ -186,12 +185,6 @@ vnoremap <silent> <leader>, <ESC>:call NERDComment("x", "toggle")<CR>
|
|
|
" Traverse undo tree with Gundo!
|
|
" Traverse undo tree with Gundo!
|
|
|
nnoremap <leader>u :GundoToggle<CR>
|
|
nnoremap <leader>u :GundoToggle<CR>
|
|
|
|
|
|
|
|
-" Search under cursor with ack!
|
|
|
|
|
-nnoremap <leader>a :Ack <cword><CR>
|
|
|
|
|
-nnoremap <leader>A :Ack -a <cword><CR>
|
|
|
|
|
-vnoremap <leader>a :Ack <cword><CR>
|
|
|
|
|
-vnoremap <leader>A :Ack -a <cword><CR>
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|
""""""""
|
|
""""""""
|
|
|
"" Key Remaps - Movement and Windows
|
|
"" Key Remaps - Movement and Windows
|