diff options
author | Harry Jeffery <harry@exec64.co.uk> | 2019-08-28 16:28:30 +0100 |
---|---|---|
committer | Harry Jeffery <harry@exec64.co.uk> | 2019-08-28 16:28:30 +0100 |
commit | bf1d73edce53cb783842fa141984c143ff71da07 (patch) | |
tree | 5d49f96f8d1a6ac15f470e426718634ebff8d9df | |
parent | cfb1d26cbe5df38088188a18262a44e5ff47d5ca (diff) | |
download | imv-bf1d73edce53cb783842fa141984c143ff71da07.tar.gz |
imv: Add aliases to improve backwards compatibility with v3
-rw-r--r-- | src/imv.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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"); |