You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Like many vim programmers I have number and relativenumber on by default so I can see my current absolute line number and then the relative number of lines I can yank/delete/move etc. Sometimes I want to turn line numbering completely off, e.g. copy blocks via the mouse to another app's window, but unfortunately vim-unimpaired does not offer a toggle for this. Doing a yon when you have relativenumber on is pretty useless as the absolute number merely toggles to a 0 so I can't see why anybody would use/want that? So I suggest to change yon (and [on, ]on of course) to toggle both options so that line numbers are / are not displayed. Of course, you would have to keep an internal state to remember the user's starting preference for relativenumber. If this is undesirable or too logically messy then perhaps just add a separate new key, e.g. [oN, ]oN, and yoN to toggle/set both options together.
The text was updated successfully, but these errors were encountered:
Like many vim programmers I have
number
andrelativenumber
on by default so I can see my current absolute line number and then the relative number of lines I can yank/delete/move etc. Sometimes I want to turn line numbering completely off, e.g. copy blocks via the mouse to another app's window, but unfortunately vim-unimpaired does not offer a toggle for this. Doing ayon
when you haverelativenumber
on is pretty useless as the absolute number merely toggles to a 0 so I can't see why anybody would use/want that? So I suggest to changeyon
(and[on
,]on
of course) to toggle both options so that line numbers are / are not displayed. Of course, you would have to keep an internal state to remember the user's starting preference forrelativenumber
. If this is undesirable or too logically messy then perhaps just add a separate new key, e.g.[oN
,]oN
, andyoN
to toggle/set both options together.The text was updated successfully, but these errors were encountered: