6eab954afe
Helm seems to treat "!" specially in pattern matching, so having a ! in the pattern string when traversing directories is problematic. This change fixes #2737, because as far as I can tell "+" has no special meaning in a helm pattern. Of course, we can choose a different character, but I'm fond of "+" as representing "more layers here".
19 lines
466 B
Markdown
19 lines
466 B
Markdown
# 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
|