Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I create a shortcut to open a terminal and launch vim (terminal version, not gvim) ?

share|improve this question

migrated from Mar 23 '11 at 13:58

This question came from our site for professional and enthusiast programmers.

up vote 1 down vote accepted

Create a shortcut with gnome-terminal -e vim as the target.

share|improve this answer

Look up in the options of your favourite terminal and see which allows you to run a given program. Using xterm:

xterm -e vim

assuming that vim is in you $PATH.

share|improve this answer

I recommend a keyboard shortcut then typing vi or vim in when terminal opens: Bind terminal to a key combination

share|improve this answer

using an alias e.g.

alias tvim="gnome-terminal -e vim"

if you use gnome-terminal obviously

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .