Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.