Joey:
Since you showed me yours I am going to have to show you mine. The
problem with what I mentiend is that I always want ai by default;
however, if I paste code, I do not want ai.

set wrap!
set ts=3
set autoindent
set shiftwidth=3
set tabstop=3
set softtabstop=3
set ic!
set showmatch
syntax on
set hlsearch
set ruler
set backspace=indent,eol,start
let spell_language_list="english,spanish"
let spell_auto_type="none"
let spell_markup_ft = ",tpl,html,php,xhtml,dtml,tex,mail,"
:fixde
set nocompatible
set viminfo='20,\"500
"autocmd VimEnter * startinsert
autocmd BufReadPost *
     \ if ! exists("g:leave_my_cursor_position_alone") |
     \     if line("'\"") > 0 && line ("'\"") <= line("$") |
     \         exe "normal g'\"" |
     \     endif |
     \ endif

Joey Kelly wrote:
> On Monday 29 May 2006 13:20, Alvaro Zuniga wrote:
> > This is one of the greatests vim annoyances. I always
> > forget to do a :set ai! before pasting text.
> >
> > I wish we would have an editor as smart as notedit2 ;-)
> 
> You can set options in your ~/.vimrc file. Take a gander at mine: 
> http://joeykelly.net/hacks/linux/vimrc
> 
> 
> -- 
> Joey Kelly
> < Minister of the Gospel | Linux Consultant >
> http://joeykelly.net
> 
> How many spyware pop-ups did you get on your Windows computer today?



> _______________________________________________
> General mailing list
> General at brlug.net
> http://brlug.net/mailman/listinfo/general_brlug.net


Reply via email to