Add more customizable keybindings for gallery image nav

This commit is contained in:
Ben Berman 2017-05-27 19:50:04 -04:00
parent 6a0dc74639
commit f1811485cd
2 changed files with 16 additions and 4 deletions

View File

@ -237,11 +237,11 @@ Gallery =
cb = switch key cb = switch key
when Conf['Close'], Conf['Open Gallery'] when Conf['Close'], Conf['Open Gallery']
Gallery.cb.close Gallery.cb.close
when 'Right' when Conf['Next Gallery Image']
Gallery.cb.next Gallery.cb.next
when 'Enter' when Conf['Advance Gallery']
Gallery.cb.advance Gallery.cb.advance
when 'Left', '' when Conf['Previous Gallery Image']
Gallery.cb.prev Gallery.cb.prev
when Conf['Pause'] when Conf['Pause']
Gallery.cb.pause Gallery.cb.pause

View File

@ -950,7 +950,19 @@ Config =
'Open Gallery': [ 'Open Gallery': [
'g' 'g'
'Opens the gallery.' 'Opens the gallery.'
] ],
'Next Gallery Image': [
'Right',
'Go to the next image in gallery mode'
],
'Previous Gallery Image': [
'Left',
'Go to the previous image in gallery mode'
],
'Advance Gallery': [
'Enter',
'Advance the gallery'
],
'Pause': [ 'Pause': [
'p' 'p'
'Pause/play videos in the gallery.' 'Pause/play videos in the gallery.'