This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-03-17
Channels
- # announcements (6)
- # babashka (2)
- # babashka-sci-dev (1)
- # beginners (74)
- # calva (3)
- # cider (33)
- # clj-kondo (19)
- # cljsrn (10)
- # clojure (75)
- # clojure-dev (11)
- # clojure-europe (39)
- # clojure-italy (1)
- # clojure-nl (1)
- # clojure-spec (4)
- # clojure-uk (6)
- # clojurescript (139)
- # code-reviews (8)
- # core-typed (7)
- # data-science (1)
- # docs (2)
- # emacs (11)
- # events (1)
- # introduce-yourself (8)
- # lsp (4)
- # malli (10)
- # off-topic (15)
- # pedestal (5)
- # podcasts (4)
- # polylith (18)
- # re-frame (6)
- # react (1)
- # reagent (18)
- # reitit (6)
- # releases (2)
- # rewrite-clj (1)
- # spacemacs (15)
- # sql (2)
- # vscode (5)
How would i search project wide for the word currently under my cursor? I don't see anything here https://practical.li/spacemacs/navigating-code/ looking through the spacemacs docs ...
Selected words are used by the project wise search
SPC v
to select the current word
SPC /
to search with the highlighted word as the default patter, which can then be edited
space *
i didn't understand the description at first glance
@drewverlee I usually do SPC s h
to highlight word and get into the Symbol Highlight Transient State
then do a /
and it will search project wide
thanks alex and mario. ill try spc s h to.
any cool tricks you picked up in the last year that really helped with clojure development?
Getting lsp setup is a big one, some weirdness comes with it sometimes but overall it unlocks a lot of cool stuff
I use , g g
to jump to definitions of functions/variables and then , g b
to jump back all the time
I don't use spaceemacs, I use doom-emacs, IMO there are things to improve on both about the need of those setups. things like: add a variable to decide which completion use (cider or lsp), which definition-source use and thingsl ike that
Selected words are used by the project wise search
SPC v
to select the current word
SPC /
to search with the highlighted word as the default patter, which can then be edited
I use SPC *
all the time - that's typically the fastest way for me.
You can also do * f
to search in a specific directory
#
or *
in Evil normal mode enters symbol highlight transient state, when the cursor is on a symbol.
/
then searches across the project
This is the smallest number of keys required
https://github.com/matthiasn/talk-transcripts/tree/master/Hickey_Rich