Change meaning of cw in vim to act like dw
This is an inconsistency that bothers me. And getting into the habit of using ce seems to not hurt since it is still 'backwards' compatible to other configs.
This commit is contained in:
@@ -35,6 +35,13 @@ if (has('nvim'))
|
||||
endif
|
||||
" Put new window below/right of current
|
||||
set splitbelow splitright
|
||||
" What is ce there for? cw should include whitespace like dw.
|
||||
if (has('nvim'))
|
||||
set cpoptions-=_
|
||||
else
|
||||
nmap cw dwi
|
||||
nmap cW dWi
|
||||
endif
|
||||
|
||||
" Keybinds #####################################################################
|
||||
" Set leader key
|
||||
|
||||
Reference in New Issue
Block a user