nixos-configs/common/home/neovim/plugins/neotree.vim

11 lines
197 B
VimL
Raw Normal View History

" 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()