From 4ba9500d8bf31ef35832db51806d5980113976fd Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 30 May 2013 08:35:30 +0530 Subject: [PATCH] Nicer log buffer --- session.vim | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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