add hardtime and grepper. also quickfix shortkeys
This commit is contained in:
parent
4dd82ecc72
commit
9f1df652a3
@ -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,6 +77,8 @@ 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
|
||||||
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user