Quantcast
Channel: Turning off auto indent when pasting text into vim - Stack Overflow
Viewing all articles
Browse latest Browse all 28

Answer by Jacob R for Turning off auto indent when pasting text into vim

$
0
0

To avoid undesired effects while pasting, there is an option that needs to be set:

set paste

A useful command to have in your .vimrc is set pastetoggle=<F10> or some other button, to easily toggle between paste and nopaste.


Viewing all articles
Browse latest Browse all 28

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>