This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-05-13
Channels
- # beginners (17)
- # boot (16)
- # cider (13)
- # cljs-dev (26)
- # cljsrn (5)
- # clojure (155)
- # clojure-belgium (2)
- # clojure-spec (19)
- # clojure-uk (4)
- # clojurescript (32)
- # community-development (16)
- # core-async (12)
- # cursive (3)
- # datomic (7)
- # hoplon (14)
- # lambdaisland (1)
- # lumo (16)
- # microservices (1)
- # off-topic (3)
- # om (5)
- # onyx (4)
- # protorepl (1)
- # re-frame (1)
- # rum (1)
- # specter (6)
- # unrepl (32)
@dpsutton it's all working beautifully now 😀
I really like the eunuch plugin for vim; you can just type :Rename foo when visiting a buffer and it will take care of everything for you
Makes me wish all document-oriented programs worked that way
@mchampine Does renaming a file in dired cause the buffer with that file open to update itself?
I think the rename functionality is in clj-refactor
, if dired has a hook in their rename it should be trivial to have that (and I'd be interested as well) 😀
I don't know what they are bound to but i can help you find out. M-.
is bound to cider-find-var
and M-,
is bound to cider-pop-back
. You can find out the binding of these by M-x describe-function [ret] function-name
. This screen should display the current key binding
Thanks for responding. So in evil-mode, M-. is bound to evil-repeat-pop-next not cider-find-var. So I guess I need to modify the current key binding?
i'm not sure. i don't know if that's a useful binding for you or not. if you want to preserve it you could bind cider-find-var
elsewhere. I don't know how evil works and getting into normal mode, insert, etc. Best I can do is point out the functions you need
Anyone encountered this issue before? https://gitter.im/clojure-emacs/cider?at=5916bad500efc2bb3e61d26a
Strangely, `cider-find-var` only seems to work in a Cljs buffer for some vars (e.g. `om/root`), while others (e.g. `om/component`) work in all buffers (e.g. `*scratch*`).