summaryrefslogtreecommitdiff
path: root/bongo.el
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2022-05-13 21:08:33 +0800
committerJSDurand <mmemmew@gmail.com>2022-05-13 21:08:33 +0800
commitbaac901a8e538217ea7b0b9f475f8ea98871917a (patch)
tree386cdbdabb0cec4979d4094084918657fdca4e2d /bongo.el
parent749d6e68f444fc204b52502cae33b70620306f9a (diff)
bongo: bind volume to V in durand-view-map
* bongo.el (durand-view-map): Bind volume to V in durand-view-map. Now I can press C-c v V to tweak the volume.
Diffstat (limited to 'bongo.el')
-rw-r--r--bongo.el9
1 files changed, 7 insertions, 2 deletions
diff --git a/bongo.el b/bongo.el
index 3e27f9d..fb26bcc 100644
--- a/bongo.el
+++ b/bongo.el
@@ -1019,8 +1019,13 @@ TIME must be a list of two to four elements."
;;; Volume package
-(use-package "volume" 'volume
- (define-key volume-mode-map [?s] #'volume-set))
+(use-package "volume" 'volume)
+
+(define-key volume-mode-map [?s] #'volume-set)
+
+(defvar durand-view-map)
+
+(define-key durand-view-map (vector ?V) #'volume)
;;; Bonmark