Open vbauerster opened 5 years ago
Alternative approach would be make lock
menu repeat-time
aware. So if none of the keys declared in the lock menu is pressed within specified time, it should quit automatically without having to press esc
.
Related: #996
One easy solution is to remap the view keys to take you back to view mode, like so:
map global view h hv
map global view j jv
map global view k kv
map global view l lv
Any other keypress will exit the view mode. As for the timing thing, I think this would be possible to implement too if timers were exposed (#2337)
View menu has four scroll items
hjkl
forleft
,down
,up
andright
respectively. To scroll repeatedly there are two options available at the moment:v[hjkl]
constantlyV
Both ways not so convenient, second way introduces a kind of sub-mode, which has to be exit explicitly.
It would be nice to have repeat option for scrolling keys, because usually they are pressed repeatedly. So instead of pressing
vj
repeatedly, one would pressv
one time, thenj
repeatedly. Tmux has same approach in itsbind-key
command (flag-r
) andrepeat-time
option, in order to avoid pressing prefix all the time.