fix formatting on vimrc page
parent
fcb0062a27
commit
df16f775f5
13
vimrc.md
13
vimrc.md
|
@ -1,13 +1,14 @@
|
|||
The file `.vimrc` in your home directory has instructions for [[vim]] to load every time
|
||||
it runs. Customizations go there.
|
||||
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
|
||||
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).
|
||||
[this tutorial from Doug Black](http://dougblack.io/words/a-good-vimrc.html).
|
||||
|
|
Loading…
Reference in New Issue