This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-08-09
Channels
- # announcements (5)
- # aws (5)
- # babashka (7)
- # beginners (152)
- # cider (10)
- # clj-kondo (30)
- # clj-on-windows (1)
- # cljs-dev (14)
- # cljsrn (19)
- # clojure (94)
- # clojure-australia (4)
- # clojure-europe (43)
- # clojure-nl (2)
- # clojure-uk (11)
- # clojurescript (16)
- # clojureverse-ops (5)
- # code-reviews (7)
- # community-development (6)
- # core-async (29)
- # cursive (50)
- # datomic (22)
- # docker (10)
- # figwheel-main (3)
- # fulcro (4)
- # graalvm (1)
- # introduce-yourself (2)
- # kaocha (9)
- # lambdaisland (2)
- # lsp (19)
- # malli (37)
- # off-topic (50)
- # polylith (8)
- # portal (1)
- # reagent (10)
- # rum (1)
- # shadow-cljs (24)
- # spacemacs (14)
- # yada (2)
So, I’m suffering ‘Unbalanced parens’ when viewing the reply history C-c M-p
and I think it’s caused by me enabling Paredit by default using this hook registration. Can anyone recommend an idiomatic solution to it?
(defun dotspacemacs/user-config ()
(add-hook 'clojure-mode-hook 'enable-paredit-mode))
I assume it’s actually happening because I’ve old broken repl commands?I recommend not using paredit, its a great idea, its just not as integrated into spacemacs. In my dotspacemacs init i have dotspacemacs-smartparens-strict-mode t dotspacemacs-smartparens-closing-parenthesis t
after much pain, i settled on smartparens, which does everything i can think of and more
Okay, cheers. I’ll have a play with smartparens - it seems pretty well used!
Smartparens is paredit that can be used for all languages, not just lisps. It's also maintained, unlike paredit Enable smartparens strict mode globally in the spacemacs.el configuration file to get the strict nature of paredit
dotspacemacs-smartparens-strict-mode t
On the rare occasions I use the REPL buffer directly, I have experienced any issues with history. I use Ctrl and the arrow keys to navigate the history in the REPL buffer
Is there a way to keep the window/buffer layout when you come back from magit actions (such as magit-status). It's really really annoying when i exit and it removed my entire workplace.
I use magit in 'fullscreen' mode (or is that maximised).
When I use q
to quit magit-status it takes me back to the window/buffer layout before I called magit-status
You could also try SPC w u
for winner-undo
SPC g s opens Magit git client full screen (q restores previous layout)
(git :variables
git-magit-status-fullscreen t
magit-diff-refine-hunk t
git-enable-magit-todos-plugin t)
I'll try that, as always, thanks a ton
SPC w u does the trick. How did you figure that out?
Erm, that is what that command does 😁
It undoes the last change to the window layout. Admittedly it took me a year to discover that :rolling_on_the_floor_laughing: