move file tree keymap to remaps.lua
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
local nmap = require("user.utils").nmap
|
|
||||||
|
|
||||||
vim.g.nvim_tree_show_icons = {
|
vim.g.nvim_tree_show_icons = {
|
||||||
git = 1,
|
git = 1,
|
||||||
files = 1,
|
files = 1,
|
||||||
@@ -73,5 +71,3 @@ require("nvim-tree").setup({
|
|||||||
icons = { hint = "", info = "", warning = "", error = "" },
|
icons = { hint = "", info = "", warning = "", error = "" },
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
nmap("<leader>b", ":NvimTreeToggle<CR>")
|
|
||||||
|
|||||||
@@ -48,6 +48,9 @@ nmap("tr", ":lua require('user.tabs').restore_tab()<CR>")
|
|||||||
nmap("<A-h>", ":-tabmove<CR>")
|
nmap("<A-h>", ":-tabmove<CR>")
|
||||||
nmap("<A-l>", ":+tabmove<CR>")
|
nmap("<A-l>", ":+tabmove<CR>")
|
||||||
|
|
||||||
|
-- Nvim Tree
|
||||||
|
nmap("<leader>b", ":lua require('nvim-tree').toggle()<CR>")
|
||||||
|
|
||||||
-- Telescope
|
-- Telescope
|
||||||
nmap("<leader>f", ":Telescope find_files<CR>")
|
nmap("<leader>f", ":Telescope find_files<CR>")
|
||||||
nmap("<leader>p", ":Telescope<CR>")
|
nmap("<leader>p", ":Telescope<CR>")
|
||||||
|
|||||||
Reference in New Issue
Block a user