This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-10-09
Channels
- # announcements (5)
- # babashka (1)
- # beginners (116)
- # calva (139)
- # cider (11)
- # clara (2)
- # clj-kondo (13)
- # clojure (247)
- # clojure-dev (18)
- # clojure-europe (5)
- # clojure-france (2)
- # clojure-italy (2)
- # clojure-nl (7)
- # clojure-spec (24)
- # clojure-uk (34)
- # clojurescript (41)
- # cursive (11)
- # data-science (2)
- # datomic (33)
- # emacs (10)
- # events (3)
- # fulcro (134)
- # graphql (9)
- # jackdaw (3)
- # jobs (1)
- # joker (20)
- # kaocha (3)
- # leiningen (7)
- # luminus (2)
- # malli (3)
- # music (1)
- # pedestal (7)
- # re-frame (25)
- # remote-jobs (7)
- # ring (7)
- # shadow-cljs (85)
- # spacemacs (13)
- # testing (2)
- # tools-deps (60)
- # xtdb (11)
- # yada (7)
I have some enviroment variables that I am setting in my zshrc script. I am starting my clj project using clj-jack-in
, however those variables are not available to the clj project. How do I make them available ?
Spacemacs keeps the active env variables in its own file. You need to update them there, too.
@U067P1FT2 thanks for pointing out
I am using two frames side by side and in one frame when I use SPC-w-c-c
centered buffer mode on a window its makes the current frame the window is on move on top of the other frame. Is this expected behavior?
👋 all, following these instructions here: https://practicalli.github.io/spacemacs/refactor/within-a-project.html
I can’t quite seem to get this working. F3
opens the search results in a buffer for editing, but this buffer appears to be read-only, so I can’t make modifications via iedit
:thinking_face:
Related to this, helm-projectile-grep
seems to be searching a lot of my compiled JS output, which bogs down the search buffer quite a bit…can I get it to honor .gitignore perhaps?
spacemacs/search-project-auto
, which is bound to SPC /
in evil mode, should respect your .gitignore
.
Ah okay, I found the solution. Those docs must be stale. Here’s what I did:
1. SPC /
2. Enter search query
3. Press C-c C-e
to capture search results in an edit window
4. Make edits as needed (e.g. using iedit SPC s e
on highlighted text)
5. Commit the changes with C-c C-c
F3
only saves the results in a buffer, you cannot use those results to make changes throughout the project.
F4
is the action you need to make the changes.
As you also found, rather than C-z
followed by F4
you can use C-c C-e
instead.
I am now thinking that using C-c C-e
is a nicer practice, so will update that page in the book. I'll put the previous approach as an alternative
@cjsauer I've updated the docs to use C-c C-e
rather than C-z
followed by F4
as it seems a nicer approach and should prevent confusion between the actions F3
that only saves the results and F4
that allows for editing.