Jeswang's Blog

盲目跟随还是独立去做,To be or not to be?

我的VIM配置文件

| Comments

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

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

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

我的VIM配置文件
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
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 -

Comments