aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-09 23:13:56 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-09 23:13:56 +1200
commitc5af4abb7edb75ec9a9159e18e146712f8b898f2 (patch)
tree3f4775ea422baaa7ae3771115a41d6fb0d24aaa2
parentMerge branch 'release/v5.26.0' into develop (diff)
downloaddotfiles-c5af4abb7edb75ec9a9159e18e146712f8b898f2.tar.gz
dotfiles-c5af4abb7edb75ec9a9159e18e146712f8b898f2.zip
Flesh out opening comment a bit
Include some instructions to strip the comments out.
-rw-r--r--vim/vimrc16
1 files changed, 12 insertions, 4 deletions
diff --git a/vim/vimrc b/vim/vimrc
index bbcc6707..1929e74c 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -1,11 +1,19 @@
"
-" Tom Ryder (tejr)'s vimrc
-" ========================
+" Tom Ryder (tejr)'s Literate Vimrc
+" =================================
"
" <https://sanctum.geek.nz/cgit/dotfiles.git>
"
-" This is a 'literate vimrc', in the Donald Knuth tradition. It's long, and
-" comments abound.
+" This is an attempt at something like a 'literate vimrc', in the tradition of
+" Donald Knuth's "literate programming".
+"
+" <http://www.literateprogramming.com/>
+"
+" It's a long file, and comments abound. If this bothers you, you can do
+" something like this to strip out all the blank lines and lines with only
+" comments:
+"
+" :v/^\s*[^"]/d
"
" This file should be saved as "vimrc" in the user runtime directory. On
" Unix-like operating systems, this is ~/.vim; on Windows, it's ~/vimfiles.