mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Nicer log buffer
This commit is contained in:
parent
620eb90219
commit
4ba9500d8b
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…
x
Reference in New Issue
Block a user