Working .vimrc
Revision as of 07:44, 26 May 2005 by 129.6.61.113 (talk)
version 5.0 set nocompatible let cpo_save=&cpo set cpo=B map! <xHome> <Home> map! <xEnd> <End> map! <S-xF4> <S-F4> map! <S-xF3> <S-F3> map! <S-xF2> <S-F2> map! <S-xF1> <S-F1> map! <xF4> <F4> map! <xF3> <F3> map! <xF2> <F2> map! <xF1> <F1> map <xHome> <Home> map <xEnd> <End> map <S-xF4> <S-F4> map <S-xF3> <S-F3> map <S-xF2> <S-F2> map <S-xF1> <S-F1> map <xF4> <F4> map <xF3> <F3> map <xF2> <F2> map <xF1> <F1> let &cpo=cpo_save unlet cpo_save set ruler set backspace=2 syntax on set showmode " set showcmd set ts=8 sw=8 " Cycle tab stops function! Toggle_Tab_Width() if &ts == 2 set ts=4 sw=4 elseif &ts == 4 set ts=8 sw=8 else set ts=2 sw=2 endif endfunction " Assign this function to :TG command! TG call Toggle_Tab_Width() command! TS call Toggle_Tab_Width() " Use a much more readable color scheme as default colorscheme evening