[oe] vimrc and vim defaults

AJ ONeal coolaj86 at gmail.com
Wed Sep 15 19:15:19 UTC 2010


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 at 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 at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



More information about the Openembedded-devel mailing list