Skip to content

Open the Terminal (Mac OS X, Linux) or Command Prompt (Windows) in the given directory via context menu or keyboard shortcut in the Atom text editor.

License

Notifications You must be signed in to change notification settings

brettz9/atom-open-terminal-here

 
 

Repository files navigation

Open Terminal Here

Open the Terminal (Mac OS X, Linux) or Command Prompt (Windows) in the given directory via context menu or keyboard shortcut.

Screenshot of the "Open Terminal Here" menu item displayed

Keyboard shortcuts

Open the Terminal in the current directory

Platform Keyboard shortcut
Mac OS X ctrl-cmd-t
Windows ctrl-alt-t
Linux ctrl-alt-t

Open the Terminal in the project directory

Platform Keyboard shortcut
Mac OS X alt-cmd-t
Windows ctrl-alt-shift-t
Linux ctrl-alt-shift-t

FAQ

How to open a new tab instead of a new window?

Mac OS X

  1. Open Automator and select Application as new document.
  2. From the Library, add Run Applescript as Automator action.
  3. Replace the sample AppleScript code with the code from terminal-tab.scpt.
  4. Save the Automator app as TerminalTab.app to your Applications folder.
  5. In the open-terminal-here settings, set Command to open -a TerminalTab.app "$PWD".

Ubuntu Linux

  1. Install xdotool:
    sudo apt-get install -y xdotool
  2. Download terminal-tab.sh and make it executable:
    chmod +x ./terminal-tab.sh
  3. Move the script to a directory in your path:
    sudo mv ./terminal-tab.sh /usr/local/bin/terminal-tab
  4. In the open-terminal-here settings, set Command to terminal-tab.

About

Open the Terminal (Mac OS X, Linux) or Command Prompt (Windows) in the given directory via context menu or keyboard shortcut in the Atom text editor.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CoffeeScript 53.2%
  • Shell 31.8%
  • AppleScript 15.0%