From 638ce253199858562145bbeecdb0f449ad0423f5 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Wed, 22 Jul 2020 16:06:42 +0200 Subject: modified for transition back to VIM from NVIM --- .vim/vimrc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to '.vim/vimrc') diff --git a/.vim/vimrc b/.vim/vimrc index 3ed1ee6..8f285b2 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -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 -- cgit v1.2.3