Can you add an option that makes 'p' and 'y' use the lispy safe versions?
NightMachinery opened this issue · comments
Feraidoon Mehri commented
Pasting code is very hard otherwise.
Feraidoon Mehri commented
I think 'y' is already safe. Using
(lispyville--define-key '(normal visual)
"p" #'lispy-paste)
makes 'p' safe as well.
Fox Kiester commented
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.
Feraidoon Mehri commented
@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?
Fox Kiester commented
You can also bind a key so that you can temporarily disable lispyville-mode
or use C-q
.