diff options
author | Martin Polden <martin.polden@gmail.com> | 2014-06-06 20:41:03 +0200 |
---|---|---|
committer | Martin Polden <martin.polden@gmail.com> | 2014-06-06 20:41:03 +0200 |
commit | bf579e3e10d4279f1a32e16c8060c5388617a66c (patch) | |
tree | c050020704b75d9b42771dfcaea077e03f1ebaea /lisp/init-editing.el | |
parent | 8194fe61812f7662b76a31b5aab564d7779c6f0c (diff) |
Swap RET and C-j
Diffstat (limited to 'lisp/init-editing.el')
-rw-r--r-- | lisp/init-editing.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/init-editing.el b/lisp/init-editing.el index 50ca807..0bd94e0 100644 --- a/lisp/init-editing.el +++ b/lisp/init-editing.el @@ -36,8 +36,9 @@ (global-set-key (kbd "C-o") 'open-line-below) (global-set-key (kbd "C-S-o") 'open-line-above) -;; bind return to newline-and-indent +;; swap RET and C-j (global-set-key (kbd "RET") 'newline-and-indent) +(global-set-key (kbd "C-j") 'newline) ;; C-x k kills current buffer (global-set-key (kbd "C-x k") 'kill-this-buffer) |