Guim's shell problem

I have been using Gvim for a long time, and I really like it.
There is a problem that I am facing with Guim.
I type "shell" and go to the command line. When I press the up arrow, I get weird characters, and I also can't use backspace.
The version I'm using.
VIM-Vi IMproved 7.2 (2008 August 9, compiled March 19, 2009 15:27:51)

+5
source share
3 answers

Unfortunately, the reason for this is not that gvim is an editor, not a terminal emulator. When you type yoy: shell in gvim, you are not actually getting a shell, you are getting some weak shell emulation. I say "weak" because shell emulation does not know how to deal with color codes, clear the screen or much more.

I adhere to terminal vim, so I can either use: shell, or, as much more often, ^ Z to just go back to my shell to do something (^ Z == suspend) This, plus a gnu-screen, plus a nice shell is all the IDEs I want.

+4
source
+2
source

vim is not for such complicated things that I think. you can perform a simple shell operation via :! or: shell. However, vim is only a good if not the best editor. What you need can be done in Emacs shell mode.

0
source

All Articles