We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c04ab68 commit eeb58bbCopy full SHA for eeb58bb
modules/init.lua
@@ -14,6 +14,10 @@ local function vmap(shortcut, command)
14
map('v', shortcut, command)
15
end
16
17
+local function tmap(shortcut, command)
18
+ map('t', shortcut, command)
19
+end
20
+
21
vim.opt.updatetime = 100
22
-- disable netrw at the very start of your init.lua (strongly advised)
23
vim.g.loaded_netrw = 1
@@ -91,6 +95,8 @@ nmap("<S-H>", ":BufferLineCyclePrev<cr>")
91
95
nmap("<leader>c", ":Bdelete<cr>")
92
96
vmap(">", ">gv")
93
97
vmap("<", "<gv")
98
+tmap("<Esc>", "<C-\\><C-n>")
99
94
100
101
require("neo-tree").setup({
102
close_if_last_window = true, -- Close Neo-tree if it is the last window left in the tab
0 commit comments