About term-paste.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 04 Jan 2021 00:09:48 +0200
changeset 1696 01608a10b6d6
parent 1695 ffde995a5923
child 1697 1319d897155e
About term-paste.
.emacs-my
--- a/.emacs-my	Mon Jan 04 00:02:08 2021 +0200
+++ b/.emacs-my	Mon Jan 04 00:09:48 2021 +0200
@@ -669,6 +669,7 @@
 (setq term-scroll-show-maximum-output t)
 
 (my--eval-after-load term
+  ;; (define-key term-raw-map [S-insert] 'term-paste) - defined inside mode!
   (define-key term-mode-map [?\t] #'term-dynamic-complete)
   (defun my-term-send-delete-word-forward () (interactive) (term-send-raw-string "\ed"))
   (defun my-term-send-delete-word-backward () (interactive) (term-send-raw-string "\e\C-h"))