xref: /dragonfly/nrelease/gui/root/.vimrc (revision d4ef6694)
1set statusline=%<%1*(%M%R)%f(%F)%=\ [%n]%1*%-19(%2*\ %03lx%02c(%p%%)\ %1*%)%O'%3*%02b%1*'
2set errorformat=%A%f:%l:\ %m,%-Z%p^,%-C%.%#
3set nocompatible
4set nocp
5set shiftwidth=4
6set tabstop=4
7set hlsearch
8set showmatch
9set incsearch
10set laststatus=2
11set bs=2
12
13syntax on
14filetype plugin on
15filetype indent on
16
17au BufNewFile,BufRead *.s set ft=asmMIPS syntax=asm
18au BufNewFile,BufRead *.c,*.C,*.h,*.H set expandtab cin
19
20map <F1> :call GotoBuf(1)<CR>
21map <F2> :call GotoBuf(2)<CR>
22map <F3> :call GotoBuf(3)<CR>
23map <F4> :call GotoBuf(4)<CR>
24map <F5> :call GotoBuf(5)<CR>
25map <F6> :call GotoBuf(6)<CR>
26map <F7> :call GotoBuf(7)<CR>
27map <F8> :call GotoBuf(8)<CR>
28map <F9> :call GotoBuf(9)<CR>
29map <F10> :call GotoBuf(10)<CR>
30map <F11> :call GotoBuf(11)<CR>
31map <F12> :call GotoBuf(12)<CR>
32
33hi User1 term=inverse,bold ctermbg=darkblue ctermfg=cyan guibg=#18163e guifg=grey
34hi User2 term=inverse,bold ctermbg=darkblue ctermfg=cyan guibg=#0d0c22 guifg=grey
35hi User3 term=inverse,bold ctermbg=darkblue ctermfg=lightred guibg=#18163e guifg=#ff5e6e
36