diff options
author | Bart Trojanowski <bart@jukie.net> | 2009-11-25 14:19:35 -0500 |
---|---|---|
committer | Bart Trojanowski <bart@jukie.net> | 2009-11-25 14:19:35 -0500 |
commit | 4c9ddb9ac152df442c6971e4448b0839179a5c66 (patch) | |
tree | 16f549c4c2fdc23c6b27c8f31665118b4027c557 /vim | |
parent | 329f95eb77b3661247a461db2cfe190140864b65 (diff) |
vim: don't use scrolloff/sidesscrolloff in notmuch buffers
Diffstat (limited to 'vim')
-rw-r--r-- | vim/plugin/notmuch.vim | 2 |
1 files changed, 2 insertions, 0 deletions
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 |