Re: Changing the defaults with Vim 8

2017-11-11 Fir de Conversatie Bram Moolenaar
Keven Lyda wrote: > On Sunday, July 24, 2016 at 2:03:06 PM UTC+1, Bram Moolenaar wrote: > > Vim has always been conservative about the default option values. > > Without any .vimrc the default is 'compatible'. That's nice for people > > who rely on the old Vi. But how many of these still exist?

Re: Changing the defaults with Vim 8

2017-11-10 Fir de Conversatie Tony Mechelynck
For me nothing changed. My vimrc used to source the vimrc_example.vim, it still does, but now vimrc_example.vim just sources the defaults.vim, which contains what used to be in the vimrc_example.vim. No sweat. About system vimrc files, I hate them: in my experience they contain the misguided and u

Re: Changing the defaults with Vim 8

2017-11-10 Fir de Conversatie Christian Brabandt
On Fr, 10 Nov 2017, Kevin Lyda wrote: > On Sunday, July 24, 2016 at 2:03:06 PM UTC+1, Bram Moolenaar wrote: > > Vim has always been conservative about the default option values. > > Without any .vimrc the default is 'compatible'. That's nice for people > > who rely on the old Vi. But how many o

Re: Changing the defaults with Vim 8

2017-11-10 Fir de Conversatie Kevin Lyda
On Sunday, July 24, 2016 at 2:03:06 PM UTC+1, Bram Moolenaar wrote: > Vim has always been conservative about the default option values. > Without any .vimrc the default is 'compatible'. That's nice for people > who rely on the old Vi. But how many of these still exist? I expect > nearly all Vim

Re: Changing the defaults with Vim 8

2016-08-21 Fir de Conversatie h_east
Hi Michael, 2016-8-21(Sun) 21:58:54 UTC+9 Michael Henry: > On 08/20/2016 01:22 PM, Bram Moolenaar wrote: > > Hirohito Higashi wrote: > >> `set ttimeoutlen=0` will solve the above. > >> > >> I have invested in above setting more than a year, but the > >> trouble does not happen even once. > > > > Z

Re: Changing the defaults with Vim 8

2016-08-21 Fir de Conversatie Michael Henry
On 08/20/2016 01:22 PM, Bram Moolenaar wrote: > Hirohito Higashi wrote: >> `set ttimeoutlen=0` will solve the above. >> >> I have invested in above setting more than a year, but the >> trouble does not happen even once. > > Zero only works when you are directly using a terminal. When > using a rem

Re: Changing the defaults with Vim 8

2016-08-20 Fir de Conversatie Bram Moolenaar
Hirohito Higashi wrote: > Sorry for late reply :-) > > I want to add the following setting: > > " If Vim cause malfunctioning cursor keys on slow terminals or very busy > systems, adjust the value or comment out this. > set ttimeoutlen=0 > > 'ttimeoutlen' default value is -1. > This means

Re: Changing the defaults with Vim 8

2016-08-20 Fir de Conversatie h_east
Hi Bram and list, 2016-7-24(Sun) 22:03:06 UTC+9 Bram Moolenaar: > Vim has always been conservative about the default option values. > Without any .vimrc the default is 'compatible'. That's nice for people > who rely on the old Vi. But how many of these still exist? I expect > nearly all Vim use

Re: Changing the defaults with Vim 8

2016-07-28 Fir de Conversatie Tony Mechelynck
"map Q gq" has long been part of the vimrc_example.vim. Now it is moved to defaults.vim which vimrc_example.vim sources. So if you have a vimrc you won't be affected, even if your own vimrc sources the vimrc_example.vim, because in that case you already had it and will keep it. If, like me, you don

Re: Changing the defaults with Vim 8

2016-07-28 Fir de Conversatie Martin Lundberg
On Thursday, July 28, 2016 at 4:32:31 PM UTC+2, ZyX wrote: > You can’t. “At the same time” may mean both “ pressed slightly > after pressed slightly before press after is in par with `Q`: `g` and `q` use different fingers and they need to > be pressed in specific sequence as well. `Q` may actua

Re: Changing the defaults with Vim 8

2016-07-28 Fir de Conversatie Bram Moolenaar
I wrote: [...] > Another solution: When there is a .vimrc, then don't load startup.vim. > Rely on the user already have his preferences in the .vimrc. > Thus only apply these better defaults when the user doesn't have his own > settings. Ah, I see Ben also had this idea. > > The more I think a

Re: Changing the defaults with Vim 8

2016-07-28 Fir de Conversatie Nikolay Aleksandrovich Pavlov
2016-07-28 16:58 GMT+03:00 Bram Moolenaar : > > Martin Lundberg wrote: > >> On Tuesday, July 26, 2016 at 11:18:01 PM UTC+2, Bram Moolenaar wrote: >> > " Don't use Ex mode, use Q for formatting >> > map Q gq >> >> What's the reason for doing this change when the new mapping has just >> as much key p

Re: Changing the defaults with Vim 8

2016-07-28 Fir de Conversatie Bram Moolenaar
Martin Lundberg wrote: > On Tuesday, July 26, 2016 at 11:18:01 PM UTC+2, Bram Moolenaar wrote: > > " Don't use Ex mode, use Q for formatting > > map Q gq > > What's the reason for doing this change when the new mapping has just > as much key presses? For me it actually feels like it's slower tha

Re: Changing the defaults with Vim 8

2016-07-28 Fir de Conversatie Martin Lundberg
On Tuesday, July 26, 2016 at 11:18:01 PM UTC+2, Bram Moolenaar wrote: > " Don't use Ex mode, use Q for formatting > map Q gq What's the reason for doing this change when the new mapping has just as much key presses? For me it actually feels like it's slower than gq since I need to involve and mo

Re: Changing the defaults with Vim 8

2016-07-28 Fir de Conversatie Tony Mechelynck
On Wed, Jul 27, 2016 at 9:09 PM, Bram Moolenaar wrote: > > Gary Johnson wrote: > >> [...] >> >> Not all of those would be my preference, but they seem reasonable, >> and as long as all of that is in a file and the compile-time >> defaults aren't changed, I'm fine with it. >> >> I was surprised by

Re: Changing the defaults with Vim 8

2016-07-27 Fir de Conversatie Manuel Ortega
On Wed, Jul 27, 2016 at 1:31 PM, Kazunobu Kuriyama < kazunobu.kuriy...@gmail.com> wrote: > > It may be true that setting go+=M will reduce memory usage and make > startup faster. But I would say the benefit gained by doing that is quite > marginal. > It makes a noticeable difference to me. That

Re: Changing the defaults with Vim 8

2016-07-27 Fir de Conversatie Bram Moolenaar
Gary Johnson wrote: > [...] > > Not all of those would be my preference, but they seem reasonable, > and as long as all of that is in a file and the compile-time > defaults aren't changed, I'm fine with it. > > I was surprised by this: > > > " For Win32 GUI: remove 't' flag from 'guioptions':

Re: Changing the defaults with Vim 8

2016-07-27 Fir de Conversatie Bram Moolenaar
Manuel Ortega wrote: > On Wed, Jul 27, 2016 at 2:51 AM, Manuel Ortega > wrote: > > > On Tue, Jul 26, 2016 at 5:17 PM, Bram Moolenaar > > wrote: > > > >> > >> > >> " Switch syntax highlighting on when the terminal has colors or when > >> using the > >> " GUI (which always has colors). > >> if &

Re: Changing the defaults with Vim 8

2016-07-27 Fir de Conversatie Manuel Ortega
Perhaps another way to fix this would be if the user could have a ~/.vim/menu.vim that is treated like ~/.vim/filetype.vim is treated. I.e., that Vim will load the ~/.vim/menu.vim before it loads $VIMRUNTIME/menu.vim. That way, a user could in his own ~/.vim/menu.vim set some variables that will

Re: Changing the defaults with Vim 8

2016-07-27 Fir de Conversatie Manuel Ortega
On Wed, Jul 27, 2016 at 1:47 PM, Gary Johnson wrote: > On 2016-07-27, Manuel Ortega wrote: > > On Wed, Jul 27, 2016 at 12:26 PM, Gary Johnson wrote: > > > > On 2016-07-27, Manuel Ortega wrote: > > > > > What if "syntax on" and "filetype plugin indent on" were moved > into the > > auto

Re: Changing the defaults with Vim 8

2016-07-27 Fir de Conversatie Tony Mechelynck
On Wed, Jul 27, 2016 at 7:47 PM, Gary Johnson wrote: > On 2016-07-27, Manuel Ortega wrote: >> On Wed, Jul 27, 2016 at 12:26 PM, Gary Johnson wrote: >> >> On 2016-07-27, Manuel Ortega wrote: >> >> > What if "syntax on" and "filetype plugin indent on" were moved into the >> autocmd >>

Re: Changing the defaults with Vim 8

2016-07-27 Fir de Conversatie Tony Mechelynck
On Wed, Jul 27, 2016 at 8:00 PM, Gary Johnson wrote: > On 2016-07-27, Tony Mechelynck wrote: >> On Wed, Jul 27, 2016 at 4:43 PM, Gary Johnson wrote: >> > On 2016-07-27, Manuel Ortega wrote: >> > >> >> If "syntax on" is in the system vimrc as proposed, then I can't seem to >> >> find >> >> any way

Re: Changing the defaults with Vim 8

2016-07-27 Fir de Conversatie Gary Johnson
On 2016-07-27, Tony Mechelynck wrote: > On Wed, Jul 27, 2016 at 4:43 PM, Gary Johnson wrote: > > On 2016-07-27, Manuel Ortega wrote: > > > >> If "syntax on" is in the system vimrc as proposed, then I can't seem to > >> find > >> any way *at all* to disable the loading of the system menu.vim (short

Re: Changing the defaults with Vim 8

2016-07-27 Fir de Conversatie Gary Johnson
On 2016-07-27, Manuel Ortega wrote: > On Wed, Jul 27, 2016 at 12:26 PM, Gary Johnson wrote: > > On 2016-07-27, Manuel Ortega wrote: > > > What if "syntax on" and "filetype plugin indent on" were moved into the > autocmd > > group "vimStartup" that the proposed system vimrc defines

Re: Changing the defaults with Vim 8

2016-07-27 Fir de Conversatie Tony Mechelynck
On Wed, Jul 27, 2016 at 4:43 PM, Gary Johnson wrote: > On 2016-07-27, Manuel Ortega wrote: > >> If "syntax on" is in the system vimrc as proposed, then I can't seem to find >> any way *at all* to disable the loading of the system menu.vim (short of >> unacceptable hacks like bash-aliasing 'vim' to

Re: Changing the defaults with Vim 8

2016-07-27 Fir de Conversatie Kazunobu Kuriyama
2016-07-28 1:04 GMT+09:00 Manuel Ortega : > On Wed, Jul 27, 2016 at 11:40 AM, Manuel Ortega > wrote: > >> >>> I agree that "syntax on" and "filetype on" (maybe even "filetype plugin >>> indent on") are pretty core features that should probably be enabled by >>> default, as nearly everyone will us

Re: Changing the defaults with Vim 8

2016-07-27 Fir de Conversatie Manuel Ortega
On Wed, Jul 27, 2016 at 12:26 PM, Gary Johnson wrote: > On 2016-07-27, Manuel Ortega wrote: > > > What if "syntax on" and "filetype plugin indent on" were moved into the > autocmd > > group "vimStartup" that the proposed system vimrc defines, under VimEnter > > autocmds: > > > > au VimEnter * syn

Re: Changing the defaults with Vim 8

2016-07-27 Fir de Conversatie Gary Johnson
On 2016-07-27, Manuel Ortega wrote: > What if "syntax on" and "filetype plugin indent on" were moved into the > autocmd > group "vimStartup" that the proposed system vimrc defines, under VimEnter > autocmds: > > au VimEnter * syntax on > au VimEnter * filetype plugin on > > This way, everyone w

Re: Changing the defaults with Vim 8

2016-07-27 Fir de Conversatie Manuel Ortega
On Wed, Jul 27, 2016 at 11:40 AM, Manuel Ortega wrote: > >> I agree that "syntax on" and "filetype on" (maybe even "filetype plugin >> indent on") are pretty core features that should probably be enabled by >> default, as nearly everyone will use them. >> > > >> However, I disagree that this shou

Re: Changing the defaults with Vim 8

2016-07-27 Fir de Conversatie Manuel Ortega
On Wed, Jul 27, 2016 at 10:45 AM, Ben Fritz wrote: > On Wednesday, July 27, 2016 at 5:20:14 AM UTC-5, Kazunobu Kuriyama wrote: > > 2016-07-27 17:01 GMT+09:00 Manuel Ortega : > > > > > If "syntax on" is in the system vimrc as proposed, then I can't seem > > > to find any way *at all* to disable th

Re: Changing the defaults with Vim 8

2016-07-27 Fir de Conversatie Manuel Ortega
On Wed, Jul 27, 2016 at 10:43 AM, Gary Johnson wrote: > On 2016-07-27, Manuel Ortega wrote: > > > If "syntax on" is in the system vimrc as proposed, then I can't seem to > find > > any way *at all* to disable the loading of the system menu.vim (short of > > unacceptable hacks like bash-aliasing '

Re: Changing the defaults with Vim 8

2016-07-27 Fir de Conversatie Manuel Ortega
On Wed, Jul 27, 2016 at 6:20 AM, Kazunobu Kuriyama < kazunobu.kuriy...@gmail.com> wrote: > 2016-07-27 17:01 GMT+09:00 Manuel Ortega : > >> On Wed, Jul 27, 2016 at 3:51 AM, Manuel Ortega >> wrote: >> >>> On Wed, Jul 27, 2016 at 2:51 AM, Manuel Ortega >>> wrote: >>> On Tue, Jul 26, 2016 at 5:

Re: Changing the defaults with Vim 8

2016-07-27 Fir de Conversatie Ben Fritz
On Wednesday, July 27, 2016 at 9:45:11 AM UTC-5, Ben Fritz wrote: > > What if the default settings were not applied, if the user has specified > a .vimrc? ...or maybe a new file sourced before the default settings? The default settings file itself could source it, if it exists. -- -- You rece

Re: Changing the defaults with Vim 8

2016-07-27 Fir de Conversatie Ben Fritz
On Wednesday, July 27, 2016 at 5:20:14 AM UTC-5, Kazunobu Kuriyama wrote: > 2016-07-27 17:01 GMT+09:00 Manuel Ortega : > > > If "syntax on" is in the system vimrc as proposed, then I can't seem > > to find any way *at all* to disable the loading of the system > > menu.vim (short of unacceptable ha

Re: Changing the defaults with Vim 8

2016-07-27 Fir de Conversatie Gary Johnson
On 2016-07-27, Manuel Ortega wrote: > If "syntax on" is in the system vimrc as proposed, then I can't seem to find > any way *at all* to disable the loading of the system menu.vim (short of > unacceptable hacks like bash-aliasing 'vim' to 'vim -u ~/.vimrc'.) How about "sudo rm /usr/share/vim/vimr

Re: Changing the defaults with Vim 8

2016-07-27 Fir de Conversatie Christian Brabandt
Hi James! On Mi, 27 Jul 2016, James McCoy wrote: > I'd wager it's more than you think. I know many people that change gvim to > basically look like console vim. Personally, I set 'guioptions' to just > "cM". I do as well, but then I do not use vimrc_example. And that file should be an example f

Re: Changing the defaults with Vim 8

2016-07-27 Fir de Conversatie James McCoy
On Jul 27, 2016 6:20 AM, "Kazunobu Kuriyama" wrote: > > 2016-07-27 17:01 GMT+09:00 Manuel Ortega : >> If "syntax on" is in the system vimrc as proposed, then I can't seem to find any way *at all* to disable the loading of the system menu.vim (short of unacceptable hacks like bash-aliasing 'vim' to

Re: Changing the defaults with Vim 8

2016-07-27 Fir de Conversatie Kazunobu Kuriyama
2016-07-27 17:01 GMT+09:00 Manuel Ortega : > On Wed, Jul 27, 2016 at 3:51 AM, Manuel Ortega > wrote: > >> On Wed, Jul 27, 2016 at 2:51 AM, Manuel Ortega >> wrote: >> >>> On Tue, Jul 26, 2016 at 5:17 PM, Bram Moolenaar >>> wrote: >>> " Switch syntax highlighting on when the termin

Re: Changing the defaults with Vim 8

2016-07-27 Fir de Conversatie Manuel Ortega
On Wed, Jul 27, 2016 at 3:51 AM, Manuel Ortega wrote: > On Wed, Jul 27, 2016 at 2:51 AM, Manuel Ortega > wrote: > >> On Tue, Jul 26, 2016 at 5:17 PM, Bram Moolenaar >> wrote: >> >>> >>> >>> " Switch syntax highlighting on when the terminal has colors or when >>> using the >>> " GUI (which alway

Re: Changing the defaults with Vim 8

2016-07-27 Fir de Conversatie Manuel Ortega
On Wed, Jul 27, 2016 at 2:51 AM, Manuel Ortega wrote: > On Tue, Jul 26, 2016 at 5:17 PM, Bram Moolenaar > wrote: > >> >> >> " Switch syntax highlighting on when the terminal has colors or when >> using the >> " GUI (which always has colors). >> if &t_Co > 2 || has("gui_running") >> syntax on >

Re: Changing the defaults with Vim 8

2016-07-26 Fir de Conversatie Manuel Ortega
On Tue, Jul 26, 2016 at 5:17 PM, Bram Moolenaar wrote: > > > " Switch syntax highlighting on when the terminal has colors or when using > the > " GUI (which always has colors). > if &t_Co > 2 || has("gui_running") > syntax on > Wait a sec. If "syntax on" is done here, then won't it be impossi

Re: Changing the defaults with Vim 8

2016-07-26 Fir de Conversatie Manuel Ortega
On Tue, Jul 26, 2016 at 5:17 PM, Bram Moolenaar wrote: > > " Only do this part when compiled with support for autocommands. > if has("autocmd") > > " Enable file type detection. > " Use the default filetype settings, so that mail gets 'tw' set to 72, > " 'cindent' is on in C files, etc. >

Re: Changing the defaults with Vim 8

2016-07-26 Fir de Conversatie Gary Johnson
On 2016-07-26, Bram Moolenaar wrote: > Gary Johnson wrote: > > > On 2016-07-26, Bram Moolenaar wrote: > > > James McCoy wrote: > > > > > > > On Mon, Jul 25, 2016 at 07:39:55AM -0700, Ben Fritz wrote: > > > > > On Sunday, July 24, 2016 at 8:03:06 AM UTC-5, Bram Moolenaar wrote: > > > > > > > > >

Re: Changing the defaults with Vim 8

2016-07-26 Fir de Conversatie Bram Moolenaar
Gary Johnson wrote: > On 2016-07-26, Bram Moolenaar wrote: > > James McCoy wrote: > > > > > On Mon, Jul 25, 2016 at 07:39:55AM -0700, Ben Fritz wrote: > > > > On Sunday, July 24, 2016 at 8:03:06 AM UTC-5, Bram Moolenaar wrote: > > > > > > > > > > if has("autocmd") > > > > > " Enable file

Re: Changing the defaults with Vim 8

2016-07-26 Fir de Conversatie Gary Johnson
On 2016-07-26, Bram Moolenaar wrote: > James McCoy wrote: > > > On Mon, Jul 25, 2016 at 07:39:55AM -0700, Ben Fritz wrote: > > > On Sunday, July 24, 2016 at 8:03:06 AM UTC-5, Bram Moolenaar wrote: > > > > > > > > if has("autocmd") > > > > " Enable file type detection. > > > > filetype p

Re: Changing the defaults with Vim 8

2016-07-26 Fir de Conversatie Bram Moolenaar
James McCoy wrote: > On Mon, Jul 25, 2016 at 07:39:55AM -0700, Ben Fritz wrote: > > On Sunday, July 24, 2016 at 8:03:06 AM UTC-5, Bram Moolenaar wrote: > > > > > > if has("autocmd") > > > " Enable file type detection. > > > filetype plugin indent on > > > > > > > Don't common plugi

Re: Changing the defaults with Vim 8

2016-07-26 Fir de Conversatie Erik Falor
On Mon, Jul 25, 2016 at 07:37:46AM -0700, Ben Fritz wrote: > If one were to change anything for ease-of-use for new users, it wouldn't be > 'hidden', it would be 'confirm', so that Vim becomes consistent with many > other programs which don't just refuse to quit when you have unsaved changes, >

Re: Changing the defaults with Vim 8

2016-07-26 Fir de Conversatie Bram Moolenaar
Tony Mechelynck wrote: > On Mon, Jul 25, 2016 at 10:10 PM, Christian Brabandt > wrote: > > Hi Bram! > > > > On So, 24 Jul 2016, Bram Moolenaar wrote: > > > >> > please no hlsearch. That is most often annoying. > >> > >> Well, I find it useful. But I suppose that's more a personal > >> preferen

Re: Changing the defaults with Vim 8

2016-07-25 Fir de Conversatie Thomas Köhler
Hi Bram, On Sun, Jul 24, 2016 at 03:02:56PM +0200, Bram Moolenaar wrote: > Vim has always been conservative about the default option values. And that is actually a very good thing. As I work as a consultant, and the systems the customers use have a wide variety of Linux distributions of varyin

Re: Changing the defaults with Vim 8

2016-07-25 Fir de Conversatie Tony Mechelynck
On Tue, Jul 26, 2016 at 5:03 AM, Matthew Winn wrote: > On 24/07/16 20:43, Bram Moolenaar wrote: >> >> Christian Brabandt wrote: >>> >>> please no hlsearch. That is most often annoying. >> >> Well, I find it useful. But I suppose that's more a personal >> preference. > > Searching for a pattern is

Re: Changing the defaults with Vim 8

2016-07-25 Fir de Conversatie Matthew Winn
On 24/07/16 20:43, Bram Moolenaar wrote: Christian Brabandt wrote: please no hlsearch. That is most often annoying. Well, I find it useful. But I suppose that's more a personal preference. Searching for a pattern is a fundamentally different operation from highlighting matches of a pattern. I

Re: Changing the defaults with Vim 8

2016-07-25 Fir de Conversatie Gary Johnson
On 2016-07-26, Tony Mechelynck wrote: > On Tue, Jul 26, 2016 at 12:10 AM, Tumbler Terrall > wrote: > > On Monday, July 25, 2016 at 3:11:11 PM UTC-5, Christian Brabandt wrote: > >> Hi Bram! > >> > >> On So, 24 Jul 2016, Bram Moolenaar wrote: > >> > >> > > please no hlsearch. That is most often anno

Re: Changing the defaults with Vim 8

2016-07-25 Fir de Conversatie Tony Mechelynck
On Mon, Jul 25, 2016 at 10:00 PM, Bram Moolenaar wrote: > > Hirohito Higashi wrote: > >> I think it is better to change the default value of Vim body for some >> of the options. >> >> i.e. >> set wildmenu >> set ruler >> set showcmd >> set tags=./tags;,tags; >> etc... >> >> Obviously useful things

Re: Changing the defaults with Vim 8

2016-07-25 Fir de Conversatie Tumbler Terrall
On Monday, July 25, 2016 at 3:11:11 PM UTC-5, Christian Brabandt wrote: > Hi Bram! > > On So, 24 Jul 2016, Bram Moolenaar wrote: > > > > please no hlsearch. That is most often annoying. > > > > Well, I find it useful. But I suppose that's more a personal > > preference. > > perhaps, if we made

Re: Changing the defaults with Vim 8

2016-07-25 Fir de Conversatie James McCoy
On Mon, Jul 25, 2016 at 07:39:55AM -0700, Ben Fritz wrote: > On Sunday, July 24, 2016 at 8:03:06 AM UTC-5, Bram Moolenaar wrote: > > > > if has("autocmd") > > " Enable file type detection. > > filetype plugin indent on > > > > Don't common plugin managers require you to turn on filet

Re: Changing the defaults with Vim 8

2016-07-25 Fir de Conversatie Tony Mechelynck
On Tue, Jul 26, 2016 at 12:10 AM, Tumbler Terrall wrote: > On Monday, July 25, 2016 at 3:11:11 PM UTC-5, Christian Brabandt wrote: >> Hi Bram! >> >> On So, 24 Jul 2016, Bram Moolenaar wrote: >> >> > > please no hlsearch. That is most often annoying. >> > >> > Well, I find it useful. But I suppose

Re: Changing the defaults with Vim 8

2016-07-25 Fir de Conversatie Tony Mechelynck
On Mon, Jul 25, 2016 at 10:10 PM, Christian Brabandt wrote: > Hi Bram! > > On So, 24 Jul 2016, Bram Moolenaar wrote: > >> > please no hlsearch. That is most often annoying. >> >> Well, I find it useful. But I suppose that's more a personal >> preference. > > perhaps, if we made ctrl-l clear the s

Re: Changing the defaults with Vim 8

2016-07-25 Fir de Conversatie Manuel Ortega
On Mon, Jul 25, 2016 at 4:00 PM, Bram Moolenaar wrote: > > Hirohito Higashi wrote: > > > I think it is better to change the default value of Vim body for some > > of the options. > > > > i.e. > > set wildmenu > > set ruler > > set showcmd > > set tags=./tags;,tags; > > etc... > > > > Obviously us

Re: Changing the defaults with Vim 8

2016-07-25 Fir de Conversatie Charles E Campbell
Christian Brabandt wrote: > Hi Bram! > > On So, 24 Jul 2016, Bram Moolenaar wrote: > >>> please no hlsearch. That is most often annoying. >> Well, I find it useful. But I suppose that's more a personal >> preference. > perhaps, if we made ctrl-l clear the search highlighting by default? > >>> some

Re: Changing the defaults with Vim 8

2016-07-25 Fir de Conversatie Christian Brabandt
Hi Bram! On So, 24 Jul 2016, Bram Moolenaar wrote: > > please no hlsearch. That is most often annoying. > > Well, I find it useful. But I suppose that's more a personal > preference. perhaps, if we made ctrl-l clear the search highlighting by default? > > some more I would set, the mentioned

Re: Changing the defaults with Vim 8

2016-07-25 Fir de Conversatie Bram Moolenaar
Hirohito Higashi wrote: > I think it is better to change the default value of Vim body for some > of the options. > > i.e. > set wildmenu > set ruler > set showcmd > set tags=./tags;,tags; > etc... > > Obviously useful things should be changed. A few people have mentioned setting 'wildmenu'.

Re: Changing the defaults with Vim 8

2016-07-25 Fir de Conversatie Tony Mechelynck
On Mon, Jul 25, 2016 at 8:03 PM, Charles E Campbell wrote: +>> set langnoremap >> endif > > I had to look this one up as I've never had cause to use it. Easily > reversed, so I'm neutral on this one. >> >> >> Probably not: >> >> " these two leave files behind >> set backup >> set undo

Re: Changing the defaults with Vim 8

2016-07-25 Fir de Conversatie Charles E Campbell
Bram Moolenaar wrote: > Vim has always been conservative about the default option values. > Without any .vimrc the default is 'compatible'. That's nice for people > who rely on the old Vi. But how many of these still exist? I expect > nearly all Vim users to want 'nocompatible', thus create a .v

Re: Changing the defaults with Vim 8

2016-07-25 Fir de Conversatie Tony Mechelynck
On Mon, Jul 25, 2016 at 4:39 PM, Ben Fritz wrote: > On Sunday, July 24, 2016 at 8:03:06 AM UTC-5, Bram Moolenaar wrote: >> >> if has("autocmd") >> " Enable file type detection. >> filetype plugin indent on >> > > Don't common plugin managers require you to turn on filetype stuff at a ver

Re: Changing the defaults with Vim 8

2016-07-25 Fir de Conversatie h_east
Hi Bram and All, I think it is better to change the default value of Vim body for some of the options. i.e. set wildmenu set ruler set showcmd set tags=./tags;,tags; etc... Obviously useful things should be changed. Thanks. -- Best regards, Hirohito Higashi (a.k.a. h_east) -- -- You receive

Re: Changing the defaults with Vim 8

2016-07-25 Fir de Conversatie Ben Fritz
On Sunday, July 24, 2016 at 8:03:06 AM UTC-5, Bram Moolenaar wrote: > > if has("autocmd") > " Enable file type detection. > filetype plugin indent on > Don't common plugin managers require you to turn on filetype stuff at a very specific location, e.g. *after* loading the plugin man

Re: Changing the defaults with Vim 8

2016-07-25 Fir de Conversatie Ben Fritz
On Monday, July 25, 2016 at 8:02:21 AM UTC-5, Tony Mechelynck wrote: > On Mon, Jul 25, 2016 at 11:00 AM, wrote: > > Ideally, starting the program as 'vim' would automatically give the user > > the improvements promised in the name. And 'vi' would hide all those > > improvements. > > > > Here is

Re: Changing the defaults with Vim 8

2016-07-25 Fir de Conversatie Nelo-Thara Wallus
On 2016-07-24 15:02, Bram Moolenaar wrote: > " For all text files set 'textwidth' to 78 characters. > autocmd FileType text setlocal textwidth=78 I'd object to that, autocommands are executed after ftplugins and would overwrite user settings (unless the user creates an au to change it). S

Re: Changing the defaults with Vim 8

2016-07-25 Fir de Conversatie Tony Mechelynck
On Mon, Jul 25, 2016 at 11:00 AM, wrote: > Ideally, starting the program as 'vim' would automatically give the user the > improvements promised in the name. And 'vi' would hide all those improvements. > > Here is my list of options to set when run as 'vim': [...] > set hidden > > Because 'no

Re: Changing the defaults with Vim 8

2016-07-24 Fir de Conversatie Gary Johnson
On 2016-07-24, Bram Moolenaar wrote: > Vim has always been conservative about the default option values. > Without any .vimrc the default is 'compatible'. That's nice for people > who rely on the old Vi. But how many of these still exist? I expect > nearly all Vim users to want 'nocompatible', t

Re: Changing the defaults with Vim 8

2016-07-24 Fir de Conversatie Ingo Karkat
Manuel Ortega wrote: > On Sun, Jul 24, 2016 at 9:02 AM, Bram Moolenaar wrote: > > " For all text files set 'textwidth' to 78 characters. > > autocmd FileType text setlocal textwidth=78 > Please don't "setlocal" a &textwidth value for text files. Don't mess > with this at all, but if you

Re: Changing the defaults with Vim 8

2016-07-24 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: > > set backspace=indent,eol,start > > +1 > > > set history=50" keep 50 lines of command line history > > Why only 50? Good point, the Vim default already is 50. That changed a while back. How about 200? > And while we are it, increase the undolevels settin

Re: Changing the defaults with Vim 8

2016-07-24 Fir de Conversatie Bram Moolenaar
Tyru wrote: > so do you think this setting is also personal preference, not 'compatible' > one? > > set display+=lastline > > Any reason to not display long line instead of '@' ? > for speed? > is it really good default value for "normal user" ? I'm not sure if I am a good example, but I don't

Re: Changing the defaults with Vim 8

2016-07-24 Fir de Conversatie Christian Brabandt
> set backspace=indent,eol,start +1 > set history=50 " keep 50 lines of command line history Why only 50? And while we are it, increase the undolevels setting > set ruler " show the cursor position all the time > set showcmd " display incomplete commands > se

Re: Changing the defaults with Vim 8

2016-07-24 Fir de Conversatie tyru
Hi Bram, 2016/07/25 0:33 "Bram Moolenaar" : > > > Nicola wrote: > > > On 2016-07-24 13:02:56 +, Bram Moolenaar said: > > > > > Vim has always been conservative about the default option values. > > > Without any .vimrc the default is 'compatible'. That's nice for people > > > who rely on the o

Re: Changing the defaults with Vim 8

2016-07-24 Fir de Conversatie Manuel Ortega
On Sun, Jul 24, 2016 at 12:09 PM, Manuel Ortega wrote: > On Sun, Jul 24, 2016 at 9:02 AM, Bram Moolenaar > wrote: > >> >> >> Probably not: >> >> " these two leave files behind >> set backup >> set undofile >> >> " may conflict with a user mapping >> inoremap u >> >> " hard to revert

Re: Changing the defaults with Vim 8

2016-07-24 Fir de Conversatie Manuel Ortega
On Sun, Jul 24, 2016 at 9:02 AM, Bram Moolenaar wrote: > > Vim has always been conservative about the default option values. > Without any .vimrc the default is 'compatible'. That's nice for people > who rely on the old Vi. But how many of these still exist? I expect > nearly all Vim users to

Re: Changing the defaults with Vim 8

2016-07-24 Fir de Conversatie Bram Moolenaar
Nicola wrote: > On 2016-07-24 13:02:56 +, Bram Moolenaar said: > > > Vim has always been conservative about the default option values. > > Without any .vimrc the default is 'compatible'. That's nice for people > > who rely on the old Vi. But how many of these still exist? I expect > > nea

Re: Changing the defaults with Vim 8

2016-07-24 Fir de Conversatie Michal Grochmal
Hi Bram, > Vim has always been conservative about the default option values. > Without any .vimrc the default is 'compatible'. That's nice for people > who rely on the old Vi. But how many of these still exist? I expect > nearly all Vim users to want 'nocompatible', thus create a .vimrc ASAP. >

Re: Changing the defaults with Vim 8

2016-07-24 Fir de Conversatie Yegappan Lakshmanan
Hi, On Sun, Jul 24, 2016 at 7:04 AM, lilydjwg wrote: > Hi, > > On Sun, Jul 24, 2016 at 10:21:32PM +0900, tyru wrote: >> I want to propose the following settings additionally. >> >> >> set ambiwidth=double > > Please don't do this for Linux terminals, at least when

Re: Changing the defaults with Vim 8

2016-07-24 Fir de Conversatie lilydjwg
Hi, On Sun, Jul 24, 2016 at 10:21:32PM +0900, tyru wrote: > I want to propose the following settings additionally. > > > set ambiwidth=double Please don't do this for Linux terminals, at least when it doesn't work well: For the following text, “test” ‘test’ gv

Re: Changing the defaults with Vim 8

2016-07-24 Fir de Conversatie Nicola
On 2016-07-24 13:02:56 +, Bram Moolenaar said: Vim has always been conservative about the default option values. Without any .vimrc the default is 'compatible'. That's nice for people who rely on the old Vi. But how many of these still exist? I expect nearly all Vim users to want 'nocompa

Re: Changing the defaults with Vim 8

2016-07-24 Fir de Conversatie tyru
Hi Bram! 2016-07-24 22:02 GMT+09:00 Bram Moolenaar : > > Vim has always been conservative about the default option values. > Without any .vimrc the default is 'compatible'. That's nice for people > who rely on the old Vi. But how many of these still exist? I expect > nearly all Vim users to wan

Changing the defaults with Vim 8

2016-07-24 Fir de Conversatie Bram Moolenaar
Vim has always been conservative about the default option values. Without any .vimrc the default is 'compatible'. That's nice for people who rely on the old Vi. But how many of these still exist? I expect nearly all Vim users to want 'nocompatible', thus create a .vimrc ASAP. What has stopped