On Jul 27, Ray Van Dolson <[EMAIL PROTECTED]> wrote:

> Add the following to your .vimrc:
> 
>   au BufNewFile,BufRead .reminders*   setf remind

Correct, but notice that remind.vim is part of the standard VIM
distribution since many years, and the above command is already
present in the filetype.vim script (likely in the /usr/share/vim/vim70/
or something similar), so it should work out-of-the-box,
provided that you've syntax highlight enabled - S K has already
posted the needed command.

You can also force this syntax for other files (that are not
named .reminders*) in at least two ways:
1. write your own autocmd following the above example and the
   ones in filetype.vim.
2. edit a file, and then run the VIM command: :set filetype=remind


HTH,
-- 
Davide Alberani <[EMAIL PROTECTED]> [PGP KeyID: 0x465BFD47]
http://erlug.linux.it/~da/
_______________________________________________
Remind-fans mailing list
[email protected]
http://lists.whatexit.org/mailman/listinfo/remind-fans

Reply via email to