Commit graph

8 commits

Author SHA1 Message Date
syl20bnr 4b0c84ebb9 Move SPC p $ t to shell layer 2015-05-31 18:06:35 -04:00
Tu Do d6b5f596b5 Remove auto change directory in ansi-term
By sending `cd` command, it clears previous shell output. This is only
an issue with ansi-term, not other shells.
2015-05-25 00:46:18 -04:00
syl20bnr 3ff8136d1d shell layer: add support for multi-term
`SPC a s m`
or `set shell-default-shell` to `multi-term` and press `SPC '`
2015-05-24 22:01:26 -04:00
Tu Do 18465ce740 Quit sub-jobs when exiting ansi-term 2015-05-22 22:32:27 -04:00
syl20bnr efb0f812c4 Fix binding conflict with shell and evil-nerd-commenter
Move `SPC ;` to `SPC '` for spawning the shell
2015-05-22 21:23:53 -04:00
Tu Do 5308baf764 Enhance shell-pop and term integration
- Only set Eshell by default on Windows; in other OSes we use `ansi-term`,
NOT `term`. The reason is that `ansi-term` can use Emacs key bindings
such as C-x b, C-x 1... even editing commands such as M-u/M-l. `term`
cannot and we have to use the default `C-c b` variants i.e. C-c b to
switch buffer instead of "C-x b". `ansi-term` is currently the best
terminal emulator in Emacs.

- Allow ansi-term/term to close its shell-pop window when a user type
"exit".

- With shell-pop, we can allow ansi-term/term to track current directory
of current buffer. It is a useful feature and it also makes ansi-term
consistent with eshell/shell.

- Swap "term" and "ansi-term" key bindings, since the old "ast" was used
  for multi-term, which is a wrapper around ansi-term.
2015-05-22 00:49:58 -04:00
syl20bnr f586aa8b39 shell layer: set shell-pop-full-span to t 2015-05-21 00:53:54 -04:00
syl20bnr d681234a71 new layer: shell 2015-05-20 22:40:25 -04:00