[Tex/LaTex] Can you get Vim to behave like TeXworks or vice versa

texworksvim

There are several features of TeXworks that I find substantially decrease my editing time. I tend to write a large number of rather small LaTeX files, which means I'm opening and closing files frequently. The fact that TeXworks automatically opens a pdf if available, and automatically tiles the editing and previewing windows for me saves a lot of time!

However, TeXworks, as a text editor, simply isn't as powerful as Vim (I much prefer the console version over Gvim). I would like to have the editing power of Vim, while retaining the windowing features of TeXworks. Is there any way to do this? Perhaps a set of Vim scripts that someone has written? Or is there a Vim plugin for TeXworks?

[EDIT] I can see from some comments that some folks are assuming I'm running Linux. While I am hoping to acquire a Linux laptop soon, right now I am running Windows XP. So terminal options are considerably more limited.

Best Answer

I think the short answer is no but maybe someone has a set up for this.

What you are asking for is a GUI which isn't a GUI so I don't think that is possible. I have used both Vim and Emacs (Emacs now currently) and do all my editing in the terminal.

Here is my set up which may add what you need:

I use a slightly see through terminal that drops down from the top with the pdf underneath it. This way I can see through it or just hit F12 and it auto hides until I want it back. Then if I want to update the pdf, I just compile the file again and the updates appear on the pdf immediately. If you use synctex, you can then click on the pdf and have it jump to that spot in your terminal window for correcting or editing. In my view, this is the best you may get since you aren't using the GUI.