Made sure that the powerline is always displayed, even when NERDTree is closed. Also Fixed behaviour with :bd where NERDTree would flip out and close all of vim. Ctrl+C still works though
This commit is contained in:
parent
eb6dda9d99
commit
d4a8ceaaeb
5
.vimrc
5
.vimrc
@ -4,8 +4,13 @@ syntax on
|
|||||||
so ~/.vim/plugins.vim
|
so ~/.vim/plugins.vim
|
||||||
set splitbelow
|
set splitbelow
|
||||||
|
|
||||||
|
" Make sure that powerline is always displayed
|
||||||
|
set laststatus=2
|
||||||
|
|
||||||
" Always start with NERDTree open
|
" Always start with NERDTree open
|
||||||
"autocmd vimenter * NERDTree
|
"autocmd vimenter * NERDTree
|
||||||
|
" Stop NERDTree causing a panic when you use :bd and exiting vim
|
||||||
|
nnoremap \d :bp<cr>:bd #<cr>
|
||||||
|
|
||||||
" Show/hide NERDTree with Ctrl+T
|
" Show/hide NERDTree with Ctrl+T
|
||||||
map <C-t> :NERDTreeToggle<CR>
|
map <C-t> :NERDTreeToggle<CR>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user