1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-16 19:30:01 +02:00

Adding vim stuff

This commit is contained in:
Henrik Hautakoski 2023-09-14 19:55:17 +02:00
parent b77ac31173
commit 81d5cc35ce
11 changed files with 3006 additions and 0 deletions

2
nvim/nerdtree.vim Normal file
View file

@ -0,0 +1,2 @@
" Exit Vim if NERDTree is the only window remaining in the only tab.
autocmd BufEnter * if tabpagenr('$') == 1 && winnr('$') == 1 && exists('b:NERDTree') && b:NERDTree.isTabTree() | quit | endif