mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 07:08:01 +00:00
12 lines
294 B
VimL
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>
|