update emacs config to 21th century

This commit is contained in:
2023-04-12 14:26:43 +02:00
parent 76ce84c43b
commit 725984485a
121 changed files with 6584 additions and 6864 deletions

12
conf-lisp/conf.el Normal file
View File

@@ -0,0 +1,12 @@
;; *** conf-mode
;; conf-mode annoyingly overwrites the global keybinding C-c C-c with
;; some of its internal crab. So, force it to use my own defun. Also,
;; while we're at it, disable electric indent, it's annoying in
;; configs. Applies for derivates as well.
(defun tvd-disarm-conf-mode()
(local-set-key (kbd "C-c C-c") 'comment-or-uncomment-region-or-line)
(electric-indent-local-mode 0))
(add-something-to-mode-hooks '(conf cisco fundamental conf-space pod) 'tvd-disarm-conf-mode)