Wednesday, April 10, 2019

Re: plugin for toggeling line numbers

> >vimawsome.com has two variants: `numbers.vim' and `vim-numbertoggle'.
>
> I have number and relativenumber set by default, and I use Pope's vim-unimpaired (https://github.com/tpope/vim-unimpaired) for handy toggling of common settings, including these.

Thanks @Paul for your suggestions and code!

using the one and the other to find out my preferred solution, I noticed
that goyo.vim and switching relative (or better 'hybrid') numbers can cause cluttered output on the screen.

see eg. https://github.com/junegunn/goyo.vim/issues/42 and other issues.

a regular console makes quite a mess in goyo, putting text on the empty
parts of the screen to the left and right, making navigation and knowing
where the cursor is problematic;

the same is in xterm in a GUI environment

in gvim the output is clean

probably I'll have to make settings more specific to the environments I
use, found some remarks of the maker of goyo on using GoyoEnter and
GoyoLeave with `set: <no/plain/relative line numbers> in .vimrc

I'll just have to find out, preferrably for the console and xterm, as
gvim is not my favourite vim-way.

open for suggestions...

//meine

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment