]> git.cworth.org Git - notmuch-old/commitdiff
vim: don't use scrolloff/sidesscrolloff in notmuch buffers
authorBart Trojanowski <bart@jukie.net>
Wed, 25 Nov 2009 19:19:35 +0000 (14:19 -0500)
committerBart Trojanowski <bart@jukie.net>
Wed, 25 Nov 2009 19:19:35 +0000 (14:19 -0500)
vim/plugin/notmuch.vim

index b6bc6120f301aaf9a4ca211427da57c3d5f49a96..b4eeb416ce608ad58b31883639d1f8a03bd76141 100644 (file)
@@ -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