I have configured the spacemacs "shell" layer and set it up with multi-term
to use the bash
shell. When I activate it with SPC '
and enter the bash shell some of the keys like Ctrl-w
used for navigating the windows are trapped by bash
.
dotspacemacs-configuration-layers
'(
;; ----------------------------------------------------------------
;; Example of useful layers you may want to use right away.
;; Uncomment some layer names and press <SPC f e R> (Vim style) or
;; <M-m f e R> (Emacs style) to install them.
;; ----------------------------------------------------------------
helm
auto-completion
emacs-lisp
git
markdown
org
syntax-checking
elixir
erlang
;; better-defaults
(shell :variables
shell-default-shell 'multi-term
shell-default-height 30
shell-default-position 'bottom)
;; spell-checking
;; version-control
)
(defun dotspacemacs/user-config ()
(setq multi-term-program "/bin/bash")
)
Are there some pre-existing key combinations that can be used instead?
eshell
is a pure elisp shell. It is definitely notbash
, and it does not run in a terminal emulator. Can you please clarify what you're asking?multi-term
and setmulti-term
tobash
. It is related to a related question at emacs.stackexchange.com/questions/32680 and have seen your answer there.shell
is likely to be interpreted as referring toM-x shell
which is a comint-based shell integration, entirely distinct from running a shell in aterm
buffer (oransi-term
,multi-term
, etc). Furthermore,shell-mode
is unambiguously a reference toM-x shell
, so most definitely avoid writing that if it's not what you mean.