diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-07-04 09:54:19 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-07-06 01:59:24 +0200 |
commit | dd059ca8129a97dfde79101bdcf5d3f7bcec0a90 (patch) | |
tree | 0e9fa590a258c1bb576e134144313877ffac9eaa /src/keys.c | |
parent | a3cf63b3748c5f42214d648f003933d5597a3a8d (diff) | |
download | calcurse-dd059ca8129a97dfde79101bdcf5d3f7bcec0a90.zip |
Add a key binding for generic-copy
This finally adds full copy-paste support. Implements FR#15.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/keys.c')
-rw-r--r-- | src/keys.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -57,6 +57,7 @@ static struct keydef_s keydef[NBKEYS] = { {"generic-quit", "q Q"}, {"generic-save", "s S C-s"}, {"generic-cut", "C-x"}, + {"generic-copy", "c"}, {"generic-paste", "C-v"}, {"generic-change-view", "TAB"}, {"generic-import", "i I"}, @@ -445,6 +446,7 @@ void keys_popup_info(enum key key) info[KEY_GENERIC_QUIT] = _("Exit from the current menu, or quit calcurse."); info[KEY_GENERIC_SAVE] = _("Save calcurse data."); info[KEY_GENERIC_CUT] = _("Cut the item that is currently selected."); + info[KEY_GENERIC_COPY] = _("Copy the item that is currently selected."); info[KEY_GENERIC_PASTE] = _("Paste an item at the current position."); info[KEY_GENERIC_CHANGE_VIEW] = _("Select next panel in calcurse main screen."); |