Ⅰ. 插件描述
Vim syntax and plugin files for NuⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'itfrombit/nuvim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'itfrombit/nuvim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'itfrombit/nuvim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/itfrombit/nuvim
Ⅳ. 文档说明
DESCRIPTION:
Vim Syntax and Plugin files for Nu.
The Nu syntax file provides basic syntax highlighting.
The Nu plugin provides two features within Vim:
- Reindents Nu code via nubile.
- Integrates Nu with screen.
These features are mapped to the following keystrokes:
<C-c><C-c> : Send current scope or selection to screen
<C-c>f : Send entire file to screen
<C-c>c : Connect to a different screen session
<C-c>n : Reindent Nu file
More details on the plugin functionality are in the
comments at the top of the plugin nu.vim file.
INSTALLATION:
Place these files in either your ~/.vim directory
or (on Mac OS X) in /usr/share/vim/...
Put a line like this in your ~/.vimrc file:
au BufNewFile,BufRead .nu,.nujson,Nukefile setf nu