liquid

bvs 2019-01-09T08:58:21.058200Z

@mogenslund is there a shortcut key to jump to the next s-expression? (so that I can do something like "enenenenen" to evaluate my functions one by one :-).

bvs 2019-01-09T09:01:00.058900Z

oh, and replace (r) works for characters and numbers, but not for anything like #$<>|.

bvs 2019-01-09T09:01:19.059300Z

wanted to replace a 😉 that was causing trouble with "eval" to a 😐.

bvs 2019-01-09T09:03:46.059900Z

and "delete" as a key doesn't work on windows (in either mode, but I guess most relevant in edit mode). (but we have "x" - still learning the keybindings).

bvs 2019-01-09T10:08:57.060700Z

pageup also doesn't do pageup (pagedown works). windows. I should start looking in where the keybindings are defined, I guess.

seancorfield 2019-01-09T17:11:22.061200Z

I think when I looked through the commands that are implemented, there was no page up?

mogenslund 2019-01-09T19:26:12.062Z

Hi @bvs I have fixed the issue with replacing special characters. In the JFrame some modifier keys are also registered as single keystrokes meaning the replace does not capture a real character. I have filtered those out. Thanks for showing me! The delete keys was just an extra keybinding, which I have also added. PageUp I will add to my todo. It will take a bit longer to implement in a pretty version. If "goto-next-sexp" should be a core function I do not know, but evaluating the expression below will add the functionality to F5:

(editor/set-global-key "f5"
      (fn [sl] (-&gt; sl
                   (mark-paren-end "paren-end")
                   (point-to-mark "paren-end")
                   (right-until #(= % (str (char 40)))))))
(Sometimes a save small snippets like that and load them occasionally when needed.) (And yes the "(char 40)" is my ugly hack to avoid a lonesome paren-start 😛)

mogenslund 2019-01-09T19:53:54.062700Z

I just released 1.0.1 with fixes since 1.0.0