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

View File

@ -37,11 +37,11 @@ nnoremap <Up> <NOP>
nnoremap <Down> <NOP>
nnoremap <Left> <NOP>
nnoremap <Right> <NOP>
nnoremap <Leader>gg <C-w><C-w>
nnoremap <Leader>gh <C-w>h
nnoremap <Leader>gj <C-w>j
nnoremap <Leader>gk <C-w>k
nnoremap <Leader>gl <C-w>l
nnoremap <Leader>wg <C-w><C-w>
nnoremap <Leader>wh <C-w>h
nnoremap <Leader>wj <C-w>j
nnoremap <Leader>wk <C-w>k
nnoremap <Leader>wl <C-w>l
" Not too much folding
set foldlevelstart=2
@ -50,6 +50,11 @@ set foldlevelstart=2
nnoremap <Leader>s :vsplit +:terminal<CR>
tnoremap <Esc> <C-\><C-n>
" Quickfixing
nnoremap <Leader>co :copen<CR>
nnoremap <Leader>cn :cnext<CR>
nnoremap <Leader>cp :cprevious<CR>
" General Options }}}
" Plugins {{{
@ -72,6 +77,8 @@ Plug 'chriskempson/base16-vim'
Plug 'junegunn/vim-after-object'
Plug 'junegunn/vim-peekaboo'
Plug 'takac/vim-hardtime'
Plug 'mhinz/vim-grepper'
call plug#end()
" Plugin configuration
@ -107,6 +114,12 @@ colorscheme base16-colors
highlight LineNr ctermfg=08 ctermbg=NONE
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 }}}
" vim: foldmethod=marker