1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-12-26 01:01:32 +01:00

vim: bind fugitive to <leader>g, ack to <leader>k

This commit is contained in:
bretello 2020-11-22 16:01:56 +01:00
parent b7ebe66bb7
commit a011c44ade

View File

@ -3,6 +3,7 @@ colorscheme twilight256
let g:ale_set_balloons = 1
set mouse=a relativenumber number foldmethod=indent nofoldenable "without nofoldenable all folds are closed at startup"
set foldlevelstart=3
set ttymouse=xterm2 " fix mouse when used in tmux/byobu https://unix.stackexchange.com/q/50733
@ -146,7 +147,8 @@ nnoremap <leader>wz :call WinZoomToggle()<CR>
nnoremap <leader>/ :G<CR>
nnoremap <leader>C :close<CR>
nnoremap <leader>B :Bclose<CR>
nnoremap <leader>G :Git<CR>
nnoremap <leader>k :Ack
nnoremap <leader>g :Git<CR>
nnoremap <leader>gd :Git diff<CR>
nnoremap <leader>gp :Git push<CR>
nnoremap <leader>gpf :Git push --force-with-lease<CR>
@ -174,7 +176,6 @@ nmap <leader>n :ALEFindReferences<CR>
nmap <leader>h :ALEHover<CR>
nmap <leader>r :ALERename<CR>
nmap <leader>t :CtrlPTag<CR>
" Add shortcuts to yank/paste to unnamed/unnamedplus clipboards