noctuid / lispyville

lispy + evil = lispyville

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can you add an option that makes 'p' and 'y' use the lispy safe versions?

NightMachinery opened this issue · comments

Pasting code is very hard otherwise.

I think 'y' is already safe. Using

(lispyville--define-key '(normal visual)
    "p" #'lispy-paste)

makes 'p' safe as well.

I'm planning on adding a safe paste evil operator. If lispy-paste works well enough for you, you can use that for now. I don't usually copy any lisp with unmatched delimiters, so this isn't a huge issue for me, but I'll work on it when I get the chance.

@noctuid The problem is that when for any reason there are mismatched delimiters, the only way I can fix it is using M-x insert-char which is arduous. Is there something I am missing here?

You can also bind a key so that you can temporarily disable lispyville-mode or use C-q.