|
|
|
|
@ -646,7 +646,7 @@ |
|
|
|
|
(delete-region b e))))) |
|
|
|
|
|
|
|
|
|
(global-set-key (kbd "C-o") #'open-line-and-indent) |
|
|
|
|
#+end_src |
|
|
|
|
#+end_src |
|
|
|
|
** Whitespace |
|
|
|
|
Trailing whitespace is evil; get rid of it unless we are in special |
|
|
|
|
modes, namely calendar (and later mu4e) |
|
|
|
|
@ -670,17 +670,12 @@ |
|
|
|
|
(setq-default tab-width 4 |
|
|
|
|
indent-tabs-mode nil) |
|
|
|
|
#+end_src |
|
|
|
|
*** TODO Have a look at ws-trim.el |
|
|
|
|
It is conf'ble to avoid removing whitespace from lines that were not |
|
|
|
|
modified; sounds like a good idea for git |
|
|
|
|
[ftp://ftp.lysator.liu.se/pub/emacs/ws-trim.el] |
|
|
|
|
|
|
|
|
|
** Show matching parens |
|
|
|
|
Use ~show-paren~ for paren-highlighting |
|
|
|
|
#+begin_src emacs-lisp |
|
|
|
|
(show-paren-mode 1) |
|
|
|
|
#+end_src |
|
|
|
|
*** TODO find out if there are better options out there |
|
|
|
|
|
|
|
|
|
** Load hydra |
|
|
|
|
#+begin_src emacs-lisp |
|
|
|
|
(require 'hydra) |
|
|
|
|
|