Skip to content

Commit 6826e72

Browse files
committed
Add a vimrc file specifically for this project
1 parent 97dc1e8 commit 6826e72

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.vimrc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
" vimrc for til
2+
3+
" In order for this file to be loaded by Vim, the main `.vimrc` file must
4+
" contain `set exrc` and optionally `set secure`. Without those lines, Vim
5+
" will ignore this file.
6+
7+
function! CountTILs()
8+
execute '%s/^- \[//n'
9+
endfunction
10+
11+
nnoremap <leader>c :call CountTILs()<cr>

0 commit comments

Comments
 (0)