1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 23:28:02 +00:00
Files
til/.vimrc
2016-02-18 20:05:38 -06:00

12 lines
294 B
VimL

" 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>