Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if !exists("autocommands_loaded")
- let autocommands_loaded = 1
- augroup C
- autocmd BufRead *.c set cindent ts=8 sw=8
- augroup END
- endif
- augroup filetypedetect
- au BufNewFile,BufRead *.wiki setf Wikipedia
- augroup END
- autocmd Filetype java setlocal omnifunc=javacomplete#Complete
- autocmd FileType text setlocal textwidth=78 wm=2
- autocmd FileType html setlocal ts=2 sw=2
- autocmd FileType xml setlocal ts=2 sw=2
- set t_Co=256
- filetype indent on
- filetype plugin on
- set smarttab smartindent
- set showcmd
- set nocompatible
- set expandtab
- set tabstop=4
- set shiftwidth=4
- syntax on
- colorscheme xoria256
- set guifont=DroidSansMono\ 8
- set guioptions=ea
- set mousehide
- set nu
- set mouse=a
- set hlsearch
- set showmatch matchtime=2
- set incsearch
- set wildmenu
- set wildmode=list:longest
- set ignorecase
- set smartcase
- set scrolloff=3
- let xml_use_xhtml = 1
- inoremap <C-Space> <C-x><C-o>
- nmap :W :w
- nmap :Q :q
- let g:miniBufExplMapCTabSwitchBufs = 1
- nmap . .`[
- map <C-t> <Esc>:tabnew<CR>
- runtime macros/matchit.vim
- map <F2> "+y
- map <F3> "+p
Advertisement
Add Comment
Please, Sign In to add comment