diff --git a/dot_config/nvim/init.vim b/dot_config/nvim/init.vim index 709a3de..4052ed4 100644 --- a/dot_config/nvim/init.vim +++ b/dot_config/nvim/init.vim @@ -21,8 +21,6 @@ Plug 'kyazdani42/nvim-web-devicons' Plug 'kyazdani42/nvim-tree.lua' Plug 'svermeulen/vimpeccable' Plug 'sp5/nvim-colors-solarized' -"Plug 'neoclide/coc.nvim', {'branch': 'release'} -Plug 'preservim/nerdtree' Plug 'NoahTheDuke/vim-just' Plug 'dewyze/vim-tada' call plug#end() @@ -143,17 +141,14 @@ noremap :call NumberToggle() " File Browser nnoremap e :NvimTreeToggle nnoremap r :NvimTreeRefresh -nnoremap n :NvimTreeFindFile let g:nvim_tree_auto_close = 1 " let g:nvim_tree_quit_on_open = 1 let g:nvim_tree_git_hl = 1 +lua require'nvim-tree'.setup() +autocmd BufEnter * ++nested if winnr('$') == 1 && bufname() == 'NvimTree_' . tabpagenr() | quit | endif "set guifont=OperatorMono\ Nerd\ Font:h16 -" Set internal encoding of vim, not needed on neovim, since coc.nvim using some -" unicode characters in the file autoload/float.vim -set encoding=utf-8 - " TextEdit might fail if hidden is not set. set hidden