Ⅰ. 插件描述
Vim plugin for working with NativeScript projects.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'napcs/vim-nativescript'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'napcs/vim-nativescript'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'napcs/vim-nativescript'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/napcs/vim-nativescript
Ⅳ. 文档说明
# vim-nativescript
Vim plugin for working with NativeScript projects.
Installation
Use Vundle. https://github.com/gmarik/Vundle.vim
Add to your list of bundles with
bundle 'napcs/vim-nativescript'Features
Defines commands to launch emulators from within Vim.
:TNSiosEmulator(or<leader>tnie) launches iPhone simulator:TNSAndroidEmulator(or<leader>tnae) launches default Android emulator
Roadmap
- Support to detect NativeScript projects and only load commands for those projects
- Commands for devices
Contributing
Help wanted. Pull requests welcome. I am learning both NativeScript and VimL and welcome any and all collaboration.
License
See LICENCE file.