mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-10 19:23:03 +03:00
Tilde > terminal
This commit is contained in:
parent
91983f536b
commit
c17914fa4f
1 changed files with 11 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ Plug 'kshenoy/vim-signature'
|
|||
|
||||
Plug 'mhinz/vim-startify'
|
||||
|
||||
Plug 'suan/vim-instant-markdown', {'for': 'markdown'} "npm -g install instant-markdown-d
|
||||
"Plug 'suan/vim-instant-markdown', {'for': 'markdown'} "npm -g install instant-markdown-d
|
||||
|
||||
"General syntax check
|
||||
"Plug 'scrooloose/syntastic'
|
||||
|
|
@ -233,6 +233,16 @@ nnoremap ` :call SubTerminal()<CR>
|
|||
|
||||
" }}}
|
||||
|
||||
" Terminal in tab {{{
|
||||
function! OpenTerminalInTab()
|
||||
execute ':tabnew'
|
||||
execute ':terminal'
|
||||
normal i
|
||||
endfunction
|
||||
|
||||
nnoremap ~ :call OpenTerminalInTab()<CR>
|
||||
" }}}
|
||||
|
||||
" Git diff stats {{{
|
||||
function! Gstats()
|
||||
execute '!git diff --stat'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue