aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2020-07-22 16:06:42 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2020-07-22 16:06:42 +0200
commit638ce253199858562145bbeecdb0f449ad0423f5 (patch)
tree34bf5471dba4ad7c37dff2b31a146f086f828988
parentf9d5aea0e15bb796f12745aa11b7c696c0601e04 (diff)
downloaddotfiles-638ce253199858562145bbeecdb0f449ad0423f5.tar.gz
modified for transition back to VIM from NVIM
-rw-r--r--.vim/vimrc7
1 files changed, 6 insertions, 1 deletions
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