vimrc
来源:互联网 发布:linux数据库备份软件 编辑:程序博客网 时间:2024/06/16 17:50
filetype off
execute pathogen#infect()
filetype plugin indent on
set nocompatible
"source $VIMRUNTIME/vimrc_example.vim
"source $VIMRUNTIME/mswin.vim
"behave mswin
set modelines=0
" disable menu
set guioptions=
" syntax
syntax on
" backup
set nobackup
set nowritebackup
" line number
set number
" TAB
set expandtab
set tabstop=4
set softtabstop=4
set shiftwidth=4
" others
set wrap
set scrolloff=4
set ruler
set showcmd
set showmode
set showmatch
set wildmenu
set wildmode=list:full
set novisualbell
set cursorline
set ttyfast
set backspace=indent,eol,start
set laststatus=2
" indent
set autoindent
" search
set incsearch
set hlsearch
set ignorecase
set smartcase
set wrapscan
nnoremap / /\v
vnoremap / /\v
" substitute
set gdefault
" encode
set fileencodings=ucs-bom,utf-8,cp936,latin1
" movement
nnoremap j gj
nnoremap k gk
" learn movement
nnoremap <up> <nop>
nnoremap <down> <nop>
nnoremap <left> <nop>
nnoremap <right> <nop>
inoremap <up> <nop>
inoremap <down> <nop>
inoremap <left> <nop>
inoremap <right> <nop>
" settings for ms-windows
if has("win32")
set guifont=Consolas:h11:cANSI
" margine
set colorcolumn=100
set clipboard=unnamed
set undofile
set undodir=c:/Windows/Temp,.
au GUIEnter * simalt ~x
colo molokai
"colo solarized
else
set t_Co=256
colo molokai
"colo solarized
endif
execute pathogen#infect()
filetype plugin indent on
set nocompatible
"source $VIMRUNTIME/vimrc_example.vim
"source $VIMRUNTIME/mswin.vim
"behave mswin
set modelines=0
" disable menu
set guioptions=
" syntax
syntax on
" backup
set nobackup
set nowritebackup
" line number
set number
" TAB
set expandtab
set tabstop=4
set softtabstop=4
set shiftwidth=4
" others
set wrap
set scrolloff=4
set ruler
set showcmd
set showmode
set showmatch
set wildmenu
set wildmode=list:full
set novisualbell
set cursorline
set ttyfast
set backspace=indent,eol,start
set laststatus=2
" indent
set autoindent
" search
set incsearch
set hlsearch
set ignorecase
set smartcase
set wrapscan
nnoremap / /\v
vnoremap / /\v
" substitute
set gdefault
" encode
set fileencodings=ucs-bom,utf-8,cp936,latin1
" movement
nnoremap j gj
nnoremap k gk
" learn movement
nnoremap <up> <nop>
nnoremap <down> <nop>
nnoremap <left> <nop>
nnoremap <right> <nop>
inoremap <up> <nop>
inoremap <down> <nop>
inoremap <left> <nop>
inoremap <right> <nop>
" settings for ms-windows
if has("win32")
set guifont=Consolas:h11:cANSI
" margine
set colorcolumn=100
set clipboard=unnamed
set undofile
set undodir=c:/Windows/Temp,.
au GUIEnter * simalt ~x
colo molokai
"colo solarized
else
set t_Co=256
colo molokai
"colo solarized
endif
0 0
- vimrc
- .vimrc
- vimrc
- ~/.vimrc
- .vimrc
- .vimrc
- ~/.vimrc
- vimrc
- vimrc
- vimrc
- vimrc
- vimrc
- vimrc
- .vimrc
- vimrc
- .vimrc
- vimrc
- vimrc
- 学习JVM
- Codeforces Round #305 (Div. 2)--A. Mike and Fax
- [前端] jquery不常用方法测试
- java Properties工具
- linux模拟网络状况
- vimrc
- GCC 命令行详解 -L 指定库的路径 -l 指定需连接的库名
- hdu 1058 Humble Numbers【dp】
- Cppcheck
- 网易邮箱账号OAuth2.0认证文档
- java随笔
- 解析GRE数学中重要符号的英文表达
- 使用httpclient、htmlcleaner 、xpath 采集新浪微博3G站点数据
- hdu 2594 Simpsons’ Hidden Talents 【KMP】