Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Quality of life shortcuts for code actions
Conrad Irwina50d30bf8e47
diff --git a/assets/keymaps/vim.json b/assets/keymaps/vim.jsonindex 5aa448e9d1a..da850662f28 100644--- a/assets/keymaps/vim.json+++ b/assets/keymaps/vim.json@@ -111,6 +111,8 @@"g shift-t": "pane::ActivatePrevItem","g d": "editor::GoToDefinition","g shift-d": "editor::GoToTypeDefinition",+ "g .": "editor::ToggleCodeActions", // zed specific+ "g shift-a": "editor::FindAllReferences", // zed specific"g *": ["vim::MoveToNext",{@@ -321,7 +323,8 @@{"context": "Editor && vim_operator == c","bindings": {- "c": "vim::CurrentLine"+ "c": "vim::CurrentLine",+ "d": "editor::Rename" // zed specific}},{diff --git a/crates/vim/src/normal.rs b/crates/vim/src/normal.rsindex e0765839a08..79c990ffebc 100644--- a/crates/vim/src/normal.rs+++ b/crates/vim/src/normal.rs@@ -441,7 +441,7 @@ mod test {use indoc::indoc;use crate::{- state::Mode::{self, *},+ state::Mode::{self},test::{ExemptionFeatures, NeovimBackedTestContext},};