diff options
author | Harry Jeffery <harry@exec64.co.uk> | 2017-04-14 16:23:58 +0100 |
---|---|---|
committer | Harry Jeffery <harry@exec64.co.uk> | 2017-04-14 16:23:58 +0100 |
commit | 93f68f6b4c2212a80492274b9aea9a9fb43d7ec4 (patch) | |
tree | d3310cc6d5a7f27008d26023d0b756a1f733964f | |
parent | b46385618eb6c2e6ee468c672c6824259d97add2 (diff) | |
download | imv-93f68f6b4c2212a80492274b9aea9a9fb43d7ec4.tar.gz |
Add some aliases
-rw-r--r-- | src/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -212,6 +212,12 @@ int main(int argc, char** argv) imv_command_register("fullscreen", &cmd_fullscreen); imv_command_register("overlay", &cmd_overlay); + imv_command_alias("q", "quit"); + imv_command_alias("next", "select_rel 1"); + imv_command_alias("previous", "select_rel -1"); + imv_command_alias("n", "select_rel 1"); + imv_command_alias("p", "select_rel -1"); + imv_navigator_init(&g_state.nav); /* parse any command line options given */ |