You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Brett Langdon 073860adc0 Merge commit '168bd9cce801934ad5708cf1e7a93db183df9add' as 'emacs.d' 9 years ago
..
README.md Merge commit '168bd9cce801934ad5708cf1e7a93db183df9add' as 'emacs.d' 9 years ago
erc-yank.el Merge commit '168bd9cce801934ad5708cf1e7a93db183df9add' as 'emacs.d' 9 years ago

README.md

erc-yank

Automagically create a Gist if pasting more than 5 lines

Hook in as follows:

(add-hook 'erc-mode-hook
          (lambda () (define-key erc-mode-map [(control ?y)] 'erc-yank)))

Or, if you want to use my `use-package' macro:

(use-package erc
  :commands erc
  :config
  (use-package erc-yank
    :init
    (bind-key "C-y" 'erc-yank erc-mode-map)))

This module requires gist.el, from: https://github.com/defunkt/gist.el