]> git.eshelyaron.com Git - emacs.git/commitdiff
Rebind C-j
authorEshel Yaron <me@eshelyaron.com>
Mon, 26 Aug 2024 19:10:23 +0000 (21:10 +0200)
committerEshel Yaron <me@eshelyaron.com>
Wed, 4 Sep 2024 07:51:21 +0000 (09:51 +0200)
lisp/bindings.el

index c2ba75adae062114e823cb2fe81f7402f968845d..fabaa93eeaca6e32281a654c9dba313c75037705 100644 (file)
@@ -1051,6 +1051,7 @@ if `inhibit-field-text-motion' is non-nil."
 (substitute-key-definition 'suspend-emacs 'suspend-frame global-map)
 
 (define-key global-map "\C-m" 'newline)
+(define-key global-map "\C-j" 'newline-and-indent)
 (define-key global-map "\C-o" 'open-line)
 (define-key esc-map "\C-o" 'split-line)
 (define-key global-map "\C-q" 'quoted-insert)