Fork me on GitHub
#practicalli
<
2023-03-05
>
Drew Verlee20:03:24

@jr0cket If i wanted to continue to closely follow your spacemacs setup, but needed to adjust small things here and there, is the best way to do that through source control? Or is there a way to "override" a spacemas.d/ init, so that I don't have to worry about git conflicts? Using git branches is fine, I'm just not sure in practice which would be easier. If I'm not careful to put my preferences in a separate place it's easy for it to a diff to become unreadable.

practicalli-johnny21:03:56

Using a branch or even a stash of changes seems like a viable option Or if there is significant divergence, then fork the Practicalli repository and perhaps use Magit to cherry pick changes I don't change the init.el file very much anymore. I also separated out the custom variables into there own file, so they don't get added. In theory I could do the same with dotspacemacs/user-config section if it makes it easier (there is a lot of commented out config that could be deleted or moved to a file of examples

Drew Verlee23:03:42

Yep that makes sense. 🙏

practicalli-johnny12:03:26

I'll do a significant change today to remove any redundant or deprecated configuration. That should be the last major change for quite a while. I have already updated the closure and autocomplete layer to be optimal for LSP.

🙏 2
practicalli-johnny15:03:00

I've completed a refactor of the Practicall Spacemacs configuration, which separated the docspacemacs/user-config into distinct config files to make it easier to manage changes Currently this is in the pull request: https://github.com/practicalli/spacemacs-config/pull/7 There is also a thread about this change at: https://clojurians.slack.com/archives/C09C8GRLY/p1678152339370459

👀 4
practicalli-johnny15:03:59

I still need to update the README file for the project, to reflect the changes. I'll do this later today

👍 2
practicalli-johnny15:03:52

I'm going to merge the pull request into the spacemacs-config now. Let me know if you have any issues.

👍 2
practicalli-johnny16:03:31

May be simplest to move an existing spacemacs user configuration (`.config/spacemacs` or .spacemacs.d ) out the way and clone practicalli/spacemacs-config in its place. Then review the dotspacemacs/user-config section of your original spacemacs user config to see if you want to include anything in the Practicalli config, either directly or as your own custom configuration files loaded into dotspacemacs/user-config along with the new configuration files I've added. I am assuming the configuration layers wont need to be customised, unless you do not wish for a particular layer (which could be commented out). If you think there are some useful layer variables or layers that are missing, do let me know.