diff --git a/emacs/init.org b/emacs/init.org index e40beea..947d2a3 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -5793,6 +5793,12 @@ A music browser and player: vuiet--playing-track) :defer t :config + (defun vuiet-mode-setup () + ;; This is a hacky hack... + (run-at-time 1 nil #'read-only-mode) + (set (make-local-variable 'org-link-elisp-confirm-function) + nil)) + (add-hook 'vuiet-mode-hook #'vuiet-mode-setup) (defun vuiet-safe-update-mode-line () (interactive) (with-local-quit @@ -5808,7 +5814,8 @@ A music browser and player: (run-at-time t 1 #'vuiet-safe-update-mode-line))) (vuiet-reset-mode-line) :general - ((normal motion visual) vuiet-mode-map "q" #'quit-window)) + ((normal motion visual) vuiet-mode-map "q" #'quit-window) + ((normal motion visual) vuiet-mode-map "C-m" #'org-open-at-point)) #+END_SRC And a handy hydra for it: