summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2021-08-01 14:49:21 +0800
committerJSDurand <mmemmew@gmail.com>2021-08-01 14:49:21 +0800
commit914f7d7e79baf56b68488f7d1737c481523dc615 (patch)
treedd18f8265e18c703a1b199e5203d6fc147ee6b1b
parente5da380d2cc776907e466cee0aeb7be11539ff2b (diff)
change: Bind view-mode to s-v
* basic.el (global-map): The key (vector ?\s-v) was bound to `durand-focus-completion-or-minibuffer', but I found that I seldom use that functionality, so I bind it to the more frequently used `view-mode' instead.
-rw-r--r--basic.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/basic.el b/basic.el
index 8b108f6..be9ca49 100644
--- a/basic.el
+++ b/basic.el
@@ -429,7 +429,8 @@ window horizontally."
(define-key global-map (vector ?\s-F) #'find-file-other-window)
(define-key global-map (vector ?\s-d) #'dired)
(define-key global-map (vector ?\s-D) #'dired-other-window)
-(define-key global-map (vector ?\s-v) #'durand-focus-completion-or-minibuffer)
+;; (define-key global-map (vector ?\s-v) #'durand-focus-completion-or-minibuffer)
+(define-key global-map (vector ?\s-v) #'view-mode)
;; I like to use winner mode now