Skip to content
프로젝트

소개

하이브리드 줄 번호와 절대 줄 번호를 자동으로 전환합니다

기타 프로젝트

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

numbertoggle

In a buffer with "hybrid" line numbers (:set number relativenumber), numbertoggle switches to absolute line numbers (:set number norelativenumber) automatically when relative numbers don't make sense.

vim-numbertoggle toggles between "hybrid" and absolute line numbers automatically

Relative numbers are used in a buffer that has focus, and is in normal mode, since that's where you move around. They're turned off when you switch out of Vim, switch to another split, or when you go into insert mode.

Installation

Using Vim's package manager:

  1. $ git clone --branch main [email protected]:jeffkreeftmeijer/vim-numbertoggle.git ~/.vim/pack/plugins/start/vim-numbertoggle
  2. :set number

Once help tags are generated, you can view the manual with :help numbertoggle.

tmux

If you use tmux, add set-option -g focus-events on to your tmux config (~/.tmux.conf) (https://github.com/jeffkreeftmeijer/vim-numbertoggle/issues/45).

관련 프로젝트 살펴보기

불러오는 중…