This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-06-30
Channels
- # aws (1)
- # bangalore-clj (1)
- # beginners (73)
- # boot (13)
- # cider (3)
- # clara (19)
- # cljs-dev (33)
- # cljsrn (37)
- # clojure (177)
- # clojure-dev (13)
- # clojure-gamedev (1)
- # clojure-italy (10)
- # clojure-nlp (1)
- # clojure-russia (1)
- # clojure-spec (64)
- # clojure-uk (128)
- # clojurescript (177)
- # core-async (23)
- # cursive (5)
- # datascript (13)
- # datomic (20)
- # devops (49)
- # emacs (13)
- # graphql (5)
- # hoplon (13)
- # keechma (1)
- # leiningen (3)
- # liberator (4)
- # lumo (2)
- # off-topic (11)
- # om (19)
- # om-next (3)
- # onyx (6)
- # re-frame (13)
- # reagent (14)
- # ring-swagger (7)
- # rum (2)
- # spacemacs (7)
- # unrepl (1)
- # untangled (23)
- # vim (8)
- # yada (1)
I want to write a layer as a hook for clojure-mode that will add keybind functionality for smartparens and some custom functions, but I'm unsure of how to do that
Ok figured out the layer part but, how do I write a function to disable and enable the layer ;o
alice: checkout my layer based on official clojure-layer https://github.com/agzam/dot-spacemacs/tree/master/layers/ag-clojure maybe it will give you some ideas
@U0G75ARHC do you use ag-clojure
instead of the clojure
layer or do you include both in the dot-spacemacs/layers section?
Ah, I see in the layers.el of your package you include the clojure
layer. So your ag-clojure
layer will load in the clojure
layer even if its not in the .spacemacs
list of layers. Thats nice.
alice: I assume if you want to disable your own layer you comment (or delete) the layer name from the layers list in .spacemacs