Skip to content

Commit

Permalink
Merge pull request #1674 from SequentialDesign/make-return-add-newlin…
Browse files Browse the repository at this point in the history
…e-and-indent-in-language-mode

make `C-m` (`Return`)  `newline-and-indent` in language modes
  • Loading branch information
cxxxr authored Dec 4, 2024
2 parents a921fd0 + 25ac9c6 commit d543cc1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ext/language-mode.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
(define-key *language-mode-keymap* "C-M-a" 'beginning-of-defun)
(define-key *language-mode-keymap* "C-M-e" 'end-of-defun)
(define-key *language-mode-keymap* "Tab" 'indent-line-and-complete-symbol)
(define-key *language-mode-keymap* "Return" 'newline-and-indent)
(define-key *global-keymap* "C-j" 'newline-and-indent)
(define-key *global-keymap* "M-j" 'newline-and-indent)
(define-key *language-mode-keymap* "C-M-\\" 'indent-region)
Expand Down

0 comments on commit d543cc1

Please sign in to comment.