Modified a bunch of stuff to work with the native vim.keymap.set function
This commit is contained in:
parent
cc6a209d8d
commit
7c77d3a8dd
6 changed files with 45 additions and 67 deletions
dotfiles/neovim/lua/my/plugins
|
@ -1,11 +1,9 @@
|
|||
local mapSilent = require("my.keymaps").mapSilent
|
||||
|
||||
local M = {}
|
||||
|
||||
function M.setup()
|
||||
require'nvim-tree'.setup()
|
||||
-- Toggle nerdtree with Control-t
|
||||
mapSilent("n", "<C-n>", ":NvimTreeToggle<CR>")
|
||||
require 'nvim-tree'.setup()
|
||||
-- Toggle nerdtree with Control-n
|
||||
vim.keymap.set("n", "<C-n>", ":NvimTreeToggle<CR>")
|
||||
end
|
||||
|
||||
return M
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue