launching vi/vim from console

2010-05-24 Thread adm
I am newbie to python. Is there a way to launch vi/vim or any other editor from python console? I find editing in console very limiting. I can either have a console which launches vi and remembers it's content and then executes or invoke python interpreter from vim. Since I could not find

Re: launching vi/vim from console

2010-05-24 Thread Jean-Michel Pichavant
adm wrote: I am newbie to python. Is there a way to launch vi/vim or any other editor from python console? I find editing in console very limiting. I can either have a console which launches vi and remembers it's content and then executes or invoke python interpreter from vim. Since I could not

Re: launching vi/vim from console

2010-05-24 Thread adm
On May 24, 4:59 pm, Jean-Michel Pichavant jeanmic...@sequans.com wrote: adm wrote: I am newbie to python. Is there a way to launch vi/vim or any other editor from python console? I find editing in console very limiting. I can either have a console which launches vi and remembers it's

Re: launching vi/vim from console

2010-05-24 Thread Shashwat Anand
or in a reverse way you can open vim and use ':shell' followed by python. I prefer it that way generally On Mon, May 24, 2010 at 6:01 PM, adm avinash.ma...@gmail.com wrote: On May 24, 4:59 pm, Jean-Michel Pichavant jeanmic...@sequans.com wrote: adm wrote: I am newbie to python. Is