fix keymaps, lazy load pass trying to reduce startup time, shaved ~35ms
This commit is contained in:
parent
8b38a13192
commit
f5efed19c7
11 changed files with 295 additions and 218 deletions
|
|
@ -35,7 +35,8 @@ local function toggle_terminal()
|
|||
vim.api.nvim_command("startinsert")
|
||||
end
|
||||
|
||||
vim.keymap.set("n", "<leader>t", function()
|
||||
|
||||
utils.set_keymap_list({{ "<leader>t", function()
|
||||
toggle_terminal()
|
||||
require("window_management").autosize_windows()
|
||||
end)
|
||||
end }})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue