editors

Discussion about all editors used for Clojure/ClojureScript
mogenslund 2019-09-19T07:33:25.000400Z

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.

pez 2019-09-19T10:25:15.001200Z

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

mogenslund 2019-09-19T10:33:34.002800Z

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.

pez 2019-09-19T10:46:26.006Z

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

1💯