prepare-code


Ⅰ. 插件描述

:turtle:A generate prepare code plugin for vim

Ⅱ. 基本信息

创建日期:  2018-05-29
使用用户:  12
Github星:  4
插件作者:  chxuan

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

prepare-code: A generate prepare code plugin for vim

安装

  • vim-plug

    Plug 'chxuan/prepare-code'
    
  • Vundle

    Plugin 'chxuan/prepare-code'
    

使用

设置prepare-code插件的路径,读取预定义代码片段需要用到该路径,以下路径根据自己的实际情况进行配置。

let g:prepare_code_plugin_path = expand($HOME . "/.vim/plugged/prepare-code")

特性

目前prepare-code支持以下语言:

  • c/c++
  • python
  • bash
  • Go

License

This software is licensed under the MIT license. © 2018 chxuan

添加新评论