From: Bart Trojanowski Date: Wed, 25 Nov 2009 19:19:35 +0000 (-0500) Subject: vim: don't use scrolloff/sidesscrolloff in notmuch buffers X-Git-Tag: 0.1~313^2~36 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4c9ddb9ac152df442c6971e4448b0839179a5c66;p=notmuch.git vim: don't use scrolloff/sidesscrolloff in notmuch buffers --- diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim index b6bc6120..b4eeb416 100644 --- a/vim/plugin/notmuch.vim +++ b/vim/plugin/notmuch.vim @@ -791,6 +791,8 @@ function! s:NM_newBuffer(type, content) silent put=a:content keepjumps 0d setlocal nomodifiable + set scrolloff=0 + set sidescrolloff=0 execute printf('set filetype=notmuch-%s', a:type) execute printf('set syntax=notmuch-%s', a:type) let b:nm_type = a:type