commit 4936b2f3d4bed95cc78e2ee15155cdb86678da79
parent 54df9535156b74901f78f983213b0c1d5eb8834f
Author: Ed van Bruggen <edvb54@gmail.com>
Date: Sat, 30 Aug 2014 10:27:24 -0700
Vim: Add catium.vim plug-in
Diffstat:
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/vimrc b/vimrc
@@ -67,6 +67,12 @@ au VimEnter * RainbowParenthesesLoadRound
au VimEnter * RainbowParenthesesLoadSquare
au VimEnter * RainbowParenthesesLoadBraces
+" catium.vim options
+let g:catium#trail = 0
+let g:catium#body = 3
+let g:catium#face = 1
+let g:catium#space = 4
+
" mappings{{{2
" allow for F3 ro turn on Tagbar plug-in
nmap <silent> <F3> :TagbarToggle<CR>
@@ -150,7 +156,6 @@ set number
"extra chars like the end of line one and when text raps to next line
set list
-" set listchars=tab:\┃\ ,eol:¬,extends:❯,precedes:❮
set listchars=tab:\|\ ,eol:¬,extends:❯,precedes:❮
" make Vim save every time it leaves insert mode
@@ -230,6 +235,7 @@ hi SLcyan ctermfg=6 ctermbg=0
set statusline=%#SLblue#%f " file name
set statusline+=%#SLgreen#\ %Y " filetype
set statusline+=%#SLcyan#\ %M " modified flag
+set statusline+=\ %{g:Catium()}
set statusline+=\ %= " align left
set statusline+=%#SLcyan#%c " column
diff --git a/vimrc.bundles b/vimrc.bundles
@@ -38,6 +38,10 @@ Bundle 'tpope/vim-eunuch'
" better sessions
Bundle 'tpope/vim-obsession'
+""" my plug-ins
+" add nyan cat to status bar
+Bundle 'edvb54/catium.vim'
+
""" language specific plug-ins
" syntax checker
Bundle 'Syntastic'