add hardtime and grepper. also quickfix shortkeys

This commit is contained in:
Felix Van der Jeugt 2015-12-30 01:23:08 +01:00
parent 4dd82ecc72
commit 9f1df652a3
1 changed files with 20 additions and 7 deletions

View File

@ -37,11 +37,11 @@ nnoremap <Up> <NOP>
nnoremap <Down> <NOP> nnoremap <Down> <NOP>
nnoremap <Left> <NOP> nnoremap <Left> <NOP>
nnoremap <Right> <NOP> nnoremap <Right> <NOP>
nnoremap <Leader>gg <C-w><C-w> nnoremap <Leader>wg <C-w><C-w>
nnoremap <Leader>gh <C-w>h nnoremap <Leader>wh <C-w>h
nnoremap <Leader>gj <C-w>j nnoremap <Leader>wj <C-w>j
nnoremap <Leader>gk <C-w>k nnoremap <Leader>wk <C-w>k
nnoremap <Leader>gl <C-w>l nnoremap <Leader>wl <C-w>l
" Not too much folding " Not too much folding
set foldlevelstart=2 set foldlevelstart=2
@ -50,6 +50,11 @@ set foldlevelstart=2
nnoremap <Leader>s :vsplit +:terminal<CR> nnoremap <Leader>s :vsplit +:terminal<CR>
tnoremap <Esc> <C-\><C-n> tnoremap <Esc> <C-\><C-n>
" Quickfixing
nnoremap <Leader>co :copen<CR>
nnoremap <Leader>cn :cnext<CR>
nnoremap <Leader>cp :cprevious<CR>
" General Options }}} " General Options }}}
" Plugins {{{ " Plugins {{{
@ -72,12 +77,14 @@ Plug 'chriskempson/base16-vim'
Plug 'junegunn/vim-after-object' Plug 'junegunn/vim-after-object'
Plug 'junegunn/vim-peekaboo' Plug 'junegunn/vim-peekaboo'
Plug 'takac/vim-hardtime'
Plug 'mhinz/vim-grepper'
call plug#end() call plug#end()
" Plugin configuration " Plugin configuration
" -------------------- " --------------------
let g:ctrlp_map='<Leader>l' let g:ctrlp_map='<Leader>l'
let g:ctrlp_user_command = ['.git/', 'git --git-dir=%s/.git ls-files -oc --exclude-standard'] let g:ctrlp_user_command=['.git/', 'git --git-dir=%s/.git ls-files -oc --exclude-standard']
let g:airline_powerline_fonts=1 let g:airline_powerline_fonts=1
@ -98,7 +105,7 @@ nmap <Leader>f <Plug>(easymotion-s)
nmap <Leader>j <Plug>(easymotion-j) nmap <Leader>j <Plug>(easymotion-j)
nmap <Leader>k <Plug>(easymotion-k) nmap <Leader>k <Plug>(easymotion-k)
let g:ycm_global_ycm_extra_conf = '~/.config/nvim/ycm_extra_conf.py' let g:ycm_global_ycm_extra_conf='~/.config/nvim/ycm_extra_conf.py'
"set completeopt=menu "set completeopt=menu
let base16colorspace=256 let base16colorspace=256
@ -107,6 +114,12 @@ colorscheme base16-colors
highlight LineNr ctermfg=08 ctermbg=NONE highlight LineNr ctermfg=08 ctermbg=NONE
autocmd VimEnter * call after_object#enable('=', ':', '-', '#', ' ') autocmd VimEnter * call after_object#enable('=', ':', '-', '#', ' ')
let g:hardtime_default_on=1
let g:hardtime_ignore_quickfix=1
let g:hardtime_maxcount=2
nnoremap <Leader>g :Grepper<CR>
" Plugged }}} " Plugged }}}
" vim: foldmethod=marker " vim: foldmethod=marker