Browse Source

modify

remotes/origin/master
Ein Verne 10 years ago
parent
commit
0ca2a028ac
  1. 31
      _vimrc
  2. 2
      vundle_vimrc

31
_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 = "<C-N>"
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 <F2> :NERDTree<cr>
" Plugin settings
" NERDTree
map <F2> :NERDTreeToggle<cr>
" 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 = "<C-N>"
let g:jedi#popup_on_dot = 0
set diffexpr=MyDiff()
function MyDiff()

2
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'

Loading…
Cancel
Save