On Tue, Oct 30, 2001 at 09:59:50AM +0100, Morten Liebach wrote:
> In VIM 6.0 use $VIM/ftplugin/mail.vim to make these settings,
> and use "setlocal" instead of "set", e.g. (a mix of my own
> stuff and your settings):
Thanks. In meantime I found this solution, which at least seems
to work. I have in my ~/.vimrc this (I have added the second
autocmd line):
if has("autocmd")
filetype plugin indent on
autocmd FileType text setlocal textwidth=65
autocmd FileType mail setlocal textwidth=65
autocmd BufReadPost *
\ if line("'\"") > 0 && line("'\"") <= line("$") |
\ exe "normal g`\"" |
\ endif
endif " has("autocmd")
Hopefully, it is gonna to work. However, thanks for your help.
Matej
--
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
They that can give up essential liberty to obtain a little
temporary safety deserve neither liberty nor safety.
-- Benjamin Franklin, Historical Review
of Pennsylvania, 1759.