🌳 Explorer Quick Access
- Add 'E' keybind in Normal for opening file explorer
This commit is contained in:
@@ -2,6 +2,14 @@
|
|||||||
-- -------------------------------- KEYBINDS -----------------------------------
|
-- -------------------------------- KEYBINDS -----------------------------------
|
||||||
-- -----------------------------------------------------------------------------
|
-- -----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
-- --------------------------------- Keymaps -----------------------------------
|
||||||
|
vim.keymap.set( -- Explorer
|
||||||
|
"n",
|
||||||
|
"E",
|
||||||
|
"<cmd>lua require('neo-tree.command').execute({ toggle = true, dir = vim.uv.cwd() })<cr>"
|
||||||
|
)
|
||||||
|
|
||||||
|
-- -------------------------------- Commands -----------------------------------
|
||||||
-- Make :Q close all of the buffers
|
-- Make :Q close all of the buffers
|
||||||
vim.api.nvim_create_user_command("Q", function()
|
vim.api.nvim_create_user_command("Q", function()
|
||||||
vim.cmd.bdelete()
|
vim.cmd.bdelete()
|
||||||
|
|||||||
Reference in New Issue
Block a user