From 6826e72e6e5f8beaf34559a8db83540f12e7696a Mon Sep 17 00:00:00 2001 From: jbranchaud Date: Thu, 18 Feb 2016 20:05:38 -0600 Subject: [PATCH] Add a vimrc file specifically for this project --- .vimrc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .vimrc diff --git a/.vimrc b/.vimrc new file mode 100644 index 0000000..6989dbc --- /dev/null +++ b/.vimrc @@ -0,0 +1,11 @@ +" vimrc for til + +" In order for this file to be loaded by Vim, the main `.vimrc` file must +" contain `set exrc` and optionally `set secure`. Without those lines, Vim +" will ignore this file. + +function! CountTILs() + execute '%s/^- \[//n' +endfunction + +nnoremap c :call CountTILs()