Vim Mode _ register #41721
-
|
Coming from neovim, I disabled using c and d overwriting the clipboard by using the _ register. when I tried to do something like this in zed: "c": ["workspace::SendKeystrokes", "\" _ c"],
"d": ["workspace::SendKeystrokes", "\" _ d"],
"enter": ["workspace::SendKeystrokes", "\" _ c i w"],I had two issues, 1- by overriding "c" and "d", it wiped any keymap depends on them, like "gcc" , "ciw", "dd", ...etc Demo: Would appreciate any help to guide me through how these getting inherited or directly tell me how can I achieve these 3 keymaps |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
There is simply a setting for this. No keymap changes needed. https://zed.dev/docs/vim#changing-vim-mode-settings "vim": {
"use_system_clipboard": "on_yank" // or "never or "always"
} |
Beta Was this translation helpful? Give feedback.
There is simply a setting for this. No keymap changes needed. https://zed.dev/docs/vim#changing-vim-mode-settings