pretty up some FAQ code blocks

This commit is contained in:
Martin Grenfell 2015-05-12 20:58:35 +01:00
parent 2c1ebc37b2
commit 6018af36bf

View File

@ -94,13 +94,13 @@ Stick this in your vimrc
Stick this in your vimrc to open NERDTree with `Ctrl+n` (you can set whatever key you want):
`map <C-n> :NERDTreeToggle<CR>`
map <C-n> :NERDTreeToggle<CR>
> How can I close vim if the only window left open is a NERDTree?
Stick this in your vimrc:
`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
> Can I have different highlighting for different file extensions?