好用的vimrc
2015-11-16 22:31
351 查看
au BufReadPost * if line("'\"") > 0 | if line("'\"") <= line("$") | exe("norm '\"") | else | exe "norm $" | endif | endif
set hlsearch
colorscheme evening
set formatoptions=tcrqn
set nocp
set encoding=utf-8
set fencs=utf-8,ucs-bom,shift-jis,gb18030,gbk,gb2312,cp936
set fileencodings=utf-8,ucs-bom,chinese
set langmenu=zh_CN.UTF-8
syntax enable
syntax on
set cursorline
hi CursorLine cterm=NONE ctermbg=darkred ctermfg=white guibg=darkred guifg=white
set selection=exclusive
set selectmode=mouse,key
set nu
set showmatch
set nocompatible
set tabstop=4
set softtabstop=4
set shiftwidth=4
set autoindent
set cindent
if &term=="xterm"
set t_Co=8
set t_Sb=^[[4%dm
set t_Sf=^[[3%dm
endif
filetype on
let Tlist_Show_One_File=0
let Tlist_File_Fold_Auto_Close=1
let Tlist_Exit_OnlyWindow=1
let Tlist_Use_SingleClick=1
let Tlist_GainFocus_On_ToggleOpen=1
let Tlist_Process_File_Always=1
filetype plugin indent on
set completeopt=longest,menu
set shell=bash
set history=400
if exists("&autoread")
set autoread
endif
set ambiwidth=double
set ffs=unix,dos,mac
set incsearch
set noerrorbells
set novisualbell
set nobackup
set nowb
set backspace=2
if has('mouse')
set mouse-=a
endif
Already at oldest change
set hlsearch
colorscheme evening
set formatoptions=tcrqn
set nocp
set encoding=utf-8
set fencs=utf-8,ucs-bom,shift-jis,gb18030,gbk,gb2312,cp936
set fileencodings=utf-8,ucs-bom,chinese
set langmenu=zh_CN.UTF-8
syntax enable
syntax on
set cursorline
hi CursorLine cterm=NONE ctermbg=darkred ctermfg=white guibg=darkred guifg=white
set selection=exclusive
set selectmode=mouse,key
set nu
set showmatch
set nocompatible
set tabstop=4
set softtabstop=4
set shiftwidth=4
set autoindent
set cindent
if &term=="xterm"
set t_Co=8
set t_Sb=^[[4%dm
set t_Sf=^[[3%dm
endif
filetype on
let Tlist_Show_One_File=0
let Tlist_File_Fold_Auto_Close=1
let Tlist_Exit_OnlyWindow=1
let Tlist_Use_SingleClick=1
let Tlist_GainFocus_On_ToggleOpen=1
let Tlist_Process_File_Always=1
filetype plugin indent on
set completeopt=longest,menu
set shell=bash
set history=400
if exists("&autoread")
set autoread
endif
set ambiwidth=double
set ffs=unix,dos,mac
set incsearch
set noerrorbells
set novisualbell
set nobackup
set nowb
set backspace=2
if has('mouse')
set mouse-=a
endif
Already at oldest change
相关文章推荐
- 1029 Median
- 夯实JAVA基本之一 —— 泛型详解(1):基本使用
- 使用ListView时的几个BUG与相应的优化
- Android平板上开发应用的一点心得——精确适配不同的dpi和屏幕尺寸
- 2015年11月16日
- hdu 1022 Train Problem I(栈的模拟)
- 在.NET开发中的单元测试工具之(1)——NUnit
- UI 第五天 代理设计模式 手势识别器
- 20135203齐岳信息安全系统设计基础——实验一实验报告
- 自动填充短信验证码(使用ContentObserver)
- garch matlab
- 10月月赛
- linux下rsync的配置以实现文件夹的同步及常见error总结
- 笔记十(重要公式阶段总结)
- Android 6.0 gradle 打release包 混淆问题
- 设计模式(一)-外观模式(Facade) -代理模式(Proxy)
- c++基础要点整理(二)之——友元
- 01-复杂度1 最大子列和问题
- c++文件結束符
- 【线性代数公开课MIT Linear Algebra】 第二十一课 特征值与特征向量