diff options
-rw-r--r-- | .gitmodules | 6 | ||||
-rwxr-xr-x | install | 2 | ||||
m--------- | vim/bundle/YouCompleteMe | 0 | ||||
m--------- | vim/bundle/tagbar | 0 | ||||
m--------- | vim/bundle/vim-gitgutter | 0 | ||||
m--------- | vim/bundle/vim-repeat | 0 | ||||
m--------- | vim/bundle/vim-snippets | 0 | ||||
m--------- | vim/bundle/vim-surround | 0 | ||||
m--------- | vim/bundle/vim-table-mode | 0 | ||||
-rw-r--r-- | vim/ftplugin/python.vim | 2 | ||||
-rw-r--r-- | vimrc | 14 |
11 files changed, 13 insertions, 11 deletions
diff --git a/.gitmodules b/.gitmodules index b169170..c6c3c77 100644 --- a/.gitmodules +++ b/.gitmodules @@ -43,3 +43,9 @@ [submodule "vim/bundle/vim-indent-guides"] path = vim/bundle/vim-indent-guides url = git://github.com/nathanaelkane/vim-indent-guides.git +[submodule "vim/bundle/vim-surround"] + path = vim/bundle/vim-surround + url = git://github.com/tpope/vim-surround.git +[submodule "vim/bundle/vim-repeat"] + path = vim/bundle/vim-repeat + url = https://github.com/tpope/vim-repeat.git @@ -55,7 +55,7 @@ if ask "Install VIM scripts"; then mkdir -p ~/.cache/vim-undo # directory for undo files if [ "$YCM_REV" != "y" ]; then ( cd $YCM_PATH - ./install.py --clang-completer --system-libclang --racer-completer + ./install.py --clang-completer --system-libclang ); else echo "YouCompleteMe is not required to be recompiled" fi diff --git a/vim/bundle/YouCompleteMe b/vim/bundle/YouCompleteMe -Subproject 3e318800b4b63c31a6c75d1e8b34543fadcb388 +Subproject 369fdade93adf23ef3da3b5f8e9fcd14a2b3f09 diff --git a/vim/bundle/tagbar b/vim/bundle/tagbar -Subproject f5792732de16b8a2cc202f920e363eb413d7241 +Subproject d880bcc333938ee1ed4a99fd89480eff9b6502a diff --git a/vim/bundle/vim-gitgutter b/vim/bundle/vim-gitgutter -Subproject dcac1f74ee5c26125363dca164463bde6657c83 +Subproject dc73a81bfe59a9de090b89a1312ded3c6f6a6f8 diff --git a/vim/bundle/vim-repeat b/vim/bundle/vim-repeat new file mode 160000 +Subproject 070ee903245999b2b79f7386631ffd29ce9b8e9 diff --git a/vim/bundle/vim-snippets b/vim/bundle/vim-snippets -Subproject 0817950a4fb8ccd48ec38a2b65cf046b597eecb +Subproject 2657c86d942e09b753dd63f200ddd05eb5b36f3 diff --git a/vim/bundle/vim-surround b/vim/bundle/vim-surround new file mode 160000 +Subproject e49d6c2459e0f5569ff2d533b4df995dd7f9831 diff --git a/vim/bundle/vim-table-mode b/vim/bundle/vim-table-mode -Subproject 4e41af8e5f0bf53326d1b83c2feb1eff89fe90d +Subproject a646b4033ba86496ee0fff442ce854055104027 diff --git a/vim/ftplugin/python.vim b/vim/ftplugin/python.vim new file mode 100644 index 0000000..03b655f --- /dev/null +++ b/vim/ftplugin/python.vim @@ -0,0 +1,2 @@ +setlocal colorcolumn=79 +setlocal textwidth=79 @@ -49,10 +49,12 @@ endfunction command TabToogle call TabToogle() " Indent guides +let g:indent_guides_enable_on_vim_startup = 1 let g:indent_guides_start_level=2 let g:indent_guides_guide_size=1 -hi IndentGuidesOdd ctermbg=black -hi IndentGuidesEven ctermbg=102 +let g:indent_guides_auto_colors = 0 +autocmd VimEnter,Colorscheme * :hi IndentGuidesOdd ctermbg=232 +autocmd VimEnter,Colorscheme * :hi IndentGuidesEven ctermbg=233 " Write as root cmap w!! w !sudo tee >/dev/null % @@ -103,14 +105,6 @@ endfunction setlocal spelllang=en_us map <F11> :call LangToggle()<cr> -" TODO for python file type set: -" set colorcolumn=79 -" set textwidth=79 - -" TODO for C file type set: -" TODO bind F2 to execute gnu ident on whole file and ensure that if it fails, no change is done. -" TODO check if .tags exists and alternativelly warn that it missing - " UltiSnips triggers let g:UltiSnipsExpandTrigger="<c-h>" let g:UltiSnipsJumpForwardTrigger="<c-j>" |