Saturday, January 2, 2010

Restoring Sessions turns off filetypes

Hi list!

I'm trying to have vim automatically source session files on opening
them.

I save all my session files as .vis and added "autocmd BufRead
*.vis :so %" to my .vimrc file.

When I open the file in vim, it restores the session, but all
filetypes are not set.

I want this to work by double-clicking the find on a mac, so I can't
use vim -S (as far as I know).

Any ideas?

Thanks!

- Sean

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment