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
when Conf['Close'], Conf['Open Gallery']
Gallery.cb.close
when 'Right'
when Conf['Next Gallery Image']
Gallery.cb.next
when 'Enter'
when Conf['Advance Gallery']
Gallery.cb.advance
when 'Left', ''
when Conf['Previous Gallery Image']
Gallery.cb.prev
when Conf['Pause']
Gallery.cb.pause

View File

@ -950,7 +950,19 @@ Config =
'Open Gallery': [
'g'
'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': [
'p'
'Pause/play videos in the gallery.'