Introducing my new project - Vide terminal for Vim
Vim is the best text editor, I use it 10 hours a day. It has many features for developers, but it has quite poor external command execution. While it is possible to run external programs in xterm (or using start.exe on Windows) it would be nice to have integrated terminal for running external programs (Python, Perl, Ruby scripts, compilation scripts etc).
Vide is very simple terminal that waits on DBUS. User is able to send commands (using videx command) to named tabs, like executing compilation scripts, programs or even debug things in the CLI. It works like in your favourite IDE like Eclipse, Netbeans or IntelliJ IDEA. Vide is very easy to setup and use:
- Start vide.
- Start vim.
:!videx tab_name working_dir commands to execute...
- Bind this command to your favourite key (e.g. F5, F6, F7).
- Works with any other text editor.
Here are few examples.
videx compile /my/project gcc -o hello *.c
videx unit_tests /my/project rake spec
videx start_gui /my/project python main_app_gui.py
videx run_webserver /my/project rails server
The only way to create tabs at the moment is via videx command. Once you send one videx command to your vide instance, new menu entry will be created. You can select from multiple commands using the dropdown menu and execute commands again using the start ("play") button. Very similar to traditional integrated development environments.
The coolest thing is if you issue videx with the same tab name again. Vide won't create a new tab, but the old tab/term is stopped, terminal is cleared and the command is issued again.
Vide has ordinary interactive terminals - you can do whatever you like. This is good for interactive debugging sessions with gdb or even chatting on IRC if you like.
Vide is nothing and everything. You either like it or hate it. I hope for the former.