vimenv

configure vim environment
git clone git://git.unixkoans.com/vimenv.git
Log | Files | Refs | Submodules

commit 229b9073df53c686a4f402b5e0537a692da7b3c2
parent 32210ba1bf0f925ea853fe36db931610e9228204
Author: Xiaodong Xu <[email protected]>
Date:   Sat May 26 13:47:17 +0800

Add markdown-helper

Diffstat:
.gitmodules | 3+++
_vim/bundle/markdown-helper | 1+
_vim/conf/funcs.vim | 4++--
_vim/conf/plugin.vim | 7+++++--
_vimrc | 4+++-
5 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/.gitmodules b/.gitmodules @@ -52,3 +52,6 @@ [submodule "_vim/bundle/matchit"] path = _vim/bundle/matchit url = git://github.com/mirell/vim-matchit.git +[submodule "_vim/bundle/markdown-helper"] + path = _vim/bundle/markdown-helper + url = git://github.com/xuxiaodong/vim-markdown-helper.git diff --git a/_vim/bundle/markdown-helper b/_vim/bundle/markdown-helper @@ -0,0 +1 @@ +Subproject commit f359429480e6a5938aa99d0bdbb8568f44be72f7 diff --git a/_vim/conf/funcs.vim b/_vim/conf/funcs.vim @@ -1,6 +1,6 @@ " " author : Xu Xiaodong <[email protected]> -" modified : 2012 May 20 +" modified : 2012 May 25 " "-- update timestamps --" @@ -10,7 +10,7 @@ function! _last_modified() let save_cursor = getpos(".") let n = min([20, line("$")]) keepjumps exe '1,' . n . 's#^\(.\{,10}modified *: \+\).*#\1' . - \ strftime('%Y %b %d') . '#e' + \ strftime('%Y %b %d') . '#ei' call histdel('search', -1) call setpos('.', save_cursor) endif diff --git a/_vim/conf/plugin.vim b/_vim/conf/plugin.vim @@ -1,6 +1,6 @@ " " author: Xu Xiaodong <[email protected]> -" modified: 2012 May 20 +" modified: 2012 May 26 " "-- plugin --" @@ -16,7 +16,10 @@ vmap <silent> <leader>i, <esc>:AlignPush<cr>:AlignCtrl lp0P1<cr>:'<,'>Align ,<cr vmap <silent> <leader>i( <esc>:AlignPush<cr>:AlignCtrl lp0P0<cr>:'<,'>Align (<cr>:AlignPop<cr> " powerline -"let g:Powerline_symbols='fancy' +let g:Powerline_symbols='unicode' + +" markdown helper +let g:markdownheader_style="atx" " gsession "let g:local_session_filename='.session.vim' diff --git a/_vimrc b/_vimrc @@ -1,6 +1,6 @@ " " author: Xu Xiaodong <[email protected]> -" modified: 2012 May 18 +" modified: 2012 May 26 " "-- source --" @@ -39,6 +39,7 @@ syntax on if &t_Co < 256 colorscheme miro8 else + set background=dark colorscheme jellybeans endif @@ -50,6 +51,7 @@ set autoread set noswapfile set nowritebackup +"set encoding=utf-8 set fileencoding=utf-8 set fileencodings=ucs-bom,utf-8,gb18030,default