vim-torch-snipmate


Ⅰ. 插件描述

torch snipmate for Vim

Ⅱ. 基本信息

创建日期:  2015-08-20
使用用户:  6
Github星:  3
插件作者:  Junbo (Jake) Zhao

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# vim-torch-snipmate
torch snipmate for Vim.
This repo mainly provides Torch keywords highlighting and snippets specifically for Torch.

Installation

If you are using Vundle plugin management for Vim, just put in your ~/.vimrc file:


Bundle 'jakezhaojb/vim-torch-snipmate'

And execute ":BundleInstall", then all set!

Usage

For example, you'll no longer need to type "SpatialMaxPooling". Instead, use "sp + <tab>" to get "SpatialMaxPooling" on the screen and further type in the arguments. "<tab>" is used to move from one to another.
Similar features are supported for other operations.

Others

I have lots of other Vim plugins, if you're interested, check out: Jake's dotfile.

TODO

Add more!

添加新评论