Add term/comint config
This commit is contained in:
parent
4fc8783eb9
commit
59ff164ceb
@ -89,6 +89,23 @@
|
||||
(add-to-list 'tramp-remote-path 'tramp-own-remote-path)
|
||||
(add-to-list 'tramp-remote-path '"/home/adam/asgoldsmith/install/bin/"))
|
||||
|
||||
(use-package term
|
||||
:config
|
||||
(setq tramp-default-method "ssh" ; uses ControlMaster
|
||||
comint-scroll-to-bottom-on-input t ; always insert at the bottom
|
||||
comint-scroll-to-bottom-on-output nil ; always add output at the bottom
|
||||
comint-scroll-show-maximum-output t ; scroll to show max possible output
|
||||
;; comint-completion-autolist t ; show completion list when ambiguous
|
||||
comint-input-ignoredups t ; no duplicates in command history
|
||||
comint-completion-addsuffix t ; insert space/slash after file completion
|
||||
comint-buffer-maximum-size 20000 ; max length of the buffer in lines
|
||||
comint-prompt-read-only nil ; if this is t, it breaks shell-command
|
||||
comint-get-old-input (lambda () "") ; what to run when i press enter on a
|
||||
; line above the current prompt
|
||||
comint-input-ring-size 500 ; max shell history size
|
||||
protect-buffer-bury-p nil)
|
||||
(add-hook 'term-mode-hook'(lambda () (setq-local show-trailing-whitespace nil))))
|
||||
|
||||
;;;; external packages (required)
|
||||
(use-package company :quelpa
|
||||
:config
|
||||
|
Loading…
Reference in New Issue
Block a user