vim - Ctrl+W in command mode deletes till space rather than deleting one word -


when use <c-w> in command mode delete word, instead whole word till last space being deleted. example:

:e /var/www/hello 

if press <c-w>, leaves

:e  

and expected leave

:e /var/www/ 

this issue relevant 1 of saved sessions. guess accidentally changed option didn't want change, , saved in session. option defines behavior of <c-w> in command mode?

assuming don't have <c-w> mapped else, <c-w> influenced iskeyword setting. mine set iskeyword=@,48-57,_,192-255, , <c-w> works expected.


Comments

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

java Extracting Zip file -

C# WinForm - loading screen -