vim: Add global marks (#25702)
Closes https://github.com/zed-industries/zed/issues/13111 Release Notes: - vim: Added global marks `'[A-Z]` - vim: Added persistence for global (and local) marks. When re-opening the same workspace your previous marks will be available. --------- Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
This commit is contained in:
@@ -50,7 +50,7 @@ impl Vim {
|
||||
.filter(|sel| sel.len() > 1 && vim.mode != Mode::VisualLine);
|
||||
|
||||
if !action.preserve_clipboard && vim.mode.is_visual() {
|
||||
vim.copy_selections_content(editor, vim.mode == Mode::VisualLine, cx);
|
||||
vim.copy_selections_content(editor, vim.mode == Mode::VisualLine, window, cx);
|
||||
}
|
||||
|
||||
let (display_map, current_selections) = editor.selections.all_adjusted_display(cx);
|
||||
|
||||
Reference in New Issue
Block a user