diff options
author | nicm <nicm> | 2014-05-13 07:54:20 +0000 |
---|---|---|
committer | nicm <nicm> | 2014-05-13 07:54:20 +0000 |
commit | b1a06ef22e54e943d733db8dcc98fe60051c93de (patch) | |
tree | 51c54dcc73bec1a7496812eea8876f32c62426c2 /mode-key.c | |
parent | 3dbacbb62b033c04185fb87da5b0622f0aafee86 (diff) |
Add a copy mode key binding to copy to a named buffer. From J Raynor.
Diffstat (limited to 'mode-key.c')
-rw-r--r-- | mode-key.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -141,6 +141,7 @@ const struct mode_key_cmdstr mode_key_cmdstr_copy[] = { { MODEKEYCOPY_SEARCHREVERSE, "search-reverse" }, { MODEKEYCOPY_SEARCHUP, "search-backward" }, { MODEKEYCOPY_SELECTLINE, "select-line" }, + { MODEKEYCOPY_STARTNAMEDBUFFER, "start-named-buffer" }, { MODEKEYCOPY_STARTNUMBERPREFIX, "start-number-prefix" }, { MODEKEYCOPY_STARTOFLINE, "start-of-line" }, { MODEKEYCOPY_STARTSELECTION, "begin-selection" }, @@ -257,6 +258,7 @@ struct mode_key_tree mode_key_tree_vi_choice; /* vi copy mode keys. */ const struct mode_key_entry mode_key_vi_copy[] = { { ' ', 0, MODEKEYCOPY_STARTSELECTION }, + { '"', 0, MODEKEYCOPY_STARTNAMEDBUFFER }, { '$', 0, MODEKEYCOPY_ENDOFLINE }, { ',', 0, MODEKEYCOPY_JUMPREVERSE }, { ';', 0, MODEKEYCOPY_JUMPAGAIN }, |