From c5af4abb7edb75ec9a9159e18e146712f8b898f2 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 9 Jun 2019 23:13:56 +1200 Subject: Flesh out opening comment a bit Include some instructions to strip the comments out. --- vim/vimrc | 16 ++++++++++++---- 1 file 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 +" ================================= " " " -" 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". +" +" +" +" 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. -- cgit v1.2.3