From baac901a8e538217ea7b0b9f475f8ea98871917a Mon Sep 17 00:00:00 2001 From: JSDurand Date: Fri, 13 May 2022 21:08:33 +0800 Subject: 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. --- bongo.el | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'bongo.el') 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 -- cgit v1.2.3-18-g5258