vi配置
来源:互联网 发布:移魂都市知乎 编辑:程序博客网 时间:2024/05/16 22:25
~/.vimrc
set nu
syntax on
set guifont=DejaVu\ Sans\ Mono\ 12
set softtabstop=4
set shiftwidth=4
set expandtab
set guioptions-=T
set nobackup
set formatoptions=tcrqn
set cindent
set smartindent
set incsearch
set autoindent
set encoding=utf-8
set fileencodings=ucs-bom,utf-8,chinese
“Show matching bracets
set showmatch
”
“”Get out of VI’s compatible mode
set nocompatible
if has(“cscope”)
set csprg=/usr/bin/cscope
set csto=0
set cst
set nocsverb
” add any database in current directory
if filereadable(“cscope.out”)
cs add cscope.out
” ” else add database pointed to by
” environment
elseif
endif
set csverb
set cscopetag
set cscopequickfix=s-,g-,c-,d-,t-,e-,f-,i-
nmap :cs find s =expand(“”)
nmap :cs find g =expand(“”)
nmap :cs find c =expand(“”)
nmap :cs find t =expand(“”)
nmap :cs find e =expand(“”)
nmap :cs find f =expand(“”)
nmap :cs find i =expand(“”)
nmap :cs find d =expand(“”)
endif
“Have the mouse enabled all the time
“set mouse=a
”
“”Set to auto read when a file is changed from the outside
set autoread
“Enable filetype plugin
filetype plugin indent on
colo desert
set hlsearch
“let Tlist_Ctags_Cmd = ‘/usr/bin/ctags-exuberant’
nnoremap :TlistToggle
“let Tlist_Use_Right_Window=1
colorscheme delek
“colorscheme evening
set ruler
- vi配置
- vi配置
- vi配置
- vi配置
- VI配置
- vi 配置
- vi配置
- vi 配置
- Vi 配置
- vi配置
- vi配置
- vi配置
- vi配置
- vi配置
- vi配置
- Vi使用配置备忘录
- vi的配置
- 我的vi 配置
- 抛弃jQuery,拥抱原生JavaScript
- dbca ora-12547 tns lost contact
- 在jsp里加入java代码
- shiro filter的入口
- 设计模式(十八)---备忘录模式
- vi配置
- 关于notifyDataSetChanged不能动态刷新ListView的问题
- 安装Intel HAXM为Android 模拟器加速
- 黑客应用之:net使用方法(2)
- 完全封装简单的实现图片的圆形剪切效果
- Javascript仿京东放大镜的效果
- eclipse启动时问题
- java框架问题杂想
- Android四大组件之服务(一)-----服务基础功能简述