feat: add more keybinds
This commit is contained in:
parent
3f76f98d47
commit
54a77fb640
3 changed files with 12 additions and 9 deletions
|
@ -65,12 +65,12 @@ return {
|
|||
version = false,
|
||||
opts = {
|
||||
mappings = {
|
||||
add = "gsa", -- Add surrounding in Normal and Visual modes
|
||||
delete = "gsd", -- Delete surrounding
|
||||
find = "gsf", -- Find surrounding (to the right)
|
||||
find_left = "gsF", -- Find surrounding (to the left)
|
||||
highlight = "gsh", -- Highlight surrounding
|
||||
replace = "gsr", -- Replace surrounding
|
||||
add = "gsa", -- Add surrounding in Normal and Visual modes
|
||||
delete = "gsd", -- Delete surrounding
|
||||
find = "gsf", -- Find surrounding (to the right)
|
||||
find_left = "gsF", -- Find surrounding (to the left)
|
||||
highlight = "gsh", -- Highlight surrounding
|
||||
replace = "gsr", -- Replace surrounding
|
||||
update_n_lines = "gsn", -- Update `n_lines`
|
||||
},
|
||||
},
|
||||
|
|
|
@ -98,7 +98,9 @@ return {
|
|||
vim.keymap.set("n", "<Leader>fg", builtin.live_grep, { desc = "Grep git_files" })
|
||||
vim.keymap.set("n", "<Leader>fh", builtin.help_tags, { desc = "View help tags" })
|
||||
vim.keymap.set("n", "<Leader>fb", builtin.buffers, { desc = "Search buffers" })
|
||||
vim.keymap.set("n", "<Leader>sk", builtin.keymaps, { desc = "Resume" })
|
||||
vim.keymap.set("n", "<Leader>sR", builtin.resume, { desc = "Resume" })
|
||||
vim.keymap.set("n", "<Leader>st", "<cmd>TodoTelescope<cr>", { desc = "Search TODOs" })
|
||||
end,
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue