Reese Knowledgebase

turning off auto indent and comments in vi

View Kristian Reese's profile on LinkedIn

If you like this article, please +1 or Recommend via FB with the provided buttons above:

Article ID: 132
by: Reese K.
Posted: 07 Oct, 2013
Last updated: 07 Oct, 2013
Views: 1653

 It's not always convenient to have auto comments or auto indent when pasting text enabled within a vi session.

To turn them off, at least within the current vi session:

:set comments=

:set paste

This article was:   Helpful | Not Helpful
Also listed in
folder UNIX -> Linux

Prev   Next
Error: Missing Dependency:     How to use curl to download files that use a cookie for...