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:
parent
4c86cda909
commit
d82b547596
4 changed files with 381 additions and 9 deletions
|
@ -183,10 +183,13 @@ impl Vim {
|
|||
&mut self,
|
||||
text: Arc<str>,
|
||||
line: bool,
|
||||
should_pop_operator: bool,
|
||||
window: &mut Window,
|
||||
cx: &mut Context<Self>,
|
||||
) {
|
||||
self.pop_operator(window, cx);
|
||||
if should_pop_operator {
|
||||
self.pop_operator(window, cx);
|
||||
}
|
||||
let mark = self
|
||||
.update_editor(window, cx, |vim, editor, window, cx| {
|
||||
vim.get_mark(&text, editor, window, cx)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue