aboutsummaryrefslogtreecommitdiffstats
path: root/src/wins.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2012-07-07 19:14:33 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2012-07-07 21:39:35 +0200
commit13c21ac28023542a10cb75c085ce1925da2cdd0e (patch)
tree5d81c830a1d476d9d150ff6da03d968d6a5a3e61 /src/wins.c
parent88588ad704329939834b45eb2058fb48f0a5068f (diff)
downloadcalcurse-13c21ac28023542a10cb75c085ce1925da2cdd0e.tar.gz
calcurse-13c21ac28023542a10cb75c085ce1925da2cdd0e.zip
Merge cut/delete
Remove the cut function and merge it into the del-item command. This allows for vim-style cutting/pasting. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/wins.c')
-rw-r--r--src/wins.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wins.c b/src/wins.c
index 5123e1c..2f04605 100644
--- a/src/wins.c
+++ b/src/wins.c
@@ -587,7 +587,6 @@ void wins_status_bar(void)
struct binding help = { _("Help"), KEY_GENERIC_HELP };
struct binding quit = { _("Quit"), KEY_GENERIC_QUIT };
struct binding save = { _("Save"), KEY_GENERIC_SAVE };
- struct binding cut = { _("Cut"), KEY_GENERIC_CUT };
struct binding copy = { _("Copy"), KEY_GENERIC_COPY };
struct binding paste = { _("Paste"), KEY_GENERIC_PASTE };
struct binding chgvu = { _("Chg Win"), KEY_GENERIC_CHANGE_VIEW };
@@ -639,7 +638,7 @@ void wins_status_bar(void)
&help, &quit, &save, &chgvu, &import, &export, &add, &del, &edit, &view,
&pipe, &draw, &rept, &flag, &enote, &vnote, &up, &down, &gpday, &gnday,
&gpweek, &gnweek, &gpmonth, &gnmonth, &gpyear, &gnyear, &togo, &today,
- &conf, &appt, &todo, &cut, &copy, &paste
+ &conf, &appt, &todo, &copy, &paste
};
struct binding *bindings_todo[] = {