4
votes
Send files from multi-term to buffer
If you press C-x 4 f, it runs #'find-file-other-window, which is like C-x C-f in that it prompts for and opens a file, but instead of opening the file in the current window, opens it in another one.
...
4
votes
Accepted
Toggling between term-char-mode and term-line-mode
(define-key term-raw-map (kbd "H-j") 'term-line-mode)
(define-key term-mode-map (kbd "H-j") 'term-char-mode)
3
votes
Accepted
Issues adding super keybindings to term-mode-map on Mac OSX
I think term-mode-map is only used in line-mode. In char-mode, it uses term-raw-map, so try:
(define-key term-raw-map (kbd "s-}") 'multi-term-next)
(define-key term-raw-map (kbd "s-{") 'multi-term-...
2
votes
Accepted
Strange behavior when killling text in term/multi-term
This is not a bug. You can't use emacs commands in term-char-mode, you must toggle to term-line-mode for these commands...
But, you can use the terminal commands instead. For example C-w is the ...
2
votes
Accepted
Create helm source containing multi-term buffers
First, check out the wiki on developing for Helm. If you find anything unclear, be sure to create an issue and explain it clearly so others can benefit!
I don't use multi-term, but it seems that the ...
2
votes
Accepted
background / jobs table in multi-term
To send C-z directly to the shell, open your shell: M-x shell or M-x term, I did not try with mutli-term. Then, once inside the shell, execute:
M-x local-set-key RET C-z self-insert-command
After ...
2
votes
Accepted
Getting more than 8 colors in a terminal emulator inside Emacs
It is correct that ansi-term only supports 8 colors, but, using xterm-color.el instead of ansi-color.el, you get 256 colors.
"ANSI & xterm-256 color text property translator for Emacs"
https://...
2
votes
Multi-term paste primary without mouse
Something like this may help:
(add-hook 'term-mode-hook (lambda ()
(define-key term-raw-map (kbd "C-y") 'term-paste)))
1
vote
Accepted
Interactive lambda only calls 1 of several functions called in body
Emacs 26.1 does not define term-bind-key-alist. If you don't show us what you're doing with that, we can't see what the problem is.
That said, it sounds like you're only binding keys in term-raw-map,...
1
vote
Emacs multi-term support for version 25 - Ubuntu 18.04
The directory where you put multi-term.el needs to be in your load path. Add this to your .emacs before the 'require' call:
(add-to-list 'load-path "/home/test/.emacs.d")
EDIT
This should fix your ...
1
vote
Accepted
Emacs incompatible with oh-my-zsh?
I found the problem. As I mentioned in the ticket, I was setting the variable EMACS myself in .zshenv to help setup PATH.
As it happens termsupport.zsh also uses this variable name internally. All I ...
1
vote
How do I page when "ESC - (1 of n) [C-h paging/help]" shows in the emacs status bar?
I had this same problem and asked for help in Github.
https://github.com/syl20bnr/spacemacs/issues/10509#issuecomment-376314380
I was able to narrow the problem to my terminal software, I couldn't ...
1
vote
Accepted
What keystrokes are required to navigate back from the bash shell to the editing windows?
By default multi-term unbinds '("C-z" "C-x" "C-c" "C-h" "C-y" "<ESC>"). These defaults allow commands like C-x o (other-window) that you can use to move point to another window. If the default ...
1
vote
Set specific TERM variable for only emacs terminals
Expanding on @amitp's answer above, here's what I did in my .zshenv file to set my $EDITOR env variable:
if [[ -v INSIDE_EMACS ]]; then
export EDITOR="emacsclient"
else
# Regular shell
...
1
vote
Accepted
Set specific TERM variable for only emacs terminals
Terminals run inside of emacs set an environment variable, INSIDE_EMACS, so you can test that inside of your .bash_profile or .bashrc to set the TERM to something else.
(BTW on my system, multi-term ...
1
vote
Accepted
How to show *terminal* buffers in C-x C-b menu
The help for bs-mode says that a toggles all buffers, and + then marks an entry to display in both views.
If that's insufficient I can also see the variable bs-must-always-show-regexp
Or you can add ...
1
vote
Create helm source containing multi-term buffers
Actually I ended up using a slightly different solution. Doing it like it was shown in the answer in this post I get a terminal list with additional information about the terminals.
(defclass my-helm-...
1
vote
Multi-Term does not color the whole background
I don't know why the background is white where the text is. term-default-bg-color and term-default-fg-color are obsolete, use the term face instead.
I'm not sure there's a way to make the ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
multi-term × 26term × 9
key-bindings × 5
ansi-term × 5
spacemacs × 3
colors × 3
zsh × 3
shell × 2
ubuntu × 2
buffers × 1
evil × 1
helm × 1
osx × 1
emacsclient × 1
keymap × 1
eshell × 1
copy-paste × 1
history × 1
helm-sources × 1
menus × 1
kill-text × 1