]> git.notmuchmail.org Git - notmuch/commitdiff
Change the stash keybinding from 'z' to 'c'. And use 'i' for message ID.
authorCarl Worth <cworth@cworth.org>
Sat, 20 Feb 2010 20:23:13 +0000 (12:23 -0800)
committerCarl Worth <cworth@cworth.org>
Sat, 20 Feb 2010 20:23:13 +0000 (12:23 -0800)
In spite of being implemented with the word "stash" in the function
names, the documentation (and hence help strings) for each function
already use the word "Copy" to describe the action. So 'c' is a much
more natural key-binding, (particularly since 'z' didn't map to any
real word anyway).

We also use 'i' for the message ID copying of the submap. This is
intended to align mnemonically with the "id:" prefix already used
for message IDs.

notmuch.el

index 97f7e0c8fcfbc2473c145b79e530845c4b3d96a2..732ce53d12516ea61cefb94c1c40a430c1e35640 100644 (file)
@@ -57,7 +57,7 @@
     (define-key map "d" 'notmuch-show-stash-date)
     (define-key map "F" 'notmuch-show-stash-filename)
     (define-key map "f" 'notmuch-show-stash-from)
-    (define-key map "m" 'notmuch-show-stash-message-id)
+    (define-key map "i" 'notmuch-show-stash-message-id)
     (define-key map "s" 'notmuch-show-stash-subject)
     (define-key map "T" 'notmuch-show-stash-tags)
     (define-key map "t" 'notmuch-show-stash-to)
@@ -83,6 +83,7 @@
     (define-key map "w" 'notmuch-show-save-attachments)
     (define-key map "V" 'notmuch-show-view-raw-message)
     (define-key map "v" 'notmuch-show-view-all-mime-parts)
+    (define-key map "c" 'notmuch-show-stash-map)
     (define-key map "b" 'notmuch-show-toggle-current-body)
     (define-key map "h" 'notmuch-show-toggle-current-header)
     (define-key map "-" 'notmuch-show-remove-tag)
@@ -96,7 +97,6 @@
     (define-key map "n" 'notmuch-show-next-message)
     (define-key map (kbd "DEL") 'notmuch-show-rewind)
     (define-key map " " 'notmuch-show-advance-marking-read-and-archiving)
-    (define-key map "z" 'notmuch-show-stash-map)
     map)
   "Keymap for \"notmuch show\" buffers.")
 (fset 'notmuch-show-mode-map notmuch-show-mode-map)