diff --git a/bin/socks5_on_1080.sh b/bin/socks5_on_1080.sh deleted file mode 100755 index a4cf1ce..0000000 --- a/bin/socks5_on_1080.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -ssh -f -N -D 192.168.0.3:1080 yerevak.vostan.org diff --git a/config/.gitconfig b/config/.gitconfig index 71f9342..537d598 100644 --- a/config/.gitconfig +++ b/config/.gitconfig @@ -23,3 +23,5 @@ path = ~/.gitconfig.local [core] excludesfile = ~/.gitignore.global +[credentail] + helper = cache diff --git a/vim/vimrc b/vim/vimrc index c65b16e..5a247fa 100755 --- a/vim/vimrc +++ b/vim/vimrc @@ -427,6 +427,7 @@ if filereadable(expand('~/.vim/bundle/Vundle.vim/README.md')) let g:airline#extensions#tabline#left_sep = ' ' let g:airline#extensions#tabline#left_alt_sep = '|' let g:airline_powerline_fonts = 1 + " " " @@ -461,7 +462,6 @@ if filereadable(expand('~/.vim/bundle/Vundle.vim/README.md')) let g:buffergator_viewport_split_policy = "L" map ab :BuffergatorToggle "map at :BuffergatorTabsToggle - " " :A switches to the header file (or vise versa) " :AS splits and switches @@ -483,6 +483,11 @@ if filereadable(expand('~/.vim/bundle/Vundle.vim/README.md')) let g:alternateExtensions_cpp = "h" let g:alternateExtensions_c = "h" map ah :A + + " + " Tmux integration. + " + Plugin 'benmills/vimux' " " Extends modeline to variables. " Needed by CF5 compile to read options right from file. @@ -495,7 +500,7 @@ if filereadable(expand('~/.vim/bundle/Vundle.vim/README.md')) Plugin 'vishap/cf5-compile' map ac :call CF5CompileOnly() map ar :call CF5CompileAndRun() - + " " Provide templates " @@ -534,7 +539,7 @@ if filereadable(expand('~/.vim/bundle/Vundle.vim/README.md')) " :GitGutterLineHighlightsToggle " Plugin 'airblade/vim-gitgutter' - let g:gitgutter_sign_column_always = 1 + set signcolumn=yes let g:gitgutter_map_keys = 0 let g:gitgutter_realtime = 0 let g:gitgutter_eager = 0 @@ -552,19 +557,26 @@ if filereadable(expand('~/.vim/bundle/Vundle.vim/README.md')) " " Nice colorschemes. + " Actual colorscheme is set outside as vundle resets it. " - if has("gui_running") + if &t_Co >= 256 || has('gui_running') Plugin 'nanotech/jellybeans.vim' + let g:jellybeans_use_lowcolor_black = 0 "colorscheme jellybeans - "let g:jellybeans_use_lowcolor_black = 0 endif - if has("gui_running") + if &t_Co >= 256 || has('gui_running') Plugin 'altercation/vim-colors-solarized.git' let g:solarized_termcolors=256 "set backgroung=dark "set backgroung=light "colorscheme solarized endif + if &t_Co >= 256 || has('gui_running') + Plugin 'morhetz/gruvbox.git' + "set backgroung=dark + "set backgroung=light + "colorscheme solarized + endif " " :set syntax=cpp.doxygen to highlight doxygen comments. @@ -598,6 +610,15 @@ if filereadable(expand('~/.vim/bundle/Vundle.vim/README.md')) filetype plugin on endif +" +" Vundle resets this if set inside vundle section. +" +if &t_Co >= 256 || has('gui_running') + colorscheme jellybeans + hi clear SpellBad + hi SpellBad cterm=underline, ctermfg=red +endif + if exists("dddd") "Plugin 'Rip-Rip/clang_complete'