Fork me on GitHub

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


Thanks for the tip!


actually there's magit-display-buffer-function


if you check the source you can use alternatives


(defcustom magit-display-buffer-function #'magit-display-buffer-traditional


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


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.

Drew Verlee02:06:23

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)