" initialisation file for vim editor. " $Id: vimrc,v 1.3 2006/12/15 00:52:11 taviso Exp $ " abbreviations for c programming func LoadCAbbrevs() iabbr do do {} while ();3h iabbr for for (;;) {}k3l iabbr switch switch () {}k6l iabbr while while () {}k5l iabbr if if () {}k2l iabbr #d #define iabbr #i #include endfunc set ci sc wmnu et nosol si bs=2 ls=2 set shm=IatA ww=<,>,[,] ts=4 sw=4 set lcs=eol:$,tab:>-,trail:.,extends:> set pt= nomore modelines=5 modeline hls! syn on ino gj ino gk nno gj nno gk nno :set hls!set hls? nno :set nu!set nu? colo torte " language dependent options let asmsyntax="nasm" let c_comment_strings=1 let c_space_errors=0 let rgb_file="/usr/lib/X11/rgb.txt" let bash_is_sh=1 let highlight_function_name=1 " autocommands au FileType c,cpp call LoadCAbbrevs()