About term-paste.
--- 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"))