diff --git a/.travis.yml b/.travis.yml index 52b8872b..82c75db0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ os: language: python python: - - 2.7 + - 2.7.5 script: - date diff --git a/.vimrc b/.vimrc index 6ca03495..80dac480 100644 --- a/.vimrc +++ b/.vimrc @@ -64,7 +64,7 @@ set tabstop=4 " 统一缩进为4 set softtabstop=4 set shiftwidth=4 -" 不要用空格代替制表符 +" 使用空格代替制表符 set expandtab " 在行和段开始处使用制表符 set smarttab @@ -172,6 +172,7 @@ map :tabn map! zzi map! , map ggVG$"+y +map :w map gg=G map w imap , @@ -205,7 +206,7 @@ func! CompileRunGcc() exec "!g++ % -o %<" exec "!time ./%<" elseif &filetype == 'cpp' - exec "!g++ % -o %<" + exec "!g++ % -std=c++11 -o %<" exec "!time ./%<" elseif &filetype == 'java' exec "!javac %" @@ -228,7 +229,7 @@ endfunc map :call Rungdb() func! Rungdb() exec "w" - exec "!g++ % -g -o %<" + exec "!g++ % -std=c++11 -g -o %<" exec "!gdb ./%<" endfunc @@ -364,8 +365,8 @@ let Tlist_Exist_OnlyWindow = 1 " 如果只有一个buffer,kill窗口也kill ""let Tlist_Enable_Fold_Column = 0 " 不要显示折叠树 "let Tlist_Show_One_File=1 "不同时显示多个文件的tag,只显示当前文件的 "设置tags -"set tags=tags -"set autochdir +set tags=tags; +set autochdir """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" diff --git a/ftplugin/python/pyflakes.vim b/ftplugin/python/pyflakes.vim index 5a0b44ce..5cb1107e 100755 --- a/ftplugin/python/pyflakes.vim +++ b/ftplugin/python/pyflakes.vim @@ -267,7 +267,7 @@ EOF call setqflist(b:qf_list, 'r') else " one pyflakes quickfix window for all buffer - call setqflist(b:qf_list, '') + call setqflist(b:qf_list, ' ') let s:pyflakes_qf = s:GetQuickFixStackCount() endif endif diff --git a/update_log.md b/update_log.md index 888738e5..f75f4b7e 100644 --- a/update_log.md +++ b/update_log.md @@ -9,7 +9,7 @@ ### 2013年5月31日更新 - 增加400多种主题,可以在[colors](colors)目录中找到 -- 可以在[这里](http://vimcolorschemetest.googlecode.com/svn/html/index-c.html)预览 +- 可以在[这里](http://vimcolors.com/)预览 - 将`color ron`中的`ron`换成你喜欢的主题名字即可 - 重新打开vim生效