vim-colemak icon indicating copy to clipboard operation
vim-colemak copied to clipboard

Swap actions ‘forward [end of] word’ on u/U and y/Y (Colemak)

Open jooize opened this issue 8 years ago • 4 comments
trafficstars

I swapped the u and y keys.

— @jamischarles, https://github.com/jooize/vim-colemak/issues/5#issuecomment-330444357

(  novx)  l = b (Back word)            L = B (Back WORD)
(  novx)  u = w (Forward word)         U = W (Forward WORD)
(  novx)  y = e (Forward end of word)  Y = E (Forward end of WORD)

That seems way more intuitive. Will probably implement the change and throw all users off. Any consequences to take into account?

jooize avatar Sep 20 '17 06:09 jooize

Can't remember this causing any issues.

These are the main colemak fixes I have in my vimrc.after file:

" gi should be gs for us since we use 's' for insert
" Goes to the last insertion point and gets in insert mode
nmap gs gi


" Swap u and y keys
nnoremap y e|xnoremap y e|onoremap y e|
nnoremap Y E|xnoremap Y E|onoremap Y E|
nnoremap u w|xnoremap u w|onoremap u w|
nnoremap U W|xnoremap U W|onoremap U W|

jamischarles avatar Sep 21 '17 04:09 jamischarles

PS: I also assign B->L so I can use H M B since L was reassigned.

jamischarles avatar Sep 21 '17 16:09 jamischarles

Keep them coming! 🥇 I'll have to continue at a later time however.

jooize avatar Sep 22 '17 22:09 jooize

Here's one I'm trying to remap now, but having a hard time:

Can we restore d i * without impacting the other stuff? dip etc and have it delete the inner paragraph?

jamischarles avatar Oct 02 '17 22:10 jamischarles