This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-12-30
Channels
- # admin-announcements (42)
- # alda (8)
- # aws (10)
- # beginners (22)
- # boot (165)
- # bristol-clojurians (1)
- # cider (6)
- # clara (21)
- # cljs-dev (23)
- # clojure (74)
- # clojure-dev (8)
- # clojure-russia (41)
- # clojurescript (180)
- # core-async (11)
- # cursive (26)
- # datascript (2)
- # datavis (7)
- # datomic (29)
- # editors (1)
- # hoplon (7)
- # jobs (3)
- # ldnclj (4)
- # lein-figwheel (47)
- # leiningen (2)
- # mount (26)
- # off-topic (3)
- # om (163)
- # onyx (56)
- # proton (4)
- # reagent (6)
- # remote-jobs (1)
- # ring-swagger (4)
- # spacemacs (9)
Is there a way to configure the evil mode so that e
moves to the end of the current symbol, not just to the character before the next hyphen?
In other words, if the |
character is the cursor, I want e
to move the cursor from the middle of the xxxxx
part of the word to the last z
in
(xx|xxx-yyy-zzzz)
(`E` isn’t what I want, because it goes all the way to the closing paren character.)
Just did a little digging around and maybe sp-forward-symbol (M-F)
from smartparens might be what you’re looking for. You could remap e
to that.
thanks akiva … I meant to update this channel with the solution I’m using now:
add this anywhere in .spacemacs and restart emacs:
(add-hook 'clojure-mode-hook #'(lambda () (modify-syntax-entry ?- "w")))
It changes clojure-mode so that hyphens are treated as part of a word