On 2013-01-08, vicky b wrote:
> hmm , there are few things which i find quiet inconvenient but other wise vim
> is superior to other editors , once more such thing is like if i edit a
> characeter in each line then i have to edit the char go back to normal mode
> press j then edit and cycle repeats is there a any other way
If you are changing one character in each line, you can use the r
command. If all the characters are in the same column, you can just
type
r
the new character on the first line
jr
the new character on the second line
jr
and so on.
To change all the characters in one column to the same character,
you can either type
r
the new character
j.
and keep repeating j. for each line to be changed, or you can type
Ctrl-V
j
and keep typing j until the desired column is highlighted, then type
r
the new character
HTH,
Gary
--
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
Tuesday, January 8, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment