Skip to content

Instantly share code, notes, and snippets.

@bmorphism
Last active August 29, 2015 14:04
Show Gist options
  • Save bmorphism/9e7038033aac991b11df to your computer and use it in GitHub Desktop.
Save bmorphism/9e7038033aac991b11df to your computer and use it in GitHub Desktop.
Making multi-term behave
(add-hook 'term-mode-hook
(lambda () (setq truncate-lines t)))
(eval-after-load "multi-term"
'(progn
(add-to-list 'term-bind-key-alist '("C-c C-j" . term-line-mode))
(add-to-list 'term-bind-key-alist '("M-DEL" . term-send-backward-kill-word))
(add-to-list 'term-bind-key-alist '("M-h" . term-send-backward-kill-word))
(add-to-list 'term-bind-key-alist '("C-h" . term-send-backspace))
))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment