Skip to content

Instantly share code, notes, and snippets.

@cxxxr
Created November 2, 2015 07:33
Show Gist options
  • Select an option

  • Save cxxxr/f7ef202c411f36a2576a to your computer and use it in GitHub Desktop.

Select an option

Save cxxxr/f7ef202c411f36a2576a to your computer and use it in GitHub Desktop.
(require :lem)
(push #'(lambda (x)
(if x
(lem:lem x)
(lem:lem))
t)
sb-ext:*ed-functions*)
(rl:bind-keyseq "\\C-x\\C-y"
#'(lambda (arg key)
(declare (ignore key))
(rl:insert-text
(lem:kill-ring-nth-string arg))))
(rl:bind-keyseq "\\ee"
#'(lambda (arg key)
(declare (ignore arg key))
(ed)
(rl:insert-text "")))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment