Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tom-tan/esh-buf-stack

This library adds a buffer stack feature to Eshell.
https://github.com/tom-tan/esh-buf-stack

emacs-lisp eshell zsh

Last synced: 23 days ago
JSON representation

This library adds a buffer stack feature to Eshell.

Awesome Lists containing this project

README

        

# esh-buf-stack.el

This library adds a buffer stack feature to Eshell.
It is inspired by the buffer stack in Zsh.

You can install it by using `package-install` via [MELPA](http://melpa.milkbox.net/).

To use this package, add these lines to your `.emacs` file:
```elisp
(require 'esh-buf-stack)
(setup-eshell-buf-stack)
(add-hook 'eshell-mode-hook
(lambda ()
(local-set-key
(kbd "M-q") 'eshell-push-command)))
```
You can push the current command to the buffer stack by using `M-q`,
and after executing another command, you can see the top of the stack poped.