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-22 04:46:04 +00:00
committed by GitHub
co-authored by Conrad Irwin
parent 4c86cda909
commit d82b547596
4 changed files with 381 additions and 9 deletions
+2 -1
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)