spacemacs

Spacemacs docs: http://develop.spacemacs.org/doc/DOCUMENTATION.html http://develop.spacemacs.org/layers/+lang/clojure/README.html https://practicalli.github.io/spacemacs/
2020-07-09T15:10:27.078400Z

does anyone have a trick to easily just show git information in magit so i can copy it to other buffers? using clojure deps means its nice to have a convient way to copy sha's and repo information and i find myself leaving emacs to do this just because i dont' quickly know how to get a buffer with the remote origin info that i can copy. its like right there but the buffer does't let me copy it out lol.

practicalli-john 2020-07-09T15:14:29.079200Z

@drewverlee SPC f f .git/config will get you a buffer with the URL of the remote. Or in Magit status buffer, ! ! git remote -v Or just y in the magit status buffer, then y y on the remote line

2020-07-09T15:19:26.079600Z

Awesomeness

practicalli-john 2020-07-09T15:20:21.080200Z

I like y in magit status buffer to show refs, never noticed that before, quite handy.

Gleb Posobin 2020-07-09T23:26:24.085200Z

How do I automatically open several workspaces at spacemacs startup and open certain files in each of them?

practicalli-john 2020-07-10T09:22:29.085400Z

There is an existing setting in .spacemacs to restore layouts. It will remember which files you had open and open them on restart. If you SPC l s to save it will open layout on start. Process buffers will not be restored.

;; If non-nil then the last auto saved layouts are resumed automatically upon
   ;; start. (default nil)
   dotspacemacs-auto-resume-layouts t

Gleb Posobin 2020-07-10T16:25:57.085700Z

The problem is that spacemacs or my laptop sometimes hang/restart.

Gleb Posobin 2020-07-10T16:26:12.085900Z

And that happens every couple of days.

Gleb Posobin 2020-07-10T16:26:37.086100Z

Also, it restores layouts, not workspaces?

practicalli-john 2020-07-10T20:29:33.087700Z

If you create workspaces and dont save the layout, then it wont restore the workspaces if Emacs crashes. I only use one workspace in one of my layouts, so dont know if there is another way. Sorry.