This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-06-03
Channels
- # announcements (6)
- # babashka (14)
- # beginners (17)
- # biff (3)
- # calva (19)
- # circleci (3)
- # clj-on-windows (1)
- # cljdoc (21)
- # cljs-dev (6)
- # clojure (119)
- # clojure-australia (2)
- # clojure-europe (28)
- # clojure-france (3)
- # clojure-norway (12)
- # clojure-survey (2)
- # clojure-uk (7)
- # clojurescript (25)
- # core-typed (1)
- # cursive (11)
- # datomic (53)
- # emacs (14)
- # events (1)
- # gratitude (1)
- # holy-lambda (21)
- # integrant (2)
- # jobs (1)
- # jobs-discuss (3)
- # juxt (3)
- # kaocha (1)
- # lsp (17)
- # nbb (14)
- # off-topic (25)
- # pathom (11)
- # re-frame (24)
- # releases (1)
- # remote-jobs (2)
- # rewrite-clj (10)
- # shadow-cljs (11)
- # sql (3)
- # tools-build (6)
- # tools-deps (83)
- # vim (26)
- # xtdb (10)
I uses magit (with Spacemacs) and I'd like to open the status buffer in the same window I'm currently in.
So when I say magit-status
, it currently opens the status buffer in a different window.
Can I change this behavior?
Not sure. Perhaps the universal argument, SPC u
just before the command to open magit status?
I.e. SPC u SPC g s
Personally I set Magit to open "full screen" (a single window in the frame) as a git variable layer, when I q
quit, the previous window arrangement is restored.
The universal argument prompts me for selecting the git repo to be used. I didn't quite like opening magit in full screen so I disabled that a long time ago.
not sure magit can do that out of the box, people use shackle to do this in a generic way
there are others like s magit-display-buffer-same-window-except-diff-v1, magit-display-buffer-fullframe-status-v1, magit-display-buffer-fullframe-status-topleft-v1, magit-display-buffer-fullcolumn-most-v1 etc
There is some info here about Magit and buffers https://magit.vc/manual/magit/Switching-Buffers.html
how can i tweak helm’s string matching against candidates? TLDR: i’d like to weight candidates higher when my input is a contiguous match in the candidate filename. (i know there may be a bunch of packages implicated here; my understanding of this part of emacs is shamefully poor.) here’s an example of what i’m trying to do…
i’m executing helm-projectile-find-file
while in the clojure-lsp source.
i type “db” because i’m trying to locate the clojure-lsp.db
namespace.
here’s what i see…
“src/clojure_lsp/db.clj” is the second match, but i’d like it to be the first match, because “db” appears contiguously in the filename.
Maybe quotes around it (I'm guessing)? I feel like the functionality you want is the default on spacemacs..
sorry, missed this thread getting updated. looks like this does what i want…
(setq helm-fuzzy-default-score-fn 'helm-fuzzy-helm-style-score)