vim-colemak
vim-colemak copied to clipboard
Swap actions ‘forward [end of] word’ on u/U and y/Y (Colemak)
I swapped the
uandykeys.
— @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?
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|
PS: I also assign B->L so I can use H M B since L was reassigned.
Keep them coming! 🥇 I'll have to continue at a later time however.
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?