update nvimtree initialization
parent
a34937643d
commit
acd93224b9
|
@ -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 <F6> :call NumberToggle()<cr>
|
|||
" File Browser
|
||||
nnoremap <leader>e :NvimTreeToggle<CR>
|
||||
nnoremap <leader>r :NvimTreeRefresh<CR>
|
||||
nnoremap <leader>n :NvimTreeFindFile<CR>
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue