1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 15:18:01 +00:00

Add a vimrc file specifically for this project

This commit is contained in:
jbranchaud
2016-02-18 20:05:38 -06:00
parent 97dc1e8f93
commit 6826e72e6e

11
.vimrc Normal file
View File

@@ -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 <leader>c :call CountTILs()<cr>