diff options
author | Harry Jeffery <harry@exec64.co.uk> | 2017-11-23 21:33:33 +0000 |
---|---|---|
committer | Harry Jeffery <harry@exec64.co.uk> | 2017-11-23 22:18:28 +0000 |
commit | 65c9826bab96fe9925b7bc03caec2298f57a04a0 (patch) | |
tree | 24e17cf1dbf8e0023084f660aedbfc70d0599c5b /src/navigator.h | |
parent | 599a48746a6ff07405dc9abcfb872cca58e4aa47 (diff) | |
download | imv-65c9826bab96fe9925b7bc03caec2298f57a04a0.tar.gz |
Move remaining actions to bindable commands
Diffstat (limited to 'src/navigator.h')
-rw-r--r-- | src/navigator.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/navigator.h b/src/navigator.h index 5babf89..5d4f065 100644 --- a/src/navigator.h +++ b/src/navigator.h @@ -55,6 +55,9 @@ const char *imv_navigator_selection(struct imv_navigator *nav); /* Change the currently selected path. dir = -1 for previous, 1 for next. */ void imv_navigator_select_rel(struct imv_navigator *nav, int dir); +/* Change the currently selected path. 0 = first, 1 = second, etc. */ +void imv_navigator_select_abs(struct imv_navigator *nav, int index); + /* Removes the given path. The current selection is updated if necessary, * based on the last direction the selection moved. */ void imv_navigator_remove(struct imv_navigator *nav, const char *path); |