commit 6018af36bf376a2b881e2b3a035adf9898406b2e parent 2c1ebc37b2b92ff0d6197b543d02584e28005ee8 Author: Martin Grenfell <martin.grenfell@gmail.com> Date: Tue, 12 May 2015 20:58:35 +0100 pretty up some FAQ code blocks Diffstat:
| M | README.markdown | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.markdown b/README.markdown @@ -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?
