This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-11-21
Channels
- # aleph (2)
- # announcements (2)
- # babashka (10)
- # beginners (117)
- # calva (11)
- # cider (19)
- # clj-kondo (27)
- # cljs-dev (24)
- # cljsjs (1)
- # clojure (73)
- # clojure-europe (3)
- # clojure-italy (2)
- # clojure-nl (47)
- # clojure-spec (23)
- # clojure-uk (28)
- # clojurescript (71)
- # cursive (7)
- # data-science (17)
- # datascript (1)
- # datomic (7)
- # duct (23)
- # emacs (23)
- # fulcro (6)
- # graalvm (41)
- # jobs (2)
- # luminus (1)
- # malli (1)
- # off-topic (151)
- # pathom (1)
- # portkey (10)
- # re-frame (12)
- # reitit (17)
- # shadow-cljs (158)
- # spacemacs (14)
- # sql (8)
- # tools-deps (17)
- # xtdb (9)
I personally use just the built-in dired
with dired-subtree
, which allows me to see subtree by pressing tab
(use-package dired-subtree
:ensure t
:after dired
:config
(bind-key "<tab>" 'dired-subtree-toggle dired-mode-map))
that's pretty interesting -- the default binding is 'i', but i guess '<tab>' is more intuitive
Oh yeah, I think i
stands for insert
, as in it inserts the subtree in the buffer. It makes sense, but every other directory tree uses tab so I went with it 😛
I wish I had re-binded other common shortcuts in emacs to their modern standards, back when I first started using it.
usually i have a hard time remembering custom keybindings so i've pretty much stopped for the most part. if all custom keybindings could automatically show up in a menu so i could look them up easily, i might start again.
@futuro i've used that a bit in doom-emacs happily -- does it somehow have a view of just your custom keybindings?
@sogaiu if you want to have a list of only the keybindings you changed, bind-key
does that for you, with the caveat that you then need to use it instead of define-key
or other built-in ways of changing keybindings.
bind-key
comes with describe-personal-keybindings
(https://github.com/jwiegley/use-package/blob/master/bind-key.el#L92)
I like bbatsovs personal config, it's very simple and pretty much only uses use-package to provide structure
completely different take on use-package
(and maybe a tangent) -- https://github.com/raxod502/straight.el
I switched to straight.el after a couple years. The switch was straightforward & found it was much better to manage package versions.
straight provides a use-package backend so if you set a straight config var it will monkey patch all your use-packages and 99% "just work" with your existing use-package based config
i see some details regarding straight and use-package at: https://github.com/raxod502/straight.el#integration-with-use-package https://github.com/raxod502/straight.el#integration-with-use-package-1