Created
November 24, 2014 18:49
-
-
Save semmypurewal/b7748e0d6785f3c50e46 to your computer and use it in GitHub Desktop.
open-mini-eshell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; open up a mini-eshell | |
(defun quarter-window-vertically () | |
"create a new window a quarter size of the current window" | |
(split-window-vertically) | |
(other-window 1) | |
(split-window-vertically) | |
(other-window -1) | |
(delete-window) | |
) | |
(defun open-mini-eshell () | |
"open a mini-eshell in a small window at the bottom of the current window" | |
(interactive) | |
(quarter-window-vertically) | |
(other-window 1) | |
(eshell) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment