Opening vim in a new terminal
By default, when you open vim it runs on the current terminal. When running X11, I want to start it in a new terminal.
To solve this, I created an alias
in my ~/.tcshrc
:
alias tvim 'urxvt -e vim \!* &'
From left to right, this alias;
- starts a new rxvt-unicode terminal emulator,
- which runs vim
- with all the parameters provided to the alias (because of
\!*
). - The new process is started asyncronously (because of
&
).
For comments, please send me an e-mail.
Related articles
- Add TeX macro around (visual) selections in Vim
- Switching vim to use native package management
- Switching to the vim editor
- Command-line versus GUI program
- Creating a screenshot in X11