Smart Home Key


Ⅰ. 插件描述

smarthomekey.vim (Formerly crazyhomekey.vim)

Ⅱ. 基本信息

创建日期:  2009-09-04
使用用户:  3
Github星:  1
插件作者:  Kent Chen

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'chenkaie/smart-home-key-come-back-be-here'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'chenkaie/smart-home-key-come-back-be-here'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'chenkaie/smart-home-key-come-back-be-here'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/chenkaie/smarthomekey.vim

Ⅳ. 文档说明

smarthomekey.vim (Formerly crazyhomekey.vim)

Vim Script

http://www.vim.org/scripts/script.php?script_id=2772

Description

Trigger <Home> key arbitrarily in vim or follow below steps:

  • Normal mode

    1. Press <Home> key in the middle of a line
    2. Press <Home> key again
  • Insert mode

    1. do the same as above. It works well :)

Take a look at demo film : http://vimeo.com/6433112

GitHub

https://github.com/chenkaie/smarthomekey.vim

Install Details

Place in ~/.vim/plugin (to load at start up)

添加新评论