openroad.vim


Ⅰ. 插件描述

Goodies for OpenROAD users

Ⅱ. 基本信息

创建日期:  2002-07-29
使用用户:  1
Github星:  1
插件作者:  Paul Humphrey

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

Some useful mappings & functions for OpenROAD programmers

1) Shortcut menus for methods, procedures & event blocks  - click on a method/procedure/event name & vim jumps to that section of code.
These functions were based on "incfiles.vim" by Thomas Ramming (much changed, I hasten to add - I have actually done some work here!)

2) Folding - text folds at BEGIN/END blocks - makes long files easier to navigate
  <F3> opens folds, <F4> closes. To turn off this feature, comment out the line "set foldmethod=marker"

3) Help on keywords - place cursor on an openroad keyword then shift-K opens the appropriate part of the openroad help file (need to use pre-4.1 MR help file)

4) command completion - type part of a word, press CTRL-space & Vim will guess the rest. I've taken this from "_vim_wok_visualcpp01.zip" by Wolfram Esser.

It's my first vim script, so I apologise if it seems crude

Paul Humphrey

添加新评论