Debian Codegraph @

session.vim

raw
1 " Scan the following dirs (recursively for tags
2 let g:project_tags_dirs = ['src/calibre']
3
4 set wildignore+=resources/mathjax/*
5 set wildignore+=resources/rapydscript/lib/*
6 set wildignore+=build/*
7 set wildignore+=dist/*
8 set wildignore+=manual/generated/*
9 set wildignore+=manual/locale/*
10 set wildignore+=imgsrc/*
11
12 fun! 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
25 endfun
26
27 nnoremap \log :call CalibreLog()<CR>