Skip to content

Instantly share code, notes, and snippets.

@euclio
Last active August 29, 2015 13:55
Show Gist options
  • Save euclio/8760209 to your computer and use it in GitHub Desktop.
Save euclio/8760209 to your computer and use it in GitHub Desktop.
Vim Tutorial Files

##Instructions

If you are running OSX, or Linux, you likely have Vim already installed. Ensure that you have Vim on your PATH by opening a terminal and typing vim --version. If you get some output, you're ready to go.

If you're running Windows, there are two options.

First, if you have a Pomona or Mudd CS account, I recommend you use PuTTY to SSH into project.cs.pomona.edu or knuth.cs.hmc.edu.

If you don't have either of these accounts, you can download the console version of Vim here. Make sure to choose the option to install batch files so you can use Vim inside cmd.exe.

##Extra Information

There's a really great cheat sheet at this link: cheat sheet.

#include <stdio.h>
int main(void) {
puts("Hello world!");
return 0;
}
<!doctype>
<body>
<h1>Hello</h1>
<p>Hello, world!</p>
</body>
hello: hello.c
gcc -o hello hello.c
Welcome to Vim!
k
Try navigating these words using h l
j
Your name:
This is a sentence.
This is a paragraph. A paragraph is
multiple sentences without any space
between them.
You found the secret!
...But it's not very secret.
Good things come in threes.
Good things come in twos.
Vim is not cool.
People often make tyops.
i forgot to capitalize.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment