4 ms·
>To this day I have not found a tool that works as well as Paredit for editing and navigating s-expressions. https://github.com/Fuco1/smartparens https://githu
by nanny 11y ago
>To this day I have not found a tool that works as well as Paredit for editing and navigating s-expressions.
https://github.com/Fuco1/smartparens https://github.com/Fuco1/smartparens
Basically paredit on steroids.
- sdegutis 11y agoThat's a lot of paragraphs. Got a tl;dr on how it improves on Paredit?
- robto 11y agoI was curious too, so I took a walk through the documentation. I found this: https://github.com/Fuco1/smartparens/wiki/Paredit-and-smartparens https://github.com/Fuco1/smartparens/wiki/Paredit-and-smartp... I think I might try it out. It seems by default it's less strict than paredit, though, so I'll have to tweak it a bit.
- nanny 11y ago> It seems by default it's less strict than paredi Yes, but there is a strict mode you can turn on. Personally, I use the default with a couple binds that make it a bit more strict, which actually make it very pleasant to use, such as: (global-set-key (kbd "C-<backspace>") 'sp-backward-kill-word) (global-set-key (kbd "M-d") 'sp-kill-word) And these in modes derived from `prog-mode`: (local-set-key (kbd "<backspace>") 'sp-backward-delete-char) (local-set-key (kbd "C-d") 'sp-delete-char)
- nanny 11y ago>That's a lot of paragraphs. Got a tl;dr on how it improves on Paredit? The readme is not "a lot" in the slightest, the first paragraph of is a perfect summary. I'm sorry for being rude, but if you can't even bother to read one measly paragraph, I'm probably wasting my time writing this comment for you. The first paragraph is barely even longer than your original comment (10 words longer)! The readme also links to a list of features and an article with gifs. Additionally, I gave you an even shorter and simpler tl;dr in my original comment: "basically paredit on steroids".
- hellofunk 11y agoUnless we are looking at different pages, that Readme for smartparens is quite small.