nixos-configs/common/home/neovim/plugins/neotree.vim
matt1432 7f8b1e586c
All checks were successful
Discord / discord commits (push) Has been skipped
feat(nvim): mini.map -> codewindow
2024-04-21 02:00:39 -04:00

10 lines
197 B
VimL

" Auto open Neo-Tree on big enough window
function! OpenTree() abort
if &columns > 100
Neotree show
Neotree close
Neotree show
endif
endfunction
autocmd VimEnter * call OpenTree()