aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2019-08-28 16:28:30 +0100
committerHarry Jeffery <harry@exec64.co.uk>2019-08-28 16:28:30 +0100
commitbf1d73edce53cb783842fa141984c143ff71da07 (patch)
tree5d49f96f8d1a6ac15f470e426718634ebff8d9df
parentcfb1d26cbe5df38088188a18262a44e5ff47d5ca (diff)
downloadimv-bf1d73edce53cb783842fa141984c143ff71da07.tar.gz
imv: Add aliases to improve backwards compatibility with v3
-rw-r--r--src/imv.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/imv.c b/src/imv.c
index 2c22f24..acdb39f 100644
--- a/src/imv.c
+++ b/src/imv.c
@@ -531,6 +531,11 @@ struct imv *imv_create(void)
imv_command_alias(imv->commands, "bg", "background");
imv_command_alias(imv->commands, "ss", "slideshow");
+ /* aliases to improve backwards compatibility with <v4 */
+ imv_command_alias(imv->commands, "select_rel", "next");
+ imv_command_alias(imv->commands, "select_abs", "goto");
+ imv_command_alias(imv->commands, "scaling_method", "scaling");
+
add_bind(imv, "q", "quit");
add_bind(imv, "<Left>", "prev");
add_bind(imv, "<bracketleft>", "prev");