Last active
May 15, 2023 08:31
-
-
Save knollet/aec01540a6c2c1950cef6e42eedb340c to your computer and use it in GitHub Desktop.
Snippet to have paste in (ansi-)term-mode with C-c C-y
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;; ansi-term | |
(add-hook 'term-exec-hook | |
(lambda () | |
(define-key term-raw-map (kbd "C-c C-y") 'term-paste) | |
(define-key term-raw-map (kbd "C-c y") 'term-paste))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment