mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 08:41:43 +05:30
chore(Neovim): Center cursor on more actions
- `n`, `N` on Neovim - All diagnostic moves: `]d`, `[d`, `]e`, `[e`, `[w`, `[w` - Snacks jump to next work occurrence: `]]`, `[[` - Vim & Neovim: `gv`
This commit is contained in:
@@ -225,6 +225,7 @@ return {
|
||||
"]]",
|
||||
function()
|
||||
Snacks.words.jump(vim.v.count1)
|
||||
vim.cmd("normal! zz")
|
||||
end,
|
||||
desc = "Next Reference",
|
||||
mode = { "n", "t" },
|
||||
@@ -233,6 +234,7 @@ return {
|
||||
"[[",
|
||||
function()
|
||||
Snacks.words.jump(-vim.v.count1)
|
||||
vim.cmd("normal! zz")
|
||||
end,
|
||||
desc = "Prev Reference",
|
||||
mode = { "n", "t" },
|
||||
|
||||
Reference in New Issue
Block a user