Re: Riot

"Steven N. Severinghaus" <sns-/[email protected]>
Newsgroups gmane.comp.window-managers.ion.general
Message-ID <[email protected]>
Tuomo Valkonen said the following on 2008-01-17 09:59:
> Hmm.. maybe vim supports providing this information on the command
> line too? In that case all you'd have to do is set VISUAL for Riot
> to something with the parameter set.

Something along these lines:

export VISUAL="vim +'set filetype=twiki'"

> Or maybe you can configure vim to match against /tmp/riot-* for
> twiki syntax?

Something like this in your ~/.vimrc could work:

autocmd BufRead,BufNewFile /tmp/riot-* setfiletype twiki

Hope that helps,
-Steve

-- 
Steven N. Severinghaus
sns-/[email protected]
http://severinghaus.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.