Ⅰ. 插件描述
Kitondro is a Vim plugin that enables to control the cursor's visibilityⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'kocakosm/vim-kitondro'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'kocakosm/vim-kitondro'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'kocakosm/vim-kitondro'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/kocakosm/vim-kitondro
Ⅳ. 文档说明
Vim-kitondro
Kitondro is a Vim plugin that enables to control the cursor's visibility.
Requirements
Kitondro requires a GUI version of Vim. Though it should just work in all GUI
flavors of Vim, it has only been tested with the GTK variants.
Installation
If you don't already have a preferred installation method, I'd highly recommend
vim-plug. See the project's home page for installation and usage instructions.
Usage
RTFM...
TL;DR:
:KitondroHideCursororkitondro#hide_cursor()hides the cursor:KitondroShowCursororkitondro#show_cursor()shows the cursor:KitondroToggleCursororkitondro#toggle_cursor()toggles the cursor's visibilitykitondro#is_cursor_visible()returns whether the cursor is currently visible
FAQ
Q: Is this plugin really useful?<br/>
A: Ahem... Well, no, not really (though I actually happen to use it).
Q: Why 'Kitondro'?<br/>
A: It means 'cursor' in Malagasy.
License
Copyright (c) 2016-2020 Osman Koçak.
Distributed under the terms of the MIT License.
Contact
If you have any question, feel free to send me an e-mail at kocakosm[@]gmail[dot]com.