vimrc.tcl


Ⅰ. 插件描述

Adds a SQLWorksheet type interface to Oracle SQL*Plus

Ⅱ. 基本信息

创建日期:  2001-07-13
使用用户:  1
Github星:  1
插件作者:  Jeremy Collins

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin '/vimrc-tcl'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle '/vimrc-tcl'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug '/vimrc-tcl'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/vim-scripts/vimrc.tcl

Ⅳ. 文档说明

This small hack requires Tcl to be compiled into your
copy of Vim.

The default settings will allow this hack to work on
the default SQL*Plus temp file, afiedt.buf, only.

To use simply highlight the query you would like to
run and press Enter.  You should drop back down to
SQL*Plus.  Do the usual '/' and your good to go.

Have not tried this hack with PL/SQL or multiple
Query's but I cannot see why it won't work, or why it
would for that matter.

BUGS

1) :wq causes an error message about writing the file.
   Safe to ignore but would be nice to get rid of this.

2) No checks to make sure you have highlighted a valid
   Query.  Hence all hell breaks loose if you don't.

3) You HAVE to have a trailing ';' on your Query for
   this hack to work.  Would be nice if you didn't have
   to have that.  Would also be nice if you could run
   a group of statements.

添加新评论