diff --git a/config.org b/config.org index e1dad54..c5afd1b 100644 --- a/config.org +++ b/config.org @@ -798,7 +798,6 @@ Bind =C-x p= to =previous-multiframe-window=. ;; (global-set-key (kbd "\C-x p") 'previous-multiframe-window) #+END_SRC - * Avy https://github.com/abo-abo/avy @@ -810,6 +809,27 @@ https://github.com/abo-abo/avy ("M-s" . avy-goto-char-timer)) #+END_SRC +* Convenience stuff + +** Visiting the configuration + +#+BEGIN_SRC emacs-lisp +(defun config-visit () + (interactive) + (find-file "~/.emacs.d/config.org")) +(global-set-key (kbd "C-c e") 'config-visit) +#+END_SRC + +** Reload the configuration + +#+BEGIN_SRC emacs-lisp +(defun config-reload () + "Reloads ~/.emacs.d/config.org at runtime" + (interactive) + (org-babel-load-file (expand-file-name "~/.emacs.d/config.org"))) +(global-set-key (kbd "C-c r") 'config-reload) +#+END_SRC + * Old stuff, maybe usefull for lookup later ** Diff mode stuff