Improve bindings to better match VS-Code (#8584)
Release Notes: - Changed default keybindings in the VS Code keymap so that `alt-[up|down]` now move lines up/down and`alt-shift-[up|down]` duplicate lines up/down. Previous bindings for selecting larger/smaller syntax nodes are now bound to `ctrl-shift-[left|right]`. ([#4652](https://github.com/zed-industries/zed/issues/4652))([#7151](https://github.com/zed-industries/zed/issues/7151)) --------- Co-authored-by: Thorsten Ball <mrnugget@gmail.com>
This commit is contained in:
parent
850ddddcac
commit
8352f39ff9
6 changed files with 87 additions and 14 deletions
|
@ -99,7 +99,10 @@ pub fn app_menus() -> Vec<Menu<'static>> {
|
|||
MenuItem::separator(),
|
||||
MenuItem::action("Move Line Up", editor::actions::MoveLineUp),
|
||||
MenuItem::action("Move Line Down", editor::actions::MoveLineDown),
|
||||
MenuItem::action("Duplicate Selection", editor::actions::DuplicateLine),
|
||||
MenuItem::action(
|
||||
"Duplicate Selection",
|
||||
editor::actions::DuplicateLine::default(),
|
||||
),
|
||||
],
|
||||
},
|
||||
Menu {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue