spacemacs/layers/+chat/erc/local/erc-yank
Arif Er 00f9ab19ac chore: update copyright headers to 2022
The script used to identify and update the change is added into the GitHub
workflows script directory. A workflow action can be created to trigger the
script to update the headers on the first of every new year. Possibly a task for
a consequent PR.
2022-06-03 17:32:20 +02:00
..
README.md layers directory: create new categories 2016-03-23 21:39:43 -04:00
erc-yank.el chore: update copyright headers to 2022 2022-06-03 17:32:20 +02:00

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