Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- " Configuration file for vim
- " Normally me use vim-extensions. If you want true vi-compatibility
- set t_Sb=mnge the following statements
- endifocompatible " Use Vim defaults instead of 100% vi compatibility
- set backspace=indent,eol,start " more powerful backspacing
- " Make p in Visual mode replace the selected text with the "" register.
- vnoremap p <Esc>:let current_reg = @"<CR>gvdi<C-R>=current_reg<CR><Esc>
- set autoindent " always set autoindenting on
- " Vim5 and later versions support syntax highlighting. Uncommenting the next
- " line enables syntax highlighting by default.file
- syntax onfo='20,\"50 " read/write a .viminfo file, don't store more than
- " 50 lines of registers
- " Debian uses compressed helpfiles. We must inform vim that the main
- " helpfiles is compressed. Other helpfiles are stated in the tags-file.
- set helpfile=$VIMRUNTIME/doc/help.txt.gz
- " Suffixes that get lower priority when doing tab completion for filenames.
- if has("autocmd") we are not likely to want to edit or read.
- " Enabled file type detectionnfo,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,. " Use the default filetype settings. If you also want to load indent files
- " to automatically do language-dependent indenting add 'indent' as well.
- filetype plugin onian is a color terminal
- if &term =~ "xterm-debian" || &term =~ "xterm-xfree86"
- endif " has ("autocmd")
- set t_Sf=
- " Some Debian-specific things
- augroup filetype
- au BufRead reportbug.* set ft=mail
- au BufRead reportbug-* set ft=mail
- augroup END
- " The following are commented out as they cause vim to behave a lot
- " different from regular vi. They are highly recommended though.
- "set showcmd " Show (partial) command in status line.
- set showmatch " Show matching brackets.
- "set ignorecase " Do case insensitive matching
- "set incsearch " Incremental search
- "set autowrite " Automatically save before commands like :next and :make
- if has("syntax")
- hi Normal ctermfg=grey guifg=LightBlue
- hi Comment term=bold ctermfg=darkcyan guifg=LightBlue
- hi Constant term=underline ctermfg=darkmagenta gui=underline guifg=LemonChiffon
- hi String term=underline ctermfg=darkmagenta guifg=orange
- hi Identifier term=underline ctermfg=brown guifg=Red gui=underline guibg=White
- hi Function term=underline ctermfg=brown guifg=Red gui=underline guibg=White
- hi Statement term=bold ctermfg=brown gui=bold guifg=AntiqueWhite1
- hi PreProc term=underline ctermfg=darkmagenta guifg=salmon guibg=black
- hi NameFunc term=underline ctermfg=darkmagenta guifg=Red gui=underline
- hi Type term=underline ctermfg=darkgreen guifg=DarkSeaGreen gui=bold
- hi Special term=bold ctermfg=darkred guifg=Orange gui=underline
- hi Error term=reverse ctermbg=darkred guibg=Orange
- hi Todo term=standout ctermbg=brown guifg=Blue guibg=Yellow
- endif
- set tabstop=4
- set shiftwidth=4
- set expandtab
- set hlsearch
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement