From 8d42456b8a7c547c6760b604c24d902bd2e12b8b Mon Sep 17 00:00:00 2001 From: Peter Tripp Date: Fri, 10 Jan 2025 11:47:58 -0500 Subject: [PATCH] emacs: Add as Transpose Characters (editor::Transpose) --- assets/keymaps/linux/emacs.json | 1 + assets/keymaps/macos/emacs.json | 1 + 2 files changed, 2 insertions(+) diff --git a/assets/keymaps/linux/emacs.json b/assets/keymaps/linux/emacs.json index 2060189334c1d..816e20ad787a6 100755 --- a/assets/keymaps/linux/emacs.json +++ b/assets/keymaps/linux/emacs.json @@ -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 diff --git a/assets/keymaps/macos/emacs.json b/assets/keymaps/macos/emacs.json index 2060189334c1d..816e20ad787a6 100755 --- a/assets/keymaps/macos/emacs.json +++ b/assets/keymaps/macos/emacs.json @@ -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