Update vimrc and zshrc
This commit is contained in:
parent
5ccc2add3c
commit
0403e7ef1f
9
vimrc
9
vimrc
|
@ -124,9 +124,12 @@ map <leader>m :marks<cr>
|
|||
map <leader>R :ALERename<cr>
|
||||
map <leader>v :vsplit<cr>
|
||||
map <leader>s :split<cr>
|
||||
map <leader>bl :Gblame<cr>
|
||||
" ctrl-c to unload a buffer
|
||||
nnoremap <silent> <c-q> :bp\|bd #<cr>
|
||||
map <leader>ab :Gblame<cr>
|
||||
map <leader>as :Gstatus<cr>
|
||||
" yank filename of current buffer:
|
||||
nmap <leader>f :let @" = expand("%")<cr>
|
||||
" and into + register:
|
||||
nmap <leader>F :let @+ = expand("%")<cr>
|
||||
|
||||
function! ToggleQuickFix()
|
||||
if empty(filter(getwininfo(), 'v:val.quickfix'))
|
||||
|
|
Loading…
Reference in New Issue