Add leader shortcut for splitting window before gf
This commit is contained in:
parent
f2c63fe5ca
commit
e8045b5f4b
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue