OurBigBook logoOurBigBook Docs OurBigBook logoOurBigBook.comSite Source code
vim/ftdetect/ourbigbook.vim
autocmd BufNewFile,BufRead *.bigb setlocal filetype=ourbigbook
autocmd FileType ourbigbook setlocal shiftwidth=2 tabstop=2
" Start searching for a pattern in a header in the current file.
autocmd FileType ourbigbook nnoremap <buffer> <leader>f /\v\= 
autocmd FileType ourbigbook nnoremap <buffer> <leader>h :ObbGitGrep 
autocmd FileType ourbigbook command! -nargs=+ ObbGitGrep execute 'silent Ggrep! -i "^= <args>"' | tab copen