grproject.vim


Ⅰ. 插件描述

VIM bindings for GNU Radio modules (OOT and in-tree modules)

Ⅱ. 基本信息

创建日期:  2012-10-29
使用用户:  3
Github星:  6
插件作者:  Martin Braun

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

GNU Radio project utility for VIM

This is a nice plugin that makes the editing of GNU Radio out-of-tree
modules with VIM a lot easier.

What does it do?

  1. Set make paths -- If you call :make, it does the right thing.
  2. Set search paths. You can now use 'gf' on all the includes.
  3. Configure Syntastic. If you're using Syntastic (that's a static syntax
    checker, FYI), it makes sure that knows where includes are etc.

Prerequisites

The only prerequisite (right now) is that your VIM must have Python support,
and gr-modtool must be installed and reachable in your path.
Basically, if you can call gr_modtool.py in your standard shell, you're fine.

Installation (the easy way -- with pathogen and git submodule)

Assuming you're using pathogen (if you're not, you should really, really
check it out) all you have to do is go to copy the grproject dir into
the bundle/ dir of your vim settings.

Something like this:

$ cd ~/.vim
$ git submodule add git@github.com:mbant/grproject.vim.git bundle/grproject
$ git submodule init

That's it.

Using

At this point, it only sets up stuff internally, so all you have to do is
edit your files in your module. The module will spring up automatically and
configure paths etc.

添加新评论