This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-08-31
Channels
- # announcements (3)
- # aws-lambda (1)
- # babashka (122)
- # beginners (241)
- # calva (28)
- # cider (7)
- # clara (7)
- # clj-kondo (43)
- # clojars (5)
- # clojure (326)
- # clojure-europe (60)
- # clojure-italy (2)
- # clojure-nl (4)
- # clojure-spec (21)
- # clojure-uk (4)
- # clojurescript (162)
- # cursive (30)
- # datomic (3)
- # editors (5)
- # emacs (4)
- # figwheel-main (1)
- # fulcro (24)
- # gratitude (3)
- # helix (7)
- # honeysql (20)
- # improve-getting-started (1)
- # introduce-yourself (11)
- # jobs (3)
- # joker (2)
- # kaocha (15)
- # lsp (21)
- # lumo (2)
- # meander (3)
- # off-topic (34)
- # re-frame (6)
- # reagent (1)
- # releases (4)
- # rum (2)
- # shadow-cljs (37)
- # spacemacs (16)
- # tools-deps (16)
- # vim (23)
- # xtdb (32)
@drewverlee I think you were experiencing this magit issue, with it not restoring the previous window when not in full screen mode. It seems to be resolved now https://github.com/syl20bnr/spacemacs/issues/14951
thanks for the insight!
I’m trying to figure out how to configure a custom modeline. It works, but I want to add cursor line and column indicators.
(with-eval-after-load 'doom-modeline
(doom-modeline-def-modeline 'my-modeline
'(workspace-name window-number modals persp-name buffer-info matches remote-host vcs)
'(misc-info repl lsp))
(wildwestrom/setup-custom-doom-modeline))
How might I do this? doom-modeline-core.el
has a bunch of variables I can put in, but I don’t see anything for line or column numbers.Ok, now it seems to be erroring on startup.
(Spacemacs) Error in dotspacemacs/user-config: line-number is not a defined segment
there are some strange names for modeline parts, perhaps its buffer-position
(but thats just a guess)
some other names for components I found while searching the internet - I dont use these and I think the checker has a bug, so I use what ever the LSP icon is
;; checker = flycheck results (not working)
;; buffer-position
;; word-count - number of words in current buffer
;; parrot
;; selection-info
;; repl - shows status of Cloure repl ?
;; process ??
;; debug
;; misc-info - used for keycast
I added the support for the repl
one 😅 it shows a terminal icon (the closest icon for a repl that I found) which is yellow when the repl is not connected and green when it's connected
My current modeline is from left to right: LSP code actions / LSP warnings/errors/info in the project / LSP connected (the rocket one) / REPL / checker
@U05254DQM buffer-position
seems to work
and it’s here! https://github.com/seagle0128/doom-modeline/blob/749e860d4e18e67846b6a3ae2826fdad6abb839a/doom-modeline-segments.el#L1646
Nice. Lots of doom-modeline-def-segment
to look at and see if I wan to include 🙂 Thanks.