Plugin 'derekwyatt/vim-fswitch'
Plugin 'elzr/vim-json'
Plugin 'firef0x/pkgbuild.vim'
-Plugin 'flazz/vim-colorschemes'
Plugin 'junegunn/vim-easy-align'
Plugin 'justinmk/vim-sneak'
Plugin 'klen/python-mode'
Plugin 'vim-scripts/replacewithregister'
Plugin 'vim-scripts/yankring.vim'
+" colorschemes
+Plugin 'flazz/vim-colorschemes'
+
" snippets
Plugin 'sirver/ultisnips'
Plugin 'honza/vim-snippets'
Plugin 'alx741/vinfo'
Plugin 'vim-scripts/mediawiki.vim'
Plugin 'derekwyatt/vim-protodef'
+Plugin 'rdnetto/ycm-generator'
+" needs editing colorscheme
+" Plugin 'jeaye/color_coded'
" remove entries first
set runtimepath -=$HOME/.vim
" colorscheme {{{1
syntax on
-colorscheme badwolf
+colorscheme badfox
" options {{{1
-" put $ and the end of text to be replaced with 'cw' and the likes
-set cpoptions+=$
-
" moving around, searching and patterns {{{2
set incsearch " show match for partly typed search command
set ignorecase " ignore case when using a search pattern
map <space> <leader>
" make
-nnoremap <leader>r :make<cr>
-nnoremap <leader><cr> :make<cr>
+nnoremap <leader>r :make!<cr>
+nnoremap <leader><cr> :make!<cr>
" unhighlight search
nnoremap <silent> <Leader>/ :silent nohl<CR>
nmap <silent> <leader>qq :echo "hi<" . synIDattr(synID(line("."),col("."),1),"name") . '> trans<' . synIDattr(synID(line("."),col("."),0),"name") . "> lo<" . synIDattr(synIDtrans(synID(line("."),col("."),1)),"name") . ">"<CR>
" commands {{{1
-command! Cd lcd %:h
-command! Cr execute('lcd ' . FindGitDirOrHome())
+command! Cd cd %:h
+command! Cr execute('cd ' . FindGitDirOrHome())
+command! LCd lcd %:h
+command! LCr execute('lcd ' . FindGitDirOrHome())
" plugins options {{{1
" airline {{{2
let g:unite_source_grep_default_opts = '--smart-case -w --vimgrep --hidden --ignore ''.hg'' --ignore ''.svn'' --ignore ''.git'' --ignore ''.bzr'''
let g:unite_source_grep_recursive_opt = ''
end
-nnoremap <silent> [unite]a :<C-u>Unite grep -input=\12\17<CR>
+nnoremap <silent> [unite]a :<C-u>Unite grep:.::\12\17<CR>
command! -nargs=1 Ag Unite grep -input=<args>
" unite-file_rec {{{3