This file contains 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
;;; iterm.el - Send text to a running iTerm instance | |
(require 'pcase) | |
(require 'thingatpt) | |
;; To match SublimeText's key binding: | |
;; (global-set-key (kbd "<C-return>") 'iterm-send-text) | |
(defvar iterm-default-thing 'line | |
"The \"thing\" to send if no region is active. |