summaryrefslogtreecommitdiff
path: root/.config/nvim
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/init.vim4
1 files changed, 1 insertions, 3 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index 25fe8d6..063a8f8 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -120,7 +120,7 @@ if has('nvim')
let g:coq_settings = { 'auto_start': v:true }
lua require('lsp_conf')
- lua require('nvim-tree').setup()
+ lua require('nvim-tree').setup({ actions = { open_file = { quit_on_open = true } } })
lua require('todo-comments').setup()
lua require('crates').setup()
@@ -159,8 +159,6 @@ set nocompatible
set showcmd " show commands at bottom
" nvim-tree
-let g:nvim_tree_quit_on_open = 1
-let g:nvim_tree_highlight_opened_files = 1
nnoremap <C-t> :NvimTreeToggle<CR>
" vim-move