Try to indent after open-line

master
Jacopo De Simoi 3 years ago
parent 42774aa7e4
commit 36b88571b3
  1. 8
      global.org

@ -457,6 +457,14 @@
(beginning-of-line))))
(global-set-key (kbd "C-a") 'smart-line-beginning)
#+end_src
** Smart open-line
#+begin_src emacs-lisp
(defun open-line-and-indent ()
(interactive)
(save-excursion (newline-and-indent)))
(global-set-key (kbd "C-o") #'open-line-and-indent)
#+end_src
** Whitespace
Trailing whitespace is evil; get rid of it unless we are in special
modes, namely calendar (and later mu4e)

Loading…
Cancel
Save