summaryrefslogtreecommitdiff
path: root/.config/emacs/modules/mm-keybindings.el
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-10-16 22:28:56 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-10-16 22:28:56 +0200
commit44325c98d87645858f5f71eddfe8f6b12525d37c (patch)
tree9f95a543ccb58e6282f940e0c2b6f857ddccac42 /.config/emacs/modules/mm-keybindings.el
parent1e6038ce30cea9f0cb13535f01a2cd3915752c7f (diff)
emacs: Rework ‘e/join-current-and-next-line’
Diffstat (limited to '.config/emacs/modules/mm-keybindings.el')
-rw-r--r--.config/emacs/modules/mm-keybindings.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/.config/emacs/modules/mm-keybindings.el b/.config/emacs/modules/mm-keybindings.el
index d01b447..3eab35c 100644
--- a/.config/emacs/modules/mm-keybindings.el
+++ b/.config/emacs/modules/mm-keybindings.el
@@ -69,7 +69,9 @@ the first command is remapped to the second command."
mark-sexp e/mark-entire-sexp
transpose-chars e/transpose-previous-chars
- transpose-lines e/transpose-current-and-next-lines)
+ transpose-lines e/transpose-current-and-next-lines
+
+ delete-indentation e/join-current-and-next-line)
(with-eval-after-load 'cc-vars
(setopt c-backspace-function #'backward-delete-char))
@@ -96,9 +98,7 @@ the first command is remapped to the second command."
"C-c d" #'duplicate-dwim
"C-c t a" #'e/align-regexp
"C-c t f" #'fill-paragraph
- "C-c t s" #'sort-lines
- "C-c j" #'e/join-current-and-next-line
- "C-c J" #'join-line)
+ "C-c t s" #'sort-lines)
(mm-keymap-set-repeating global-map
"j" #'e/join-current-and-next-line