mirror of
https://github.com/tildeclub/site.git
synced 2026-01-24 05:50:17 +00:00
import more wiki articles, and exclude unmodified users from listing
This commit is contained in:
18
wiki/source/vimrc.md
Normal file
18
wiki/source/vimrc.md
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
title: .vimrc file
|
||||
---
|
||||
|
||||
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).
|
||||
Reference in New Issue
Block a user