@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 :-).
oh, and replace (r) works for characters and numbers, but not for anything like #$<>|.
wanted to replace a 😉 that was causing trouble with "eval" to a 😐.
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).
pageup also doesn't do pageup (pagedown works). windows. I should start looking in where the keybindings are defined, I guess.
I think when I looked through the commands that are implemented, there was no page up?
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] (-> 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 😛)I just released 1.0.1 with fixes since 1.0.0