Make vuiet-mode better
This commit is contained in:
parent
75901430ac
commit
24f1cdb537
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user