feat: more qol with some fixes
This commit is contained in:
@@ -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" })
|
||||
|
||||
---------------------------------------------------------------------------
|
||||
|
||||
|
||||
@@ -1,35 +1,35 @@
|
||||
local options = {
|
||||
auto_install = true,
|
||||
ensure_installed = {
|
||||
"lua",
|
||||
"css",
|
||||
"scss",
|
||||
"html",
|
||||
"json",
|
||||
"tsx",
|
||||
"bash",
|
||||
"javascript",
|
||||
"json",
|
||||
"markdown",
|
||||
"markdown_inline",
|
||||
"python",
|
||||
"query",
|
||||
"regex",
|
||||
"typescript",
|
||||
"styled",
|
||||
"vim",
|
||||
"yaml",
|
||||
"rust",
|
||||
"ruby",
|
||||
"c",
|
||||
},
|
||||
auto_install = true,
|
||||
ensure_installed = {
|
||||
"lua",
|
||||
"css",
|
||||
"scss",
|
||||
"html",
|
||||
"json",
|
||||
"tsx",
|
||||
"bash",
|
||||
"javascript",
|
||||
"json",
|
||||
"markdown",
|
||||
"markdown_inline",
|
||||
"python",
|
||||
"query",
|
||||
"regex",
|
||||
"typescript",
|
||||
"styled",
|
||||
"vim",
|
||||
"yaml",
|
||||
"rust",
|
||||
"ruby",
|
||||
"c",
|
||||
},
|
||||
|
||||
highlight = {
|
||||
enable = true,
|
||||
use_languagetree = true,
|
||||
},
|
||||
highlight = {
|
||||
enable = true,
|
||||
use_languagetree = true,
|
||||
},
|
||||
|
||||
indent = { enable = true },
|
||||
indent = { enable = true },
|
||||
}
|
||||
|
||||
return options
|
||||
|
||||
@@ -35,9 +35,11 @@ local config = {
|
||||
indent = { enabled = false },
|
||||
input = { enabled = false },
|
||||
picker = { enabled = true },
|
||||
notifier = { enabled = false },
|
||||
notifier = { enabled = true },
|
||||
notify = { enabled = true },
|
||||
quickfile = { enabled = false },
|
||||
scope = { enabled = true },
|
||||
terminal = { enabled = true },
|
||||
scroll = { enabled = true },
|
||||
statuscolumn = { enabled = true },
|
||||
words = { enabled = true },
|
||||
|
||||
Reference in New Issue
Block a user