VI or VIM: Disabling auto indent temporarily to "paste"
Sometimes you only need to paste some snippet of code, that already has indentation, so you can
disable it only during the paste operation:
:set paste
|
Then to revert setting
:set nopaste
|
No comments:
Post a Comment