Add leader shortcut for splitting window before gf

This commit is contained in:
flyingscorpio@pinebookpro 2021-10-11 15:32:07 +02:00
parent f2c63fe5ca
commit e8045b5f4b

View file

@ -24,6 +24,10 @@ nmap <leader>p "*p
" run make
nmap <leader>m :w<CR>:!make<CR>
" follow file in split window
nmap <leader>gf :split<CR>gf<CR>
nmap <leader>vgf :vertical split<CR>gf<CR>
" open terminal in split window
if has('nvim')
nmap <leader>t :below 10split<CR>:terminal<CR>i