vim: Allow :cpplink for CopyPermalinkToLine (#20707)
Release Notes: - vim: Added `:<range>cpplink` to copy a permanent git link to the highlighted range to the clipboard
This commit is contained in:
parent
aee01f2c50
commit
a8df0642a8
1 changed files with 1 additions and 0 deletions
|
@ -690,6 +690,7 @@ fn generate_commands(_: &AppContext) -> Vec<VimCommand> {
|
|||
VimCommand::new(("0", ""), StartOfDocument),
|
||||
VimCommand::new(("e", "dit"), editor::actions::ReloadFile)
|
||||
.bang(editor::actions::ReloadFile),
|
||||
VimCommand::new(("cpp", "link"), editor::actions::CopyPermalinkToLine).range(act_on_range),
|
||||
]
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue