This PR make showcmd
on by default when using vim.
https://github.com/vim/vim/pull/16149
(3 files)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
In os_unix.txt
there is:
For historic reasons terminal updating under Unix is expected to be slow (e.g.
serial line terminal, shell window in suntools), the 'showcmd' and 'ruler'
options are off by default. If you have a fast terminal, try setting them
on: >
set showcmd ruler
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
Making the "showcmd" option set as the default is not backward compatible. For example, I have a .vimrc file, so the defaults.vim
file is not used. In my case, now "showcmd" will be enabled by default and I need to explicitly disable it in the .vimrc file.
I don't like these recent changes to move the settings from defaults.vim file to the Vim core (this is going to surprise a lot of
long-time Vim users).
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
My idea was to gradually promote settings that Bram thought to be defaults back to the C core to simplify defaults.vim
. My intentions was to keep settings behind some if conditions inside defaults.vim
but migrate other settings to the C core, since I did not hear any complaints when they were enabled with defaults.vim. Perhaps we should not touch showcmd ruler
and possibly scrolloff
then. I don't intend to touch the mouse setting, that was too controversial anyhow, but at least ttytimeout
may make sense I think.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
My main idea is to retire defaults.vim
entirely in favor of a more user friendly on boarding.
To my understanding, defaults.vim
was born from the desire to make the defaults more "sensible" but without changing settings of long time users. Unfortunately the current solution is really confusing for new users and can be annoying to some.
My plan is:
vimrc_example
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
Closed #16149.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
Alright, it seems we cannot really touch/update any defaults at all, there is too much resistance to change it. So far we have only touched 'history' (increased to 200 for both compatible and non-compatible mode) and updated 'backspace' (to include 'indent,eol,start' in non-compatible mode), both of which seem clear (UX-) enhancements.
But I'll refrain from touching any defaults ... ever again. So we will have to live with the half-broken defaults.vim 🤷
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.
But I'll refrain from touching any defaults ... ever again. So we will have to live with the half-broken defaults.vim 🤷
It really sucks but it is what it is...
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.
So we will have to live with the half-broken defaults.vim
Or we can make a decision to break vim compat for a greater good -- just remove defaults.vim at all.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you commented.
@chrisbra choosing defaults is always contentious. Please don't take criticism personally. FWIW, I too think the half-broken defaults.vim needs to be fixed.
It could simply be removed. It could be moved to vimrc_example. That would essentially take us back to vim7.
Or the defaults.vim options could be moved to the c core and set/unset as a group by introducing a new Boolean option, say vim8_defaults.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you commented.