Nicer log buffer

This commit is contained in:
Kovid Goyal 2013-05-30 08:35:30 +05:30
parent 620eb90219
commit 4ba9500d8b

View File

@ -22,9 +22,13 @@ fun! CalibreLog()
" Setup buffers to edit the calibre changelog and version info prior to
" making a release.
enew
read ! git log "--pretty=\%an:\%n\%s\%n" -500
setl nomodifiable noswapfile buftype=nofile
normal! gg
read ! git log "--pretty=\%an:::\%n\%s\%n\%b\%n" -500
setl nomodifiable noswapfile buftype=nofile nohlsearch
hi def link au Keyword
syntax match au /^.*:::$/
nnoremap <silent> <buffer> ]n /:::$/1<CR>
nnoremap <silent> <buffer> yb vt#t<Space>y
normal! gg2j
edit Changelog.yaml
edit src/calibre/constants.py
endfun