r/Clojure • u/mac • Dec 25 '18
liquid - Clojure Text Editor
https://github.com/mogenslund/liquid4
u/seancorfield Dec 27 '18
It doesn't seem to do paren balancing or any sort of auto-indent? That would make me more inclined to try it seriously for work. It's certainly impressively fast -- and impressive for having no dependencies so you can just fire it up in any (deps.edn) project and start hacking away. I'll probably add it to my dot-clojure file (and our project equivalent at work) and see how I get on with using it for occasional editing from the command line.
5
u/viebel Dec 25 '18
I think you should provide a way to run through standalone Clojure CLI without requiring any file editing
7
2
u/zj5121 Dec 27 '18
Just curious, why not just use the vim keymap convention? that could make it easier to learn.
2
u/serrimo Dec 27 '18
My initial concern as well, but at a (very) quick look, it copies a lot of keys from vim http://salza.dk/liquid/cheatsheet.html
This looks quite interesting.
1
u/muntoo Dec 31 '18
The
ijklthing looks kinda bothersome though. The reasonjis down in vim is because it's the most used movement command.kbeing the second-most.Now to move up, I have to move my finger off the home row. And to move down, I have to use my middle finger rather than the more natural index.
...Not to mention the loss of tens of thousands of hours of muscle memory.
1
u/mogenslund Feb 16 '19
Hmm. The ijkl keybindings are similar to usign arrow keys, but without moving your hand. And actually i is easier than h, where you have to stretch your index finger or move your hand, even though it is on the homerow. On top of that using $ to go to the beginning of a line is cumbersome and not a very logic choice, instead of just combining the movement shortcuts with shift. Also having to use ESC all the time is not very efficient. ESC is very far away from everything.
1
u/tacticiankerala Dec 26 '18
java -jar liq.jar --jframethis is acting weird on each key stroke. Initially the background was black but after a keystroke, only a couple of lines near my cursor is having black background other areas are creamy white(and texts are invisible).
1
u/isak_s Jan 04 '19
This looks interesting. I tried it on windows, but the dark blue on black for the cursor made it basically impossible to use, and I couldn't easily find a way to change the colors. I also share the concerns others have mentioned about keyboard shortcuts.
4
u/buth3r Dec 25 '18
i somehow made it to write '¬' char instead of switching between modes (when hitting tab that is). also youtube demo video seem to be really quiet.
other than that im pretty pumped to try this editor, seem awesome from what i read so far! good job :)