vim: Add :y (#17448)
Closes #16937 Updates #17397 Release Notes: - vim: Add `:y[ank]`
This commit is contained in:
parent
30f70ff110
commit
fb35cd98c8
2 changed files with 13 additions and 5 deletions
|
@ -21,7 +21,7 @@ use crate::{
|
|||
JoinLines,
|
||||
},
|
||||
state::Mode,
|
||||
visual::VisualDeleteLine,
|
||||
visual::{VisualDeleteLine, VisualYankLine},
|
||||
Vim,
|
||||
};
|
||||
|
||||
|
@ -587,6 +587,7 @@ fn generate_commands(_: &AppContext) -> Vec<VimCommand> {
|
|||
VimCommand::new(("lN", "ext"), editor::actions::GoToPrevDiagnostic).count(),
|
||||
VimCommand::new(("j", "oin"), JoinLines).range(),
|
||||
VimCommand::new(("d", "elete"), VisualDeleteLine).range(),
|
||||
VimCommand::new(("y", "ank"), VisualYankLine).range(),
|
||||
VimCommand::new(("sor", "t"), SortLinesCaseSensitive).range(),
|
||||
VimCommand::new(("sort i", ""), SortLinesCaseInsensitive).range(),
|
||||
VimCommand::str(("E", "xplore"), "project_panel::ToggleFocus"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue