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:
11
.vimrc
Normal file
11
.vimrc
Normal 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>
|
||||
Reference in New Issue
Block a user