How To Fix Indentation in Vi

Author: , July 30th, 2014

gg=G gg to get to the top of the file, = to indent, and G to the go to the end of the file.

Editing Remote Files In GVIM With SCP

Author: , October 5th, 2010

Launch X11 and start GVIM from an xterm in the background. Then type the following into the vim window: [code]:e scp://login@remotehost/full/path/to/the/file[/code] Replace the “login” above with your username on the remote host, “remotehost” is the name or ip of the server and /full/path/to/the/file is the absolute path to the file on the remove host. When […]