Fork me on GitHub
#editors
<
2019-09-19
>
mogenslund07:09:25

Hi. I am working on a paredit plugin for for https://github.com/mogenslund/liquid . It seems to work to use Nashorn to integrate with https://github.com/rksm/paredit.js 🙂 (Actually it seems like Nashorn could be a great bridge to exploit existing JavaScript plugins, that were made for other editors.) I need to steal some well functioning keybindings. What works well in practice? (Just point me to some resource or cheatsheet where the keybindings are defined.) Most other default keybindings in Liquid are stolen from Vim and SpaceMacs.

pez10:09:15

@mogenslund: I am biased, of course, but I do like the Calva key bindings: https://github.com/BetterThanTomorrow/calva/tree/master/calva/paredit

mogenslund10:09:34

Great. Thank you. Biased is ok, as long as you have a good experience with the keybindings. I might implement multiple sets of keybindings that people can choose from.

pez10:09:26

I mostly barf and slurp, and find it important making those super easy to reach. The bindings are mostly inspired by my colleague's Emacs bindings. But it seems not to be very common bindings on Emacs, because it is quite common that people coming from Emacs ask for how to reconfigure the bindings. And there is also this wiki page: https://github.com/BetterThanTomorrow/calva/wiki/Keybindings-for-Emacs-users

💯 4