Tips for vim users
n0dalus
n0dalus+wine at gmail.com
Tue Sep 26 03:11:32 CDT 2006
On 9/26/06, Troy Rollo <wine at troy.rollo.name> wrote:
> On Monday 25 September 2006 19:47, n0dalus wrote:
> > At the bottom of my ~/.vimrc (create it if it doesn't exist):
> > if !exists("loaded_vimrc_autocmd")
> > let loaded_vimrc_autocmd=1
> > autocmd BufNewFile,BufRead /data/wine/* set expandtab tabstop=8
> > softtabstop=4
> > endif
>
> You might want to add "shiftwidth=4" so autoindent works correctly.
>
Thanks, I had that set in /etc/vimrc so I didn't notice that I needed it.
I've now put up a page on the wiki with the tips:
http://wiki.winehq.org/VimTips
n0dalus.
More information about the wine-devel
mailing list