vim的常用设置
set nocompatible
set lines=35 columns=120
colorscheme evening
set background=dark
set nu
filetype on
filetype plugin on
filetype plugin indent on
filetype indent on
set textwidth=120
syntax enable
syntax on
"set cursorline
set cmdheight=1
set autoindent
set smartindent
set ruler
set foldmethod=syntax
set shiftwidth=4
set softtabstop=4
let fortran_free_source=1
let fortran_more_precise=1
let fortran_do_enddo=1
let fortran_have_tabs=1
let fortran_fold=1
set foldcolumn=4
nmap <F9> <ESC> :!ctags -R *<CR>
let Tlist_Ctags_Cmd='/usr/bin/ctags'
let Tlist_Show_One_File=1
let Tlist_Exit_OnlyWindow=1
let Tlist_File_Fold_Auto_Close=1
let Tlist_Show_Menu=1
let g:winManagerWindowLayout="NERDTree|Taglist,BufExplorer"
let g:winManagerWidth=30
nmap <silent> <F8> :WMToggle<CR>
let Tlist_WinWidth=25
let Tlist_WinHeight=18
let NERDTreeWinSize=25
set showcmd " Show (partial) command in status line.
set showmatch " Show matching brackets.
"set ignorecase " Do case insensitive matching
set smartcase " Do smart case matching
set hlsearch
set incsearch " Incremental search
"set autowrite " Automatically save before commands like :next and :make
"set hidden " Hide buffers when they are abandoned
"set mouse=a " Enable mouse usage (all modes)
没有评论:
发表评论