Skip to content

appleshan/terminal-here

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terminal Here

travis

An Emacs package to open an external terminal emulator in directories associated with the current buffer.

Usage

Currently not on Melpa, so grab the elisp file, put it in your path and require it. Hopefully it will be soon.

Run terminal-here-launch to start a terminal in the current directory.

Recommended keybindings:

(require 'terminal-here)
(global-set-key (kbd "C-<f5>") #'terminal-here-launch)
(global-set-key (kbd "C-<f6>") #'terminal-here-project-launch)

Platforms

Terminal-here has out-of-the-box support for some platforms, but will work anywhere with some customisation.

Out-of-the-box support tested on:

  • Ubuntu 16.04 (but should work identically on any Debian-based system)
  • Windows 10

Should be supported out-of-the-box, but currently untested:

Currently unsupported out-of-the-box:

  • Non-Debian-based UNIXes, because I haven't seen a standard way to open the user's preferred terminal

If you have problems just set terminal-here-terminal-command to a command line (a list of strings like '("foo-term" "arg1" "arg2")) which launches your preferred terminal.

Alternatives

There are lots of built in ways to run terminals inside emacs (shell, eshell, ansi-term, ...) but these can have problems like slow output speed or incompatibility with existing configs. I currently prefer to run external terminal emulators, YMMV.

A couple of places on the internet have instructions for running specific terminals from Emacs, but they are not as portable as they could be.

About

An Emacs package to open an external terminal emulator in the current directory

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Emacs Lisp 92.9%
  • Makefile 7.1%