foxfirefey: A fox colored like flame over an ornately framed globe (Default)
foxfirefey ([personal profile] foxfirefey) wrote in [community profile] command_liners2009-06-30 06:18 pm
Entry tags:

Copy pasting without reformatting in vi

So, vi(m) is a great command line editor if you've started to outgrow nano. But, if you are copy pasting chunks of things into it, sometimes it does some...creative reformatting. You can stop this if you use this command before you do your i (insert letter) and paste:

:set paste

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting