We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i add nvim-tree to ur nvim configs but all shortcuts not working !!
return { "nvim-tree/nvim-tree.lua", dependencies = "nvim-tree/nvim-web-devicons", config = function() local nvimtree = require("nvim-tree") -- recommended settings from nvim-tree documentation vim.g.loaded_netrw = 1 vim.g.loaded_netrwPlugin = 1 nvimtree.setup({ view = { width = 35, relativenumber = true, }, -- change folder arrow icons renderer = { indent_markers = { enable = true, }, icons = { glyphs = { folder = { arrow_closed = "", -- arrow when folder is closed arrow_open = "", -- arrow when folder is open }, }, }, }, -- disable window_picker for -- explorer to work well with -- window splits actions = { open_file = { window_picker = { enable = false, }, }, }, filters = { custom = { ".DS_Store" }, }, git = { ignore = false, }, }) -- set keymaps local keymap = vim.keymap -- for conciseness keymap.set("n", "<leader>ff", "<cmd>NvimTreeToggle<CR>", { desc = "Toggle file explorer" }) -- toggle file explorer keymap.set("n", "<leader>ef", "<cmd>NvimTreeFindFileToggle<CR>", { desc = "Toggle file explorer on current file" }) -- toggle file explorer on current file keymap.set("n", "<leader>ec", "<cmd>NvimTreeCollapse<CR>", { desc = "Collapse file explorer" }) -- collapse file explorer keymap.set("n", "<leader>er", "<cmd>NvimTreeRefresh<CR>", { desc = "Refresh file explorer" }) -- refresh file explorer end }
so can u test that plz and let me know what s not working, ofc file config already imported in init.lua
The text was updated successfully, but these errors were encountered:
Hi, I'm not following, are these keymaps I've set up? Perhaps your leader key is not yet configured?
Sorry, something went wrong.
No branches or pull requests
i add nvim-tree to ur nvim configs but all shortcuts not working !!
so can u test that plz and let me know what s not working, ofc file config already imported in init.lua
The text was updated successfully, but these errors were encountered: