Skip to content

Commit 8e9fcc4

Browse files
Yuri Klubakovvim-scripts
authored andcommitted
Version 1.06
- Added more "doautoall" commands when session is opened (thanks to Marcin Szamotulski) - Turned off spell checking in session list window.
1 parent 923a0a5 commit 8e9fcc4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

plugin/sessionman.vim

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
" Copyright (c) Yuri Klubakov
66
"
77
" Author: Yuri Klubakov <yuri.mlists at gmail dot com>
8-
" Version: 1.05 (2011-05-05)
8+
" Version: 1.06 (2011-05-06)
99
" Requires: Vim 6
1010
" License: GPL
1111
"
@@ -119,6 +119,10 @@ function! s:OpenSession(name)
119119
finally
120120
set eventignore=
121121
doautoall BufRead
122+
doautoall FileType
123+
doautoall BufEnter
124+
doautoall BufWinEnter
125+
doautoall TabEnter
122126
doautoall SessionLoadPost
123127
endtry
124128
if has('cscope')
@@ -226,6 +230,7 @@ function! s:ListSessions()
226230
0,1d
227231
execute l
228232
setlocal nomodifiable
233+
setlocal nospell
229234
endfunction
230235

231236
"============================================================================"

0 commit comments

Comments
 (0)