aboutsummaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorBert Münnich <be.muennich@gmail.com>2013-08-10 21:18:53 +0200
committerBert Münnich <be.muennich@gmail.com>2013-08-10 21:18:53 +0200
commit7d878bd16df1abffde780e195144b845dc133166 (patch)
treeee956a3830bf27b82a2004b6e8f160ddf60a7011 /config.def.h
parent84d77b173288f838ffdbe2cd12061cf7a725f185 (diff)
downloadnsxiv-7d878bd16df1abffde780e195144b845dc133166.tar.zst
Added file marks; fixes issue #94
- Command it_toggle_image_mark (bound to 'm') toggles mark of current image - Command it_navigate_marked (bound to 'N'/'P') can be used to go to the next/previous marked image - When option -o is given, all marked files get printed
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index e0e1460..d24723d 100644
--- a/config.def.h
+++ b/config.def.h
@@ -81,6 +81,10 @@ static const keymap_t keys[] = {
{ true, XK_p, i_navigate_frame, (arg_t) -1 },
{ true, XK_space, i_toggle_animation, (arg_t) None },
+ { false, XK_m, it_toggle_image_mark, (arg_t) None },
+ { false, XK_N, it_navigate_marked, (arg_t) +1 },
+ { false, XK_P, it_navigate_marked, (arg_t) -1 },
+
{ false, XK_h, it_scroll_move, (arg_t) DIR_LEFT },
{ false, XK_Left, it_scroll_move, (arg_t) DIR_LEFT },
{ false, XK_j, it_scroll_move, (arg_t) DIR_DOWN },