1" Scan the following dirs (recursively for tags
2let g:project_tags_dirs = ['src/calibre']
3
4set wildignore+=resources/mathjax/*
5set wildignore+=resources/rapydscript/lib/*
6set wildignore+=build/*
7set wildignore+=dist/*
8set wildignore+=manual/generated/*
9set wildignore+=manual/locale/*
10set wildignore+=imgsrc/*
11
12fun! CalibreLog()
13    " Setup buffers to edit the calibre changelog and version info prior to
14    " making a release.
15    enew
16    read ! git log  "--pretty=\%an:::\%n\%s\%n\%b\%n" -500
17    setl nomodifiable noswapfile buftype=nofile
18    hi def link au Keyword
19    syntax match au /^.*:::$/
20    nnoremap <silent> <buffer> n :call cursor(1+search('\V:::\$', 'n'), 0)<CR>
21    nnoremap <silent> <buffer> yb v/#<CR>t<Space>y:nohl<CR>
22    normal! gg2j
23    edit Changelog.txt
24    edit src/calibre/constants.py
25endfun
26
27nnoremap \log :call CalibreLog()<CR>
28