I have been trying to paste text from one file to another in bash. I'm working in Putty.
To be more clear, I have a file hotel.txt with some lines of text that are indented, thus have tabs and spaces. When I paste a few of those indented lines into another file created using vi, they are pasted with a tab extra each.
All my text is automatically indented with each line having an extra tab as soon as I paste using the right click mouse button.
Does anyone have any solution?
I've tried :set paste, but doesn't work with me apparently.
set expandtabandset ts=4in myvimrc. This makes things easier, believe me.. :):se pastedoesn't work.