Quality of life shortcuts for code actions
This commit is contained in:
parent
8ba69c15d1
commit
a50d30bf8e
2 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
@ -441,7 +441,7 @@ mod test {
|
|||
use indoc::indoc;
|
||||
|
||||
use crate::{
|
||||
state::Mode::{self, *},
|
||||
state::Mode::{self},
|
||||
test::{ExemptionFeatures, NeovimBackedTestContext},
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue