emacs: Add as Transpose Characters (editor::Transpose) (#22974)
Originally reported here: - https://github.com/zed-industries/zed/issues/4856#issuecomment-2578468329 macOS default vscode keymap already has this:8d42456b8a/assets/keymaps/default-macos.json (L55)
But it's disabled on Linux default vscode keymap as VSCode has this bind instead:8d42456b8a/assets/keymaps/default-linux.json (L407)
Explicitly add it to both emacs keymaps so we can keep them identical between macos/linux as long as possible. Release Notes: - emacs: Add support for `ctrl-t` transposing characters on Linux
This commit is contained in:
parent
c6df23fcb6
commit
c74ad61c0f
2 changed files with 2 additions and 0 deletions
|
@ -29,6 +29,7 @@
|
|||
"alt-u": "editor::ConvertToUpperCase", // upcase-word
|
||||
"alt-l": "editor::ConvertToLowerCase", // downcase-word
|
||||
"alt-c": "editor::ConvertToUpperCamelCase", // capitalize-word
|
||||
"ctrl-t": "editor::Transpose", // transpose-chars
|
||||
"alt-;": ["editor::ToggleComments", { "advance_downwards": false }],
|
||||
"ctrl-x ctrl-;": "editor::ToggleComments",
|
||||
"alt-.": "editor::GoToDefinition", // xref-find-definitions
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
"alt-u": "editor::ConvertToUpperCase", // upcase-word
|
||||
"alt-l": "editor::ConvertToLowerCase", // downcase-word
|
||||
"alt-c": "editor::ConvertToUpperCamelCase", // capitalize-word
|
||||
"ctrl-t": "editor::Transpose", // transpose-chars
|
||||
"alt-;": ["editor::ToggleComments", { "advance_downwards": false }],
|
||||
"ctrl-x ctrl-;": "editor::ToggleComments",
|
||||
"alt-.": "editor::GoToDefinition", // xref-find-definitions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue