Quality of life shortcuts for code actions

This commit is contained in:
Conrad Irwin 2023-07-20 09:08:07 -06:00
parent 8ba69c15d1
commit a50d30bf8e
2 changed files with 5 additions and 2 deletions

View file

@ -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
}
},
{

View file

@ -441,7 +441,7 @@ mod test {
use indoc::indoc;
use crate::{
state::Mode::{self, *},
state::Mode::{self},
test::{ExemptionFeatures, NeovimBackedTestContext},
};