Skip to content

Instantly share code, notes, and snippets.

View pkhoueiry's full-sized avatar

pkhoueiry

  • Helmholtz Institute for RNA-based Infection Research
  • Germany
View GitHub Profile
@pkhoueiry
pkhoueiry / iterm.el
Created February 7, 2019 13:49 — forked from johnmastro/iterm.el
Send text from Emacs to iTerm
;;; 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.