chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e390a50
)
dot/emacs: Add a binding to open a file in `view-mode'.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 30 May 2020 09:43:31 +0000
(10:43 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 30 May 2020 09:43:31 +0000
(10:43 +0100)
Why isn't there one of these already?
dot/emacs
patch
|
blob
|
blame
|
history
diff --git
a/dot/emacs
b/dot/emacs
index bd6f7314f620da5093cd4f58db0a83ae7e882d54..fa934aae1dddde1cb8beca1d920b1279a7ea282f 100644
(file)
--- a/
dot/emacs
+++ b/
dot/emacs
@@
-711,6
+711,7
@@
(global-set-key [?\C-c ?t ?s] 'timeclock-status-string)
(global-set-key [?\C-c ?t ?t] 'gtags-find-tag-from-here)
(global-set-key [?\C-c ?t ?w] 'timeclock-workday-remaining-string)
+ (global-set-key [?\C-c ?v ?f] 'view-file)
(global-set-key [?\C-c ?v ?i] 'vm-visit-imap-folder)
(global-set-key [?\C-c ?v ?m] 'vm-visit-folder)
(global-set-key [?\C-c ?v ?v] 'mdw-auto-revert)