My VIM configuration

Source: Internet
Author: User
Tags set background

Set nocompatible
SOURCE $VIMRUNTIME/vimrc_example.vim
SOURCE $VIMRUNTIME/mswin.vim
Behave Mswin
Set number
Set tabstop=4
Hi Normal ctermbg=black ctermfg=white
Set Nobackup
Set Noswapfile
Set shiftwidth=4
Syntax enable
Set Shortmess=ati
Set ShowCmd
Set Background=dark
Set t_co=256
Set Novisualbell
Set Guifont=bitstream_vera_sans_mono:h10:cansi
Winpos 750 50
Set lines=44 columns=100


Set Tags=d:\tools\ctags\tags
Set Autochdir

Inoremap <C-]><C-X><C-]>
Inoremap <C-F><C-X><C-F>
Inoremap <C-D><C-X><C-D>
Inoremap <C-L><C-X><C-L>
Let G:supertabretaincompletiontype = 2
Let g:supertabdefaultcompletion = "<C-X><C-O>"

"" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "
: Inoremap (() <esc>i
: Inoremap) <c-r>=closepair (') ') <CR>
: inoremap {{}<esc>i
: Inoremap} <c-r>=closepair ('} ') <CR>
: Inoremap [[]<esc>i
: Inoremap] <c-r>=closepair ('] ') <CR>
function Closepair (char)
If Getline ('. ') [Col ('. ')-1] = = A:char
Return "\<right>"
Else
Return A:char
endif
Endf

Let g:molokai_original = 1
Let g:rehash256 = 1

"Colo Scheme
Set t_co=256
Colo Molokai

My VIM configuration

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.