diff --git a/_vimrc b/_vimrc index c879725..7eef230 100644 --- a/_vimrc +++ b/_vimrc @@ -7,6 +7,8 @@ source $VIM/python_vimrc source $VIMRUNTIME/vimrc_example.vim source $VIMRUNTIME/mswin.vim + +" 如下命令使鼠标用起来象微软 Windows behave mswin " using monokai color @@ -14,10 +16,6 @@ behave mswin " https://github.com/tomasr/molokai colorscheme molokai -" jedi-vim plugin config -let g:jedi#completions_command = "" -let g:jedi#popup_on_dot = 0 - " Ignore case when searching set ignorecase @@ -28,7 +26,7 @@ set smartcase set hlsearch " Makes search act like search in modern browsers -set incsearch +set incsearch "vim内部编码 set encoding=utf-8 @@ -85,6 +83,9 @@ set statusline+=%3*%c, "column set statusline+=%l/%L "line no/all line" set statusline+=\ %P + +set showcmd + """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " => Files, backups and undo """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" @@ -93,7 +94,25 @@ set nobackup set nowb set noswapfile -map :NERDTree + + +" Plugin settings +" NERDTree +map :NERDTreeToggle + +" plasticboy/vim-markdown +" disable folding +let g:vim_markdown_folding_disabled=1 +" Highlight YAML frontmatter as used by Jekyll +let g:vim_markdown_frontmatter=1 + +" intend guides +let g:indent_guides_enable_on_vim_startup = 1 + +" jedi-vim plugin config +let g:jedi#completions_command = "" +let g:jedi#popup_on_dot = 0 + set diffexpr=MyDiff() function MyDiff() diff --git a/vundle_vimrc b/vundle_vimrc index d8cb566..2f68625 100644 --- a/vundle_vimrc +++ b/vundle_vimrc @@ -26,6 +26,8 @@ Plugin 'scrooloose/nerdtree' Plugin 'davidhalter/jedi-vim' Plugin 'ervandew/supertab' Plugin 'Raimondi/delimitMate' +"show tabs +Plugin 'nathanaelkane/vim-indent-guides' " plugin from http://vim-scripts.org/vim/scripts.html Plugin 'L9'