Fork me on GitHub
#spacemacs
<
2018-09-04
>
_rj_r_00:09:44

quick question, why does either the git layer or the version control layer adding things to my global gitconfig? Is that really necessary? ... I looked around and couldn't find a suitable answer... if someone has a good resource, let me know please.

lilactown00:09:18

:thinking_face: I don’t use the version-control layer, what’s it adding?

_rj_r_00:09:09

dammit.. I removed what it added so I don't have it readily available. I have both the git and the version-control layer. Maybe I don't actually need (or want) both? hmm.. I'll have to look at it more.

lilactown00:09:19

I’ve never enabled it. I use magit every day ¯\(ツ)

lilactown00:09:39

I do have the git layer enabled

_rj_r_00:09:46

oh right, version-control adds git gutter functionality, which I like.. and pretty sure magit can do the same thing... I just commented it out... so I guess I'll find out lol

_rj_r_00:09:15

I'll post what is being added to gitconfig if it comes back up

👍 4
troglotit12:09:54

Hey! Recently I did SPC T s spacemacs-dark although I had spacemacs-dark already, and it changed keywords like ns, defn, etc into italics, and I quite like it. Problem is - how to make that permanent?

pauld12:09:06

SPC f e d

pauld12:09:18

shows your .spacemacs file

pauld12:09:31

There is a section on themes there.

pauld12:09:05

I haven't tried it though... mine defaults to spacemacs-dark and I suspect yours does as well so I'm not sure why you see a difference when doing SPC T s spacemacs-dark.

troglotit12:09:52

Yeah. Maybe that’s because of specific revision of develop branch. I haven’t updated for a long time and I’m going to change machines, so I think I’m not going to try to update spacemacs these days. 🙂

practicalli-john15:09:50

@troglotit interesting, i noticed the italicisation of ns and def, defn myself (just updated spacemacs). This happens when ever I change the theme, even spacemacs-light, but these names do not show as italic when setting the theme in .spacemacs. I can only assume that its a matter of when things are loaded. I assume the theme is loaded before the Clojure layer, so perhaps something in the Clojure layer changes the theme settings. So when you apply the theme, all its settings are restored. Interestingly you get the same effect with Emacs lisp files. If you open .spacemacs then defun is not italic. Applying the theme again makes defun italic.

Mario C.21:09:36

I am using regex match to replace certain things in my file. How do I match and choose one by one the matches I want to replace and the ones that are false positives, skip?

Mario C.21:09:12

The solutions was :%s/<regex>/<replace>/gc

lilactown22:09:25

I also often use the Emacs-y M-% aka query-replace