Browse Source

updated nvim tree

master
Juni Kim 3 months ago
parent
commit
e870780baa
  1. 5
      after/plugin/nvimtree.lua
  2. 2
      lua/junikim/packer.lua

5
after/plugin/nvimtree.lua

@ -1,5 +1,6 @@
-- empty setup using defaults -- empty setup using defaults
nvimtree = require("nvim-tree")
local nvimtree = require("nvim-tree")
local api = require("nvim-tree.api")
vim.keymap.set("n", "<C-n>", nvimtree.toggle)
vim.keymap.set("n", "<C-n>", api.tree.toggle)
nvimtree.setup() nvimtree.setup()

2
lua/junikim/packer.lua

@ -60,7 +60,7 @@ return require('packer').startup(function(use)
requires = { requires = {
'nvim-tree/nvim-web-devicons', -- optional, for file icons 'nvim-tree/nvim-web-devicons', -- optional, for file icons
}, },
tag = 'nightly' -- optional, updated every week. (see issue #1193)
--tag = 'nightly' -- optional, updated every week. (see issue #1193)
} }
use 'ethanholz/nvim-lastplace' use 'ethanholz/nvim-lastplace'

Loading…
Cancel
Save