aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLAN-TW <lantw44@gmail.com>2013-06-28 12:00:29 +0800
committerLAN-TW <lantw44@gmail.com>2013-06-28 12:00:29 +0800
commit004bbf6579c0f6df6b59916d4a76c0323fa11fbe (patch)
treed6108b2743507b1314055646d4ec6f2d225317cd
parentb9765fd28dd16cbb3b0554fc8ca9ef8b0fdbbb8d (diff)
downloadconfigfile-004bbf6579c0f6df6b59916d4a76c0323fa11fbe.tar
configfile-004bbf6579c0f6df6b59916d4a76c0323fa11fbe.tar.gz
configfile-004bbf6579c0f6df6b59916d4a76c0323fa11fbe.tar.bz2
configfile-004bbf6579c0f6df6b59916d4a76c0323fa11fbe.tar.lz
configfile-004bbf6579c0f6df6b59916d4a76c0323fa11fbe.tar.xz
configfile-004bbf6579c0f6df6b59916d4a76c0323fa11fbe.tar.zst
configfile-004bbf6579c0f6df6b59916d4a76c0323fa11fbe.zip
vimrc: 加入 Vala 與 HTML5 支援、powerline 字型支援vimrc-20130628
-rw-r--r--vimrc21
1 files changed, 14 insertions, 7 deletions
diff --git a/vimrc b/vimrc
index b3269e4..e3219a0 100644
--- a/vimrc
+++ b/vimrc
@@ -72,13 +72,15 @@ imap <F12> <ESC><F12>
nmap <Tab> <C-w><C-w>
nmap <S-Tab> <C-w>W
-autocmd FileType python set omnifunc=pythoncomplete#Complete
-autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS
-autocmd FileType html set omnifunc=htmlcomplete#CompleteTags
-autocmd FileType css set omnifunc=csscomplete#CompleteCSS
-autocmd FileType xml set omnifunc=xmlcomplete#CompleteTags
-autocmd FileType php set omnifunc=phpcomplete#CompletePHP
-autocmd FileType c set omnifunc=ccomplete#Complete
+au FileType python set omnifunc=pythoncomplete#Complete
+au FileType javascript set omnifunc=javascriptcomplete#CompleteJS
+au FileType html set omnifunc=htmlcomplete#CompleteTags
+au FileType css set omnifunc=csscomplete#CompleteCSS
+au FileType xml set omnifunc=xmlcomplete#CompleteTags
+au FileType php set omnifunc=phpcomplete#CompletePHP
+au FileType c set omnifunc=ccomplete#Complete
+au BufRead *.vala,*.vapi set efm=%f:%l.%c-%[%^:]%#:\ %t%[%^:]%#:\ %m
+au BufRead,BufNewFile *.vala,*.vapi setfiletype vala
set tags+=~/.vim/tags
@@ -86,8 +88,13 @@ if g:plugins_enabled
set rtp+=~/.vim/bundle/vundle
set rtp+=~/.vim/bundle/powerline/powerline/bindings/vim
call vundle#rc()
+ Bundle 'gmarik/vundle'
Bundle 'Lokaltog/powerline'
Bundle 'Valloric/YouCompleteMe'
Bundle 'majutsushi/tagbar'
Bundle 'scrooloose/nerdtree'
+ Bundle 'othree/html5.vim'
+ Bundle 'tkztmk/vim-vala'
endif
+
+"set guifont=Liberation\ Mono\ for\ Powerline\ 11