Wednesday, May 8, 2013

Re: delete last character of multiple lines

On 08/05/2013 18:29, Jürgen Krämer wrote:

> :
>>> what should i do in order to delete last character of multiple lines?\
>>
>> How about visually selecting the lines and then:
>>
>> :'<,'>norm! $x
>
> or
>
> :'<,'>s/.$//

Does the '.' replace a character with nothing?

Cheers,

Phil...

--
currently (ab)using
CentOS 5.9 & 6.4, Debian Squeeze & Wheezy, Fedora Beefy, Spherical &
That Damn Cat, Lubuntu 12.10, OS X Snow Leopard, Ubuntu Precise, Quantal
& Raring
GnuGPG Key : http://phildobbin.org/publickey.asc


--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: