Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: silly vi question
Hey, nice trick. Thanks Richard!
On Mon, 15 Nov 2004 14:10:07 -0500, Richard Ji <richard.c.ji_at_gmail.com> 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_at_gmail.com> 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 -- http://www.freelists.org/webpage/oracle-lReceived on Mon Nov 15 2004 - 13:24:59 CST
![]() |
![]() |