pqiv
pqiv copied to clipboard
Home and End keys not working
I'm using i3 tiling wm.
Default Home and End keys as listed by pqiv --show-bindings:
<Home> { goto_file_byindex(0) }
<End> { goto_file_byindex(-1) }
strangely don't work (in other applications they do), why? Should probably be listed in the DEFAULT KEY BINDINGS section of the man page.
Changing them to Ctrl-Home and Ctrl-End works.
But it is NOT possible to unassign <Home>
and <End>
key with pqivrc:
[keybindings]
<Home> { nop() }
<End> { nop() }
Thanks in advance, Pascal
Actually 2 items appear when unassigning <Home>
and <End>
keys in pqivrc and running pqiv --show-bindings:
<Home> { nop() }
<Home> { goto_file_byindex(0) }
<End> { nop() }
<End> { goto_file_byindex(-1) }
Explicitly setting/overwriting in pqivrc:
[keybindings]
<Home> { goto_file_byindex(0) }
<End> { goto_file_byindex(-1) }
makes the Home and End keys work! (still 2 items appear when running pqiv --show-bindings)
Do you grep for Home, or look through the list? pqiv has multiple key binding domains, and Home is bound in both. Try adding another @MONTAGE { <Home> { nop() } }
, that should unassign the other.
As for why you have to reassign to make them work, no idea, frankly 🤔
Hi, Sorry I used grep and was unaware of these keys being used in montage mode. Actually it turns out that Home and End keys are only bound by default in montage mode and not in normal (viewing) mode in which I expected Home to go to the first image and End to go to the last image, I can easily bind these in pqivrc as mentioned but would be nice if these worked by default (should probably be listed in the DEFAULT KEY BINDINGS section of the man page then as well). Thanks.