prompt within gvim/vim/vi
My instructor get the linux prompt in emacs. I like to use vi instead. Is there a way to get the prompt in vi?
|
hi there,
if by prompt, you mean shell... yes Code:
:shell regards slackie1000 [edit] forgot the exclamation. sorry. |
I'm guessing you mean can I start a shell session from within vi.
If so, the answer is yes you can. Type :!sh That's colon exclamation sh |
Thanks Disillusionist,
How do you get out of shell back into editing your text file? The idea here is to write code and compile it in all from vi. thx |
Tried exit ? Was the first thing that came to my mind.
|
Yes just typing exit bring you back to the editor.
BTW: you can run single commands the same way Example: :!ls -l colon exclamation (LS -L) |
Great, this is exactly what I was hoping to find about vim. Thx everyone
|
All times are GMT -5. The time now is 10:53 PM. |