|
|
@ -7,6 +7,8 @@ source $VIM/python_vimrc |
|
|
|
|
|
|
|
|
|
|
|
source $VIMRUNTIME/vimrc_example.vim |
|
|
|
source $VIMRUNTIME/vimrc_example.vim |
|
|
|
source $VIMRUNTIME/mswin.vim |
|
|
|
source $VIMRUNTIME/mswin.vim |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
" 如下命令使鼠标用起来象微软 Windows |
|
|
|
behave mswin |
|
|
|
behave mswin |
|
|
|
|
|
|
|
|
|
|
|
" using monokai color |
|
|
|
" using monokai color |
|
|
@ -14,10 +16,6 @@ behave mswin |
|
|
|
" https://github.com/tomasr/molokai |
|
|
|
" https://github.com/tomasr/molokai |
|
|
|
colorscheme 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 |
|
|
|
" Ignore case when searching |
|
|
|
set ignorecase |
|
|
|
set ignorecase |
|
|
|
|
|
|
|
|
|
|
@ -85,6 +83,9 @@ set statusline+=%3*%c, "column |
|
|
|
set statusline+=%l/%L "line no/all line" |
|
|
|
set statusline+=%l/%L "line no/all line" |
|
|
|
set statusline+=\ %P |
|
|
|
set statusline+=\ %P |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set showcmd |
|
|
|
|
|
|
|
|
|
|
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
|
|
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
|
|
|
" => Files, backups and undo |
|
|
|
" => Files, backups and undo |
|
|
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
|
|
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
|
|
@ -93,7 +94,25 @@ set nobackup |
|
|
|
set nowb |
|
|
|
set nowb |
|
|
|
set noswapfile |
|
|
|
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() |
|
|
|
set diffexpr=MyDiff() |
|
|
|
function MyDiff() |
|
|
|
function MyDiff() |
|
|
|