Add mark range function

Sets the marked state of all images ranging from the latest marked/unmarked
image to the current image, to the state of that latest toggled image.
This commit is contained in:
Daniel Lublin
2018-06-04 22:18:57 +02:00
committed by Bert Münnich
parent 8bf1adcd9a
commit 6e696ba98c
5 changed files with 42 additions and 0 deletions

View File

@ -91,6 +91,7 @@ static const keymap_t keys[] = {
{ 0, XK_KP_Subtract, g_zoom, -1 },
{ 0, XK_m, g_toggle_image_mark, None },
{ 0, XK_M, g_reverse_marks, None },
{ ControlMask, XK_M, g_mark_range, None },
{ ControlMask, XK_m, g_unmark_all, None },
{ 0, XK_N, g_navigate_marked, +1 },
{ 0, XK_P, g_navigate_marked, -1 },