- cross-posted to:
- neovim@programming.dev
- neovim@programming.dev
- cross-posted to:
- neovim@programming.dev
- neovim@programming.dev
demicolon.nvim is a plugin that lets you repeat more movements than just t
/T
/f
/F
with ;
(repeat forward) and ,
(repeat backward):
demicolon.nvim now supports gitsigns.nvim and neotest. This means that you can use ;
/,
to repeat gitsign.nvim’s ]c
/[c
(jump to next/previous git hunk). Demicolon also sets up ]t
/[t
to jump to next/previous test and ]T
/[T
to jump to next/previous failing test with neotest, and lets you repeat those with ;
/,
as well. Here’s an overview over demicolon’s supported motion types:
- Other native Neovim motions e.g.
]q/[q
(next/previous quickfix item) and]s
/[s
(next/previous spelling mistake) - Diagnostic jumps e.g.
]d
/[d
(next/previous diagnostic) - nvim-treesitter-textobjects e.g.
]f
/[f
(next/previous function) - gitsigns.nvim
]c
/[c
(next/previous git hunk) - neotest e.g.
]t
/[t
(next/previous test) - And more…
Demicolon also lets you create your own custom repeatable motions.
You must log in or register to comment.