diff --git a/README b/README index 466997f..b89c624 100644 --- a/README +++ b/README @@ -47,6 +47,7 @@ Ctrl+A = Select Text All Ctrl+Double Click = Select a word Ctrl+C = Copy Selected Text Ctrl+V = Paste Copied Text +Ctrl+X = Cut Selected Text Ctrl+I = On/Off Auto Indentation Ctrl+Home = Go to the Top line Ctrl+End = Go to the Bottom line diff --git a/src/bin/main.c b/src/bin/main.c index 1b08a82..70c7085 100644 --- a/src/bin/main.c +++ b/src/bin/main.c @@ -258,6 +258,9 @@ ctrl_func(app_data *ad, const char *keyname) //Paste if (!strcmp(keyname, "v") || !strcmp(keyname, "V")) return ECORE_CALLBACK_PASS_ON; + //Cut + if (!strcmp(keyname, "x") || !strcmp(keyname, "X")) + return ECORE_CALLBACK_PASS_ON; //Select All if (!strcmp(keyname, "a") || !strcmp(keyname, "A")) return ECORE_CALLBACK_PASS_ON;