Ⅰ. 插件描述
Vim plugin for the asm2d assembly languageⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'tapichu/asm2d-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'tapichu/asm2d-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'tapichu/asm2d-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/tapichu/asm2d-vim
Ⅳ. 文档说明
# asm2d
asm2d-vim is a lightweight Vim plugin to add syntax highlighting to assembly
files for the asm2d assembler and to
MIF
- It also configures the program used by the
:makecommand.
Visit the site for more information.
Installation and Usage
Using pathogen
cd ~/.vim
mkdir -p bundle && cd bundle
git clone git://github.com/tapichu/asm2d-vim.gitUsing vundle
Add a new bundle to your .vimrc:
Bundle 'tapichu/asm2d-vim'Run vim and update your bundles:
:BundleInstall!Manually
Copy (or symlink) the contents of this repository into the vim application
support directory:
git clone git://github.com/tapichu/asm2d-vim.git
cd asm2d-vim
cp -R * ~/.vimasm2d should appear as a file type and be automatically detected for files
with the .s2d or .asm2d extension.
mif should appear as a file type and be automatically detected for files
with the .mifextension.