This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-03-09
Channels
- # alda (5)
- # aleph (10)
- # bangalore-clj (1)
- # beginners (168)
- # cider (68)
- # cljs-dev (263)
- # clojars (4)
- # clojure (66)
- # clojure-brasil (25)
- # clojure-china (1)
- # clojure-dusseldorf (1)
- # clojure-greece (4)
- # clojure-italy (3)
- # clojure-russia (4)
- # clojure-spec (12)
- # clojure-uk (16)
- # clojurescript (36)
- # community-development (12)
- # cursive (9)
- # data-science (1)
- # datascript (8)
- # datomic (20)
- # defnpodcast (6)
- # emacs (2)
- # figwheel (2)
- # fulcro (51)
- # graphql (62)
- # immutant (14)
- # keyboards (1)
- # lein-figwheel (10)
- # leiningen (5)
- # lumo (15)
- # off-topic (4)
- # onyx (3)
- # pedestal (4)
- # portkey (13)
- # protorepl (1)
- # re-frame (8)
- # reagent (2)
- # reitit (4)
- # shadow-cljs (71)
- # spacemacs (7)
- # specter (33)
- # sql (9)
- # unrepl (75)
- # vim (7)
is it possible to (straightforwardly) add things to the spacemacs menus ? i'd like to add helm-projectile-ag
somewhere, maybe even replace the helm-project-do-ag
at SPC s a p
@mccraigmccraig Yes, it's really easy. Just find the layer in .emacs.d/layers and edit the packages.el file. In your case I believe it's layers/+completion/helm/packages.el
You may want to create a new branch in git for your change. Or you can create a personal package if you have a collection of changes
huh, actually i think in this case it's a PR - it's a bit odd that it's using helm-do-ag
(rather than helm-projectile-ag
) against the projectile-project-root
https://github.com/syl20bnr/spacemacs/blob/master/layers/%2Bcompletion/helm/packages.el#L318
(the difference being that helm-projectile-ag
respects your projectile path exclusions, so search results aren't full of build-artefact junk)
@mccraigmccraig - You don't need to edit any spacemacs files, and doing so might complicate upgrades later. Spacemacs leaves a gap in the top-level menu, under o
, for custom user stuff. Here's a snippet from my dotspacemacs/user-config
:
(spacemacs/declare-prefix "o" "jst-bindings") ; the prefixes are not required; they just label the group
(spacemacs/declare-prefix "oc" "customize")
(spacemacs/set-leader-keys "ocg" 'customize-group)
(spacemacs/set-leader-keys "oco" 'customize-option)
You can also set leader keys under anything else, at the risk of having them conflict with Spacemacs builtins later.