vim: don't use scrolloff/sidesscrolloff in notmuch buffers

This commit is contained in:
Bart Trojanowski 2009-11-25 14:19:35 -05:00
parent 329f95eb77
commit 4c9ddb9ac1

View file

@ -791,6 +791,8 @@ function! s:NM_newBuffer(type, content)
silent put=a:content silent put=a:content
keepjumps 0d keepjumps 0d
setlocal nomodifiable setlocal nomodifiable
set scrolloff=0
set sidescrolloff=0
execute printf('set filetype=notmuch-%s', a:type) execute printf('set filetype=notmuch-%s', a:type)
execute printf('set syntax=notmuch-%s', a:type) execute printf('set syntax=notmuch-%s', a:type)
let b:nm_type = a:type let b:nm_type = a:type