Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Open an Emacs shell in the current directory
Emacs Lisp
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.org
shell-here.el

README.org

Shell-here

Open a shell buffer in (or relative to) default-directory, e.g. whatever directory the current buffer is in. If you have find-file-in-project installed, you can also move around relative to the root of the current project.

I use Emacs shell buffers for everything, and shell-here is great for getting where you need to quickly. The find-file-in-project integration makes it very easy to manage multiple shells and maintain your path / history / scrollback when switching between projects.

Installation

Use Marmalade and ELPA / package.el.

Recommended binding: C-c !

(require 'shell-here)
(define-key (current-global-map) "\C-c!" 'shell-here)

Usage

C-c !Open a shell in the current directory
C-1 C-c !Open a shell one level up from current
C-2 C-c !Open a shell two levels up from current (etc)
C-u C-c !Open a new shell in the current directory
C-- C-c !Open a shell in the current project root
C-- C-1 C-c !Open a shell one level up from root
C-- C-2 C-c !Open a shell two levels up from root (etc)
C-- C-u C-c !Open a new shell in the project root

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Something went wrong with that request. Please try again.