Re: silly vi question

  • From: Jared Still <jkstill@xxxxxxxxx>
  • To: Richard Ji <richard.c.ji@xxxxxxxxx>
  • Date: Mon, 15 Nov 2004 19:18:38 +0000

Hey, nice trick. Thanks Richard!


On Mon, 15 Nov 2004 14:10:07 -0500, Richard Ji <richard.c.ji@xxxxxxxxx> wrote:
> VIM support syntax highlight, but you might need to do
> the following if your SQL file has a different extension.
> 
> mkdir -p .vim/ftdetect
> cd .vim/ftdetect/
> vi mine.vim
> more mine.vim
> au BufRead,BufNewFile *.tab     set filetype=sql
> au BufRead,BufNewFile *.ops     set filetype=sql
> au BufRead,BufNewFile *.opb     set filetype=sql
> 
> Richard
> 
> 
> 
> On Sat, 13 Nov 2004 15:51:25 -0800, Jared Still <jkstill@xxxxxxxxx> wrote:
> > http://www.vim.org/scripts/script_search_results.php?keywords=oracle&script_type=&order_by=rating&direction=descending&search=search
> >
> > The latest versions of VIM do just fairly well with SQL by default.
> >
> > HTH
> >
> > Jared
> >
> > On Thu, 11 Nov 2004 21:48:15 -0500, Bob Metelsky
> >
> >
>

-- 
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist
--
//www.freelists.org/webpage/oracle-l

Other related posts: