Vim Tips Wiki

Editing

Su-write

1
  • The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit. If you are undoing an edit that is …
Latest revision Your text
Line 26: Line 26:
 
</pre>
 
</pre>
   
Or, if you know about the problem beforehand:
+
Or, if you know about the problem before starting Vim:
 
<pre>
 
<pre>
sudoedit path_to_file
+
sudo vim path_to_file
sudo -e path_to_file
 
 
</pre>
 
</pre>
   
  Loading editor
Below are some commonly used wiki markup codes. Simply click on what you want to use and it will appear in the edit box above.

View this template