projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
329f95e
)
vim: don't use scrolloff/sidesscrolloff in notmuch buffers
author
Bart Trojanowski
<bart@jukie.net>
Wed, 25 Nov 2009 19:19:35 +0000
(14:19 -0500)
committer
Bart Trojanowski
<bart@jukie.net>
Wed, 25 Nov 2009 19:19:35 +0000
(14:19 -0500)
vim/plugin/notmuch.vim
patch
|
blob
|
history
diff --git
a/vim/plugin/notmuch.vim
b/vim/plugin/notmuch.vim
index b6bc6120f301aaf9a4ca211427da57c3d5f49a96..b4eeb416ce608ad58b31883639d1f8a03bd76141 100644
(file)
--- 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