mirror of
https://github.com/vim/vim.git
synced 2026-04-23 12:15:52 +02:00
70 lines
1.2 KiB
VimL
70 lines
1.2 KiB
VimL
|
|
" Vim :terminal command
|
||
|
|
" VIM_TEST_SETUP hi link vimTerminalCommand Todo
|
||
|
|
|
||
|
|
|
||
|
|
terminal
|
||
|
|
terminal ++kill=term tail -f /tmp/log
|
||
|
|
terminal ++hidden ++open make
|
||
|
|
|
||
|
|
|
||
|
|
" line continuations
|
||
|
|
|
||
|
|
terminal ++kill=term ++hidden tail
|
||
|
|
\ -f
|
||
|
|
\ /tmp/log
|
||
|
|
terminal ++kill=term ++hidden
|
||
|
|
\ tail
|
||
|
|
\ -f
|
||
|
|
\ /tmp/log
|
||
|
|
terminal ++kill=term
|
||
|
|
\ ++hidden
|
||
|
|
\ tail
|
||
|
|
\ -f
|
||
|
|
\ /tmp/log
|
||
|
|
terminal
|
||
|
|
\ ++kill=term
|
||
|
|
\ ++hidden
|
||
|
|
\ tail
|
||
|
|
\ -f
|
||
|
|
\ /tmp/log
|
||
|
|
terminal
|
||
|
|
"\ comment
|
||
|
|
\ ++kill=term
|
||
|
|
"\ comment
|
||
|
|
\ ++hidden
|
||
|
|
"\ comment
|
||
|
|
\ tail
|
||
|
|
"\ comment
|
||
|
|
\ -f
|
||
|
|
"\ comment
|
||
|
|
\ /tmp/log
|
||
|
|
|
||
|
|
|
||
|
|
" all options
|
||
|
|
|
||
|
|
terminal ++close ++noclose ++open ++curwin ++hidden ++norestore ++shell ++kill=term ++rows=42 ++cols=42 ++eof=exit ++type=conpty ++api=Tapi_ tail -f /tmp/log
|
||
|
|
terminal
|
||
|
|
\ ++close
|
||
|
|
\ ++noclose
|
||
|
|
\ ++open
|
||
|
|
\ ++curwin
|
||
|
|
\ ++hidden
|
||
|
|
\ ++norestore
|
||
|
|
\ ++shell
|
||
|
|
\ ++kill=term
|
||
|
|
\ ++rows=42
|
||
|
|
\ ++cols=42
|
||
|
|
\ ++eof=exit
|
||
|
|
\ ++type=conpty
|
||
|
|
\ ++api=Tapi_
|
||
|
|
\ tail
|
||
|
|
\ -f
|
||
|
|
\ /tmp/log
|
||
|
|
|
||
|
|
|
||
|
|
" escaped option prefix ++
|
||
|
|
|
||
|
|
terminal \++close
|
||
|
|
terminal ++close \++noclose
|
||
|
|
|