summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
authorJohannes Altmanninger <aclopte@gmail.com>2024-02-25 11:12:58 +0100
committerMaxime Coste <mawww@kakoune.org>2024-03-06 08:04:35 +1100
commitc81266d4f6e5ddff861dc245d86600cb8f68b9e8 (patch)
tree50c560f160d51a16a69e7999350581108e787df7 /src/input_handler.cc
parent7ebf7cfccfb4a0a2e1dee1a0167b2db62f1b14b4 (diff)
jump{,-next,-previous} cmds to navigate any grep-like buffer
`grep-next-match` works only on the `*grep*` buffer so it can't be used on buffers that were preserved by renaming or on other grep-flavored buffers created by 3rd party plugins kakoune-find and kakoune-lsp, like `*find*` and `*references*`. Let's generalize `grep-next-match` with a `jump-next` command that takes a buffer argument. This renames some options but I think they're not commonly used. kakoune-lsp is an exception that uses grep_current_line but it's no big deal, things will fail loud and early if options are missing. Since grep.kak and friends now depend on jump.kak, move the jumpclient declaration there as well.
Diffstat (limited to 'src/input_handler.cc')
0 files changed, 0 insertions, 0 deletions