All of lore.kernel.org
 help / color / mirror / Atom feed
* vimrc and vim defaults
@ 2010-09-15 18:32 AJ ONeal
  2010-09-15 18:58 ` Philip Balister
  0 siblings, 1 reply; 3+ messages in thread
From: AJ ONeal @ 2010-09-15 18:32 UTC (permalink / raw)
  To: openembedded-devel

Why does vimrc go in /usr/share/vim/vimrc rather than /etc/vimrc like on
other distros?

Would it be a sin to include some "reasonable defaults" so that it's
actually the vim that people expect rather than vi?

AJ ONeal


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: vimrc and vim defaults
  2010-09-15 18:32 vimrc and vim defaults AJ ONeal
@ 2010-09-15 18:58 ` Philip Balister
  2010-09-15 19:15   ` AJ ONeal
  0 siblings, 1 reply; 3+ messages in thread
From: Philip Balister @ 2010-09-15 18:58 UTC (permalink / raw)
  To: openembedded-devel

On 09/15/2010 02:32 PM, AJ ONeal wrote:
> Why does vimrc go in /usr/share/vim/vimrc rather than /etc/vimrc like on
> other distros?

This explains why vim has been driving me nuts.

> Would it be a sin to include some "reasonable defaults" so that it's
> actually the vim that people expect rather than vi?

This would be great. I'd love to look at any patches you have.

Philip



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: vimrc and vim defaults
  2010-09-15 18:58 ` Philip Balister
@ 2010-09-15 19:15   ` AJ ONeal
  0 siblings, 0 replies; 3+ messages in thread
From: AJ ONeal @ 2010-09-15 19:15 UTC (permalink / raw)
  To: openembedded-devel

Here's what I've done so far - just enough to not drive me mad:

opkg install vim-syntax

vim /etc/share/vim/vimrc

" most important
syntax on
set nocompatible
set backspace=indent,eol,start
" tab stuff
set tabstop=2
set shiftwidth=2
set smarttab
set expandtab
set softtabstop=2
" sometimes useful
"set ignorecase

AJ ONeal


On Wed, Sep 15, 2010 at 12:58 PM, Philip Balister <philip@balister.org>wrote:

> On 09/15/2010 02:32 PM, AJ ONeal wrote:
>
>> Why does vimrc go in /usr/share/vim/vimrc rather than /etc/vimrc like on
>> other distros?
>>
>
> This explains why vim has been driving me nuts.
>
>
>  Would it be a sin to include some "reasonable defaults" so that it's
>> actually the vim that people expect rather than vi?
>>
>
> This would be great. I'd love to look at any patches you have.
>
> Philip
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-09-15 19:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-15 18:32 vimrc and vim defaults AJ ONeal
2010-09-15 18:58 ` Philip Balister
2010-09-15 19:15   ` AJ ONeal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.