sponsor Vim development Vim logo Vim Book Ad

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

 script karma  Rating 0/0, Downloaded by 83  Comments, bugs, improvements  Vim wiki

created by
Ryan P.C. McQuen
script type
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/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 P.C. McQuen Initial upload
ip used for rating:

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.
SourceForge.net Logo