Experiment with open line and indent

master
Jacopo De Simoi 3 years ago
parent 6a4def4f6a
commit 2f40528c94
  1. 3
      global.org

@ -461,7 +461,8 @@
#+begin_src emacs-lisp #+begin_src emacs-lisp
(defun open-line-and-indent () (defun open-line-and-indent ()
(interactive) (interactive)
(save-excursion (newline-and-indent))) (save-excursion (newline-and-indent))
(indent-line))
(global-set-key (kbd "C-o") #'open-line-and-indent) (global-set-key (kbd "C-o") #'open-line-and-indent)
#+end_src #+end_src

Loading…
Cancel
Save