filetype indent on
set autoindent
map <F5> :call CompileRunGpp()<CR>
func! CompileRunGpp()
exec "w"
exec "!g++ % -o %<.exe"
exec "!./%<.exe"
endfunc
Is there a way to make my program run in a new terminal window instead of
inside GVim?
--
View this message in context: http://vim.1045645.n5.nabble.com/GVim-vimrc-Help-tp3391470p3391470.html
Sent from the Vim - General mailing list archive at Nabble.com.
Have a look at the documentation of your console. Eg for xterm:
xterm -e watch ls -l
You may want to background it..
Marc Weber
Yes. You got it. You asked for running an application in an external
terminal, didn't you?
On linux you have to learn about both: man and info.
Eg man xterm then /-e n n will jump to the description of the -e flag.
Marc Weber