From fcb0062a276b70e98dcb4fb9fbce148b07aef5ec Mon Sep 17 00:00:00 2001 From: vielmetti Date: Wed, 15 Oct 2014 05:54:00 -0700 Subject: [PATCH] link to tutorial --- vimrc.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 vimrc.md diff --git a/vimrc.md b/vimrc.md new file mode 100644 index 0000000..7e0032e --- /dev/null +++ b/vimrc.md @@ -0,0 +1,13 @@ +The file `.vimrc` in your home directory has instructions for [[vim]] to load every time +it runs. Customizations go there. + +For instance, you might want to use [[Markdown]] to edit files that end in `.md`. The system +default for some reason is to treat these as [[Modula-2]] files, though we don't have +a Modula-2 compiler running (yet). So the contents of `.vimrc` should read + +`` +au BufRead,BufNewFile *.md set filetype=markdown +`` + +For more suggestions in deep depth on how to set up your `.vimrc` please read +[this tutorial from Doug Black](http://dougblack.io/words/a-good-vimrc.html). \ No newline at end of file