vim-numbers


Ⅰ. 插件描述

A plugin for intelligently switching between absolute and relative line numbers

Ⅱ. 基本信息

创建日期:  2017-02-08
使用用户:  0
Github星:  0
插件作者:  Zhenhuan Hu

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin '/vim-numbers-hands-off'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle '/vim-numbers-hands-off'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug '/vim-numbers-hands-off'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone 

Ⅳ. 文档说明

This is a fork of the numbers.vim plugin originally developed by Mahdi Yusuf.
The majority of the plugin codes have been rewritten, including bug fixes and
an alternative approach to determine whether a number column is needed.
Manual toggle commands have been removed from the original plugin.

This plugin alternates between relative numbering (relativenumber) and
absolute numbering (number) for the active window depending on the current

  1. Relative numbering is used in Normal mode while absolute numbering is
  2. in Insert mode. In a GUI, it also functions based on whether or not the

app has focus.

Git repository: https://github.com/akanosora/vimfiles/tree/master/bundle/vim-numbers
Original version repository: https://github.com/myusuf3/numbers.vim

添加新评论