Ⅰ. 插件描述
Vim utilities for plain textⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'pedsm/vim-paragraph'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'pedsm/vim-paragraph'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'pedsm/vim-paragraph'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/pedsm/vim-paragraph
Ⅳ. 文档说明
# vim-paragraph
A simple paragraph for working with text files, this allows for hard word wrapping ideal for working with Latex and Markdown files
Functionality
Vim now uses visual jk which means j and k will move only one visual line instead of a whole file line. This is useful while writing plain text as vim treats paragraphs as a single long line. Vim paragraph also allows for quick hard line wrapping with one function and quick hjkl navigation inside insert mode. Vim's defautl spell checker is also default for certain file extensions.
Ctrl-hjkl
While on insert mode vim-paragraph allows you to use the famous hjkl without leaving insert mode while holding Ctrl. Never reach for those arrow keys again.