sponsor Vim development Vim logo Vim Book Ad

fix-vim-pasting : Fixes pasting in Vim, so it works as you expect.

 script karma  Rating 26/8, Downloaded by 661  Comments, bugs, improvements  Vim wiki

created by
Ryan McQuen
 
script type
utility
 
description
Vim tends to hate indenting code properly that is pasted into it. This even works with tmux. If you aren't into plugins, you can paste the contents of the script right into your .vimrc.
 
install details
mkdir -p ~/.vim/plugin/
wget -N https://raw.githubusercontent.com/ryanpcmcquen/fix-vim-pasting/master/plugin/fix-vim-pasting.vim -P ~/.vim/plugin/
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
fix-vim-pasting.vim 1.0 2017-08-29 7.0 Ryan McQuen Initial upload
ip used for rating: 3.138.114.38

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github