feat: more qol with some fixes

This commit is contained in:
2026-07-25 19:57:14 +02:00
parent 89ed1b189e
commit 1d92852c4a
4 changed files with 47 additions and 38 deletions

View File

@@ -151,6 +151,9 @@ map("n", "<leader>fh", "<cmd> Telescope help_tags <CR>", { desc = "Help page" })
map("n", "<leader>fo", "<cmd> Telescope oldfiles <CR>", { desc = "Fild old files" })
map("n", "<leader>fz", "<cmd> Telescope current_buffer_fuzzy_find <CR>", { desc = "Find in current buffer" })
map("n", "<C-/>", "<cmd> Telescope current_buffer_fuzzy_find <CR>", { desc = "Find in current buffer" })
map("n", "<leader>ft", function()
Snacks.picker("todo_comments")
end, { desc = "Help page" })
-- Flash search (better "f")
map({ "n", "x", "o" }, "s", function()
@@ -303,6 +306,12 @@ map("t", "<C-k>", "<cmd>wincmd k<cr>", { desc = "Go to Upper Window" })
map("t", "<C-l>", "<cmd>wincmd l<cr>", { desc = "Go to Right Window" })
map("t", "<C-/>", "<cmd>close<cr>", { desc = "Hide Terminal" })
map("t", "<c-_>", "<cmd>close<cr>", { desc = "which_key_ignore" })
map("t", "<C-t>", function()
Snacks.terminal.open()
end, { desc = "Open new terminal" })
map("n", "<leader>tt", function()
Snacks.terminal()
end, { desc = "Toggle terminal" })
---------------------------------------------------------------------------