[packages] vim: add xxd tool
[openwrt/svn-archive/archive.git] / utils / vim / files / vimrc.full
1 set showcmd " show (partial) command in status line
2 set showmatch " show matching brackets
3 set ignorecase " do case insensitive matching
4 set incsearch " incremental search
5 set autowrite " automatically save before commands like :next and :make
6 set nocompatible " use Vim defaults instead of 100% vi compatibility
7 set backspace=indent,eol,start " more powerful backspacing
8 set autoindent " always set autoindenting on
9 set linebreak " don't wrap words by default
10 set textwidth=0 " don't wrap lines by default
11 set ruler " show the cursor position all the time
12 if filereadable(expand("$VIMRUNTIME/syntax/synload.vim"))
13 syntax on
14 endif
15 if has("syntax") && &term =~ "xterm"
16 set t_Co=8
17 if has("terminfo")
18 set t_Sf=<Esc>[3%p1%dm
19 set t_Sb=<Esc>[4%p1%dm
20 else
21 set t_Sf=<Esc>[3%dm
22 set t_Sb=<Esc>[4%dm
23 endif
24 endif