Change to nvim-tree from nerdtree

This commit is contained in:
Marko Korhonen 2021-08-04 12:20:03 +03:00
parent aa842378db
commit 7965230bd0
No known key found for this signature in database
GPG key ID: 911B85FBC6003FE5
2 changed files with 3 additions and 3 deletions

View file

@ -4,8 +4,8 @@ local function map(mode, lhs, rhs, opts)
vim.api.nvim_set_keymap(mode, lhs, rhs, options)
end
-- Open/close nerdtree
map('', '<C-t>', '<cmd>NERDTreeToggle<CR>')
-- Open/close tree browser
map('n', '<C-Tab>', '<cmd>NvimTreeToggle<CR>')
-- Telescope
map('n', '<C-f>', '<cmd>Telescope find_files find_command=fd,-Ht,f<CR>')

View file

@ -26,7 +26,7 @@ require('packer').startup(function()
use 'vim-airline/vim-airline'
-- Tree explorer
use 'scrooloose/nerdtree'
use {'kyazdani42/nvim-tree.lua', requires = 'kyazdani42/nvim-web-devicons'}
-- Telescope
use {