owickstrom / komposition

The video editor built for screencasters
https://owickstrom.github.io/komposition/
Mozilla Public License 2.0
429 stars 21 forks source link

Use more Vim-like key casing behaviour for before/after #17

Closed owickstrom closed 5 years ago

owickstrom commented 6 years ago

From gfixler on YouTube:

My friendly Vim expert feedback is that I'd like pg (prepend gap) to be P, and append gap to be p. Vim uses the lower case for after and upper case for before idiom a lot - o/O (open line after/before), p/P (put after, before), f/F (find forward/backward), t/T (to forward/backward), n/N (next/previous match), etc. I'd like split to thus be s/S (split at end/beginning of current clip). Great work so far!

And I responded:

Ah, that's right. I've used the uppercase ones to mean "at the leftmost/rightmost position" within the container your focusing. So if you'd say Pg, it would add a gap at the beginning of the current parallel. However, the before/after casing might be more useful. I haven't had much use of the leftmost/rightmost bindings so far. I'd also like to leave the p key for paste, so maybe should have a/A mean "add" instead, and the casing determine before or after. Thanks for the feedback!

Proposal:

Remove the prepend/append commands as they exist now, and have only "add", being bound to a and A, for prepend and append (next to current focus), respectively.