Cleanup of default key bindings (second try)
This should be eventually done. But this time, my opinion is that we shouldn't gratuitously change bindings just because.
There are some things that really should be changed and everyone agrees about, such as remapping o.
Some suggestions are controversial, like mapping ESC to exit fullscreen.
Anyway, let the bikeshedding begin.
The keys for next and previous chapter (@ and !) should be changed. Those are one of my most use keys and I have remapped them to 'a' and 's' for convenience.
I rather use [ and ] (currently playback speed) or HOME (POS1) and END for this.
The c key is pretty annoying (the only time I use it is when I hit it by accident). This also came up in the previous discussion IIRC.
The same applies to w and e though they are probably more useful.
For chapters, I use Ctrl-Left/Right and the back/forward buttons on my mouse (BTN7/8), but both of those only work when there's a vo window.
I have HOME no-osd seek 0 absolute-percent exact to go to the beginning of the file. I think that's fairly intuitive and might be worth being default.
As for ESC, I think exiting fullscreen is what people would expect it to do. Personally, I have it mapped to quit_watch_later.
Also, I agree that some of the rarely used things like c should be unmapped or moved.
My personal list of mosy hated binds:
- change chapters
- change audio track
- change subtitle track
I always have to look these bind up in the manpage before use. Although I have no constructive more intuitive idea for these...
Maybe change chapters with [ and ] like @giselher proposed and use a/A and s/S to cycle audio/subtitle tracks both ways. But then what about screenshots. Also, non-QWERTY layouts...
Seems changing chapters is the most frequently used function here. I would also like the keys for previous/next chapter to be changed to more "intuitive" ones.
I don't know how often would people use pgup/pgdn to seek a file back/forward for 10 minutes, but to me it seems much more useful to change those to previous/next chapter.
But, there are no pgup/pgdn keys on a Mac keyboard...Maybe "[" and "]"? They are now binded to changing playback speed, which IMO are quite rarely used for most people.
Maybe also consider change the multimedia keys PREVIOUS and NEXT to changing chapters instead of seeking back/forward for 1 minute.
Removed c, remapped o.
Chapter seek should definitely remapped. Suggestions were:
[,]- not so good on all keyboards, and also occupied by speed changes.- pgdn, pgup - ok, but doesn't exist on mac.
- ctrl+left/right - ok, but doesn't work on terminal
I think Ctrl could be made work on most terminals, though. What keys does the mac have again?
pgdn, pgup is accessible as fn+down, fn+up on small Mac keyboards.
On Sunday 03 August 2014 12:19:16 wm4 wrote:
pgdn, pgup - ok, but doesn't exist on mac.
Lies. fn+up/down.
I very much support this change. @/! is awful on non-US layouts.
Pgdn, pgup are accessible vial Fn on small Mac keyboards and are found standalone on the wired USB keyboard.
[ and ] are hidden behind Alt+8 and Alt+9 on my keyboard.
Also, if I don't remember incorrectly, Ctrl+Left/Right by default switches spaces left and right on OS X (if you have set up spaces).
p for pause is weird, all media players use space to pause, personally I remapped p to show_progress
(I did so too)
I also have p mapped to show_progress.
So what does this mean? Is pgup/pgdown good to go for chapters?
So what does this mean? Is pgup/pgdown good to go for chapters?
Personally it's more preferable to map single keys for seeking chapters, not key combinations, or at least key combinations can be pressed with one hand. So I would agree to make pgup/pgdown for this (which is already much better than shift+!/@), but since I only use mpv on my Mac, I still hope a pair of single keys could be used, ideally would cause minimum conflict with old key bindings while still intuitive (not easy).
Another suggestion aside from [ and ]: what about < and >? They are currently bound to navigating back/forward in the playlist.
Well maybe there are a lot of folks are using this for their playlists...So I really don't know.
what about < and >?
No, they're terrible. Some keyboards have them on the same key, and without shift it produces < (which is bad intuitively, because without modifiers you'd expect it to go forwards, not back). In fact, playlist navigation could use new bindings too.
From my side - yes. Just like a for switching audio and s for subtitles.
BTW the av/as delay shortcuts can go. The few who need them (I sometimes do) can use input.conf for them, and the end users better not be able to accidentally screw up sync (as restoring to 0 is nontrivial). Am 05.08.2014 01:21 schrieb "wm4" [email protected]:
So what does this mean? Is pgup/pgdown good to go for chapters?
— Reply to this email directly or view it on GitHub https://github.com/mpv-player/mpv/issues/973#issuecomment-51131149.
This should be eventually done. But this time, my opinion is that we shouldn't gratuitously change bindings just because.
There are some things that really should be changed and everyone agrees about, such as remapping o.
Some suggestions are controversial, like mapping ESC to exit fullscreen.
Anyway, let the bikeshedding begin.
What if when mpv was full screened, ESC would go back to being windowed, and pressing ESC again while windowed would exit mpv?
Remapped pgup/dwn, keeping the old chapter bindings.
What if when mpv was full screened, ESC would go back to being windowed, and pressing ESC again while windowed would exit mpv?
Perhaps, but then the bindings would be stateful, which would require additional code and more effort from the user to understand how it works.
Removed some bindings I deemed too obscure with commit 90ec333417.