mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 12:48:36 +02:00
Nicer log buffer
This commit is contained in:
parent
620eb90219
commit
4ba9500d8b
1 changed files with 7 additions and 3 deletions
10
session.vim
10
session.vim
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue