diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2020-07-22 16:06:42 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2020-07-22 16:06:42 +0200 |
commit | 638ce253199858562145bbeecdb0f449ad0423f5 (patch) | |
tree | 34bf5471dba4ad7c37dff2b31a146f086f828988 | |
parent | f9d5aea0e15bb796f12745aa11b7c696c0601e04 (diff) | |
download | dotfiles-638ce253199858562145bbeecdb0f449ad0423f5.tar.gz |
modified for transition back to VIM from NVIM
-rw-r--r-- | .vim/vimrc | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -20,6 +20,7 @@ let g:airline#extensions#whitespace#enabled = 1 let g:airline_powerline_fonts = 1 "show line endings and tabs +set listchars=tab:>\ ,trail:~,extends:>,precedes:< set list " Use todo#Complete as the omni complete function for todo files @@ -103,8 +104,12 @@ function Insert_Header(name) endfunction function Run_in_terminal(prog) + if !has('terminal') + return + endif + tabnew - execute "terminal " . a:prog + execute "terminal ++curwin" . a:prog startinsert endfunction |