On Oct 5, 2009, at 5:34, Niki Kovacs wrote:
Here's what the according macro would look like. Pressing F2 would
replace the space under the cursor by nbsp; :
:map F2 cwnbsp;ESC
... except this also deletes the word after the cursor, which is
annoying.
Any suggestions ?
Have you tried
Alfred von Campe a écrit :
Have you tried the s command (substitute) instead of cw?
Alfred
Alfred, you're a star !
Thanks very much !
Niki
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
Niki Kovacs wrote:
:map F2 cwnbsp;ESC
... except this also deletes the word after the cursor, which is annoying.
c1lnbsp;esc
thats digit 1, lower case letter L, lower L being the move left
command. the 1 is uneeded, but c3l would change 3 characters, etc.
btw, my favorite way of
3 matches
Mail list logo