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()