Open orestis opened 4 years ago
jonspalding did most of the work; I'm just the current maintainer.
This is definitely something that lisp-paredit can provide.
One approach would be to use atom.command.dispatch
to call the existing "select next sexp" and "cut" commands.
I am against the default deletion commands having this behavior, so it should either use a new of commands or have an option in the settings to enable it. I'm open to thoughts or suggestions, since there are pros and cons to each.
Thanks for making this, it's works very nice!
One thing I miss from Emacs is not thinking about "delete" and "cut" -> killing a line, sexp etc will automatically add it to the clipboard so you can paste it immediately.
I'm not sure if I can cobble this together myself (I'm a newbie to Atom) by making a command that will "select next sexp" and then "cut", or if this something that lisp-paredit could/should provide.
I'm happy to look into providing a PR for this. Thanks for your time!