karlch / vimiv-qt

An image viewer with vim-like keybindings
https://karlch.github.io/vimiv-qt/
GNU General Public License v3.0
177 stars 15 forks source link

Add keybinding cheatsheet #18

Open karlch opened 5 years ago

karlch commented 5 years ago

A keybinding cheatsheet similar to the old one available here would be great. It could include the main keybindings which are not expected to change.

EDIT: I would like to change the requirements. The cheatsheet should be auto-generated in python as much as possible, although maybe not auto-commited in the gh-pages branch so we can take a look at it first. Once this is done, we could also think about adding cheatsheets for different layouts like Dvorak as pointed out by MCP in a PM.

reneatzi commented 5 years ago

An inline help with the keys would also be great. Maybe similar to vim's whichkey plugin https://github.com/liuchengxu/vim-which-key

karlch commented 5 years ago

Is this somewhat similar to #97 ?

reneatzi commented 4 years ago

Yes, something like that. I also really like the behaviour from ranger, when you press the first key you get all available options which has this key as "leader".

karlch commented 4 years ago

There is already the keyhint widget which should pop-up after a default delay of 500 ms in the bottom left, right above the statusbar, exactly for this purpose. Is this not showing up for you?

The delay of 500 ms is there to not disturb users that know exactly what they are typing. You can also change the delay in your vimiv.conf by setting delay of the section [KEYHINT] to 0 instead of 500.

niksingh710 commented 3 months ago

is this feature is considered?

karlch commented 3 months ago

is this feature is considered?

With "this" you mean a cheatsheet outside of vimiv, somewhere on the website or so, like originally considered?

niksingh710 commented 3 months ago

With "this" you mean a cheatsheet outside of vimiv, somewhere on the website or so, like originally considered?

naah, i meant like in the app :? and then it shows a popup with all the keymaps.

karlch commented 3 months ago

naah, i meant like in the app :? and then it shows a popup with all the keymaps.

So, :keybindings ? :blush:

niksingh710 commented 3 months ago

naah, i meant like in the app :? and then it shows a popup with all the keymaps.

So, :keybindings ? :blush:

Exactly what I was looking for and it exists 😅