Hi all,
I tried to delete the last character of multiple lines in the following way:
ctrl+v on the first line, then jjj to mark 3 lines, then $ to select the lines to the end, then A to switch ti insert mode in the end of the first line, then I deleted the last character of the first line(using backspace), and then Esc.
the solution was that the last character of the first line was really deleted, but regarding the other lines, instead of deleting the last character, vim added the last character that remained in the first line to the other lines.
for example:
this is line1
line2
this is line number3
the solution was:
this is line
line2e
this is line number3e
any ideas why this happens?
what should i do in order to delete last character of multiple lines?\
Thank you for your help!
--
--
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.
Wednesday, May 8, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment