Yi's Blog

思绪来得快,去得也快

我的 VIM 配置文件

这学期的课都上完了,终于有时间和代码相处了。

好久没有使用vim,有些快捷键的淡忘了。

整理一下配置文件,重新来过。

inoremap <C-e> <END>
inoremap <C-a> <HOME>
inoremap <C-f> <Right>
inoremap <C-b> <Left>

nmap <Left> :bp<CR>
nmap <Right> :bn<CR>
nmap <F4> :bd<CR>

set nocompatible
syntax on
filetype off
colorscheme desert
set nu
set mouse=a
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
Bundle 'gmarik/vundle'
filetype plugin indent on

Bundle 'Lokaltog/vim-powerline'
set nocompatible

set laststatus=2 
set t_Co=256 

Bundle 'ZenCoding.vim'

Bundle 'a.vim'
Bundle 'mileszs/ack.vim'
Bundle 'cocoa.vim'
Bundle 'FencView.vim'
Bundle 'Markdown-syntax'
Bundle 'unite.vim'
Bundle 'Syntastic'

Bundle 'Tagbar'
let g:tagbar_ctags_bin='/usr/local/bin/ctags'  
let g:tagbar_width=26                          

Bundle 'taglist.vim'
Bundle 'taglist-plus'
let Tlist_Use_Right_Window=1
let Tlist_File_Fold_Auto_Close=1
let Tlist_Ctags_Cmd='/usr/local/bin/ctags'

Bundle 'The-NERD-tree'
let NERDTreeShowBookmarks=1

Bundle 'altercation/vim-colors-solarized'
" set background=dark
" colorscheme solarized

Bundle 'neocomplcache'
let g:neocomplcache_enable_at_startup=1 
autocmd FileType python setlocal omnifunc=pythoncomplete#Complete 

Bundle 'pyflackes' 
Bundle 'python_flod'

if has("gui_running")
"    set guifont=Microsoft\ YaHei\ Mono:h16
    set guifont=Monaco:h14
    set guifontwide=Microsoft\ YaHei:h15
    set linespace=2
    set guioptions-=T
    set guioptions-=r
    set guioptions-=L
    set showtabline=1
    set noimd
endif

- EOF -