diff options
Diffstat (limited to 'lua/config')
| -rw-r--r-- | lua/config/keymaps.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lua/config/keymaps.lua b/lua/config/keymaps.lua index 39831ed..f5c0248 100644 --- a/lua/config/keymaps.lua +++ b/lua/config/keymaps.lua @@ -8,6 +8,10 @@ end, { desc = "Special paste, paste without replacing copy register content" }) map("n", "<leader>bd", ":bd!<CR>", { desc = "Deletes the current buffer" }) +map("n", "<leader>fz", function () + vim.cmd [[normal zfaf]] +end, { desc = "Fold the function" }) + -- lists navigation map("n", "<C-j>", ":cnext<CR>zz", { desc = "Goes to the next item in the quickfixlist and center to the screen" }) map("n", "<C-k>", ":cprev<CR>zz", { desc = "Goes to the previous item in the quickfixlist and center to the screen" }) |