Commits

Evgeniy Tatarkin  committed 5d83f0a

new colors, quicktasks, font

  • Participants
  • Parent commits 38e1627

Comments (0)

Files changed (2)

 " Plugins {{{
 Bundle "taglist.vim"
 Bundle "https://github.com/scrooloose/nerdtree.git"
+
 Bundle "https://github.com/ervandew/supertab.git"
-Bundle "Tagma-Buffer-Manager"
+"Bundle "mru.vim"
+"Bundle "Tagma-Buffer-Manager"
 
 " python specified bundles
-Bundle "pyflakes.vim"
+Bundle "https://github.com/scrooloose/syntastic.git"
 Bundle "pep8"
 Bundle "pydoc.vim"
 Bundle "https://github.com/peplin/ropevim.git"
 Bundle "https://github.com/estin/htmljinja.git"
 
 Bundle "https://github.com/mileszs/ack.vim"
+Bundle "https://github.com/coderifous/textobj-word-column.vim.git"
 Bundle "git://github.com/tpope/vim-fugitive.git"
+Bundle "gitv"
 Bundle "git://repo.or.cz/vcscommand"
 
 Bundle "https://github.com/Lokaltog/vim-powerline.git"
+Bundle "https://github.com/aaronbieber/quicktask.git"
+Bundle "log.vim"
 
 Bundle "https://github.com/kchmck/vim-coffee-script.git"
 "Bundle "https://github.com/ukstv/plantuml-syntax.vim.git"
 Bundle "https://github.com/rson/vim-conque.git"
 Bundle "https://github.com/majutsushi/tagbar.git"
+Bundle "Tail-Bundle"
+
+Bundle "https://github.com/jdevera/vim-protobuf-syntax.git"
 
 " FuzzyFileFinder CTRL-P
 Bundle "https://github.com/kien/ctrlp.vim.git"
 "Bundle "Zenburn"
 "Bundle "wombat256.vim"
 "Bundle "jellybeans.vim"
+"Bundle "kib_darktango.vim"
+"Bundle "kellys"
+"Bundle "inkpot"
 Bundle "https://github.com/altercation/vim-colors-solarized.git"
+Bundle "rdark"
+Bundle "Mustang2"
+Bundle "https://github.com/w0ng/vim-hybrid.git"
+"}}}
 
-"}}}
+let g:syntastic_python_checker = 'pyflakes'
+
 
 filetype on
 filetype plugin on
 set nocompatible
 
 " Font
-set guifont=Inconsolata\ 12
+set guifont=Inconsolata\ 11
 
 " Change the mapleader from \ to ,
 let mapleader=","
 " Editing behaviour {{{
 set keymap=russian-jcukenwin
 set iminsert=0
+set imsearch=0
 set showmode                    " always show what mode we're currently editing in
 set nowrap                      " don't wrap lines
 set tabstop=4                   " a tab is four spaces
     let g:qfix_win = bufnr("$")
   endif
 endfunction
+
+autocmd InsertEnter * :set number
+autocmd InsertLeave * :set relativenumber
 " }}}
 
 " Shortcut mappings {{{
 
 " Highlighting {{{
 syntax on
-set background=dark
+"set background=dark
+set background=light
+let s:mycolors = 'hybrid'
+"let s:mycolors = 'rdark'
+"let s:mycolors = 'solarized'
+"let s:mycolors = 'Mustang'
 
-let s:mycolors = 'solarized'
 try
     execute 'colorscheme '.s:mycolors
 catch /E185:/
     echo 'Colorscheme not founded: '.s:mycolors .' Try install it'
 endtry
+
+highlight Comment guifg=DarkGrey
 " }}}
 
 " Restore cursor position upon reopening files {{{
 
         if exists('+colorcolumn')
             autocmd filetype python setlocal colorcolumn=80
+            highlight ColorColumn guibg=Black
         endif
 
-        autocmd filetype python match ErrorMsg '\%>80v.\+'
+        "autocmd filetype python match ErrorMsg '\%>80v.\+'
+        autocmd filetype python match WarningMsg '\%>80v.\+'
 
         " But disable autowrapping as it is super annoying
         autocmd filetype python setlocal formatoptions-=t
 let NERDTreeShowHidden=1
 
 " Quit on opening files from the tree
-let NERDTreeQuitOnOpen=1
+let NERDTreeQuitOnOpen=0
 
 " Highlight the selected entry in the tree
 let NERDTreeHighlightCursorline=1
 let NERDTreeIgnore=[ '\.pyc$', '\.pyo$', '\.py\$class$', '\.obj$',
             \ '\.o$', '\.so$', '\.egg$', '^\.git$', '\.svn$']
 
+let g:NERDTreeWinPos = 'right'
+let g:NERDTreeWinSize = 31
+let g:NERDTreeStatusline = -1
 " }}}
 
 " TagList settings {{{
 " TagBar settings {{{
 nnoremap <leader>l :TagbarToggle<CR>
 nnoremap <leader>L :TagbarClose<CR>
-let g:tagbar_autoclose = 1
+let g:tagbar_autoclose = 0
 let g:tagbar_autoshowtag = 1
 " }}}
 
 map <F9> :match UglyDosLineend /\s*\zs\r/ <CR>
 " }}}
 
-" Powerline config {{{
-let g:Powerline_symbols = 'unicode'
+" Powerline settings {{{
+let g:Powerline_symbols = 'fancy'
 " }}}
+
+" Vcscommand settings {{{
+nmap <leader>d :VCSDiff <CR>
+" }}}
+
+" Mru settins {{{
+let g:ctrlp_mruf_last_entered = 1
+let g:ctrlp_mruf_relative = 1
+nmap <leader>r :CtrlPMRUFiles<CR>
+" }}}
+
+"let g:virtualenv_directory = '/home/user/prj/whiteteam'
+let g:virtualenv_directory = '/home/user/Envs'
+"autocmd FileType python :VirtualEnvActivate env
+
+" Auto reload vim settins.
+au! BufWritePost *.vim source ~/.vimrc
+
+au! Syntax wtlog source ~/.vim/wtlog.vim
+
+set exrc
+set secure

File vim/README.rst

 
     pip install ropevim pep8 pyflakes
 
-Font::
+Patched font for powerline plugin::
 
-    wget http://www.levien.com/type/myfonts/Inconsolata.otf -O ~/.fonts/Inconsolata.otf
+    wget https://gist.github.com/raw/1595572/51bdd743cc1cc551c49457fe1503061b9404183f/Inconsolata-dz-Powerline.otf -O ~/.fonts/Inconsolata.otf
 
 
 CheetSheet