Results 1 to 3 of 3
Thread: vim paste skew
|
Enjoy an ad free experience by logging in. Not a member yet? Register.
|
|
-
05-22-2007 #1
- Join Date
- Oct 2006
- Posts
- 101
vim paste skew
Code:1 2 3 4
Code:1 2 3 4
Thanks!--Erik
-
05-24-2007 #2
This is because you are pasting pre-formatted text into vi, which does its own in-line formatting (for instance, indenting).
The best way to avoid this is to run ":set paste" before pasting, then ":set nopaste" afterwards. This will disable all formatting so that you can paste easily, then re-enable whatever you had had originally.
-
05-24-2007 #3
- Join Date
- Oct 2006
- Posts
- 101
Thanks! Works great
--Erik