vim: View Marks (#26885)

Closes #26884

Release Notes:

- vim: Added `:marks` which brings up list of current marks
- confirming on selected mark in the view jumps to that mark

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
This commit is contained in:
AidanV 2025-03-21 21:46:04 -07:00 committed by GitHub
parent 4c86cda909
commit d82b547596
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 381 additions and 9 deletions

View file

@ -144,6 +144,7 @@ actions!(
PushReplace,
PushDeleteSurrounds,
PushMark,
ToggleMarksView,
PushIndent,
PushOutdent,
PushAutoIndent,
@ -1599,7 +1600,7 @@ impl Vim {
self.select_register(text, window, cx);
}
},
Some(Operator::Jump { line }) => self.jump(text, line, window, cx),
Some(Operator::Jump { line }) => self.jump(text, line, true, window, cx),
_ => {
if self.mode == Mode::Replace {
self.multi_replace(text, window, cx)