diff --git a/session.vim b/session.vim index 75319e8442..b1da6f5676 100644 --- a/session.vim +++ b/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 ]n /:::$/1 + nnoremap yb vt#ty + normal! gg2j edit Changelog.yaml edit src/calibre/constants.py endfun