LaTeX
docs (using org-mode and/or auctex), reading books, reading papers (using org-ref) etc.Unfortunately, both of these installs don't support retina pdf quality in PDFView (pdf-tools).So I set out on a second mission to get my myself a high res pdf viewing experience within Emacs.~/.emacs-profiles.el
file where you define all of your different configurations.This is what my ~/.emacs-profiles.el
file looks like,init.el
file from the user-emacs-directory
,cutom-file
variable.server-name
variable,env
,SPACEMACSDIR
variable which tells spacemacs where to look for extra customisation's.~/.emacs-profile
file where you set the default config to use.Mine is currently,~/.dotfiles
folder with their own dedicated folders.For example I have put all of my snippets (for use with yasnippet) inside a private folder~/.dotfiles/spacemacs-base-new/private/snippets
and all of my layers are inside ~/.dotfiles/spacemacs-base-new/layers
.To make my configs more portable I also set the layer path variable in the dotspacemacs/layers
function using,emacsclient
when “opening” subsequent instances.These new instances open almost instantaneously for me.user-config
.EMACS
and EMACS_CLIENT
variables depending where brew linked your install.Let's give our shell script permissions,e
“emacs” by executing the following (assuming you use zsh),bash
then it will be,e <file-name>
or simply e
into terminal.skhd
(a simple hotkey daemon for macOS) to open my default Emacs config (utilising emacsclient) with a simple keybinding.Creating an extra script was probably overkill but it works so I am happy.The only difference here is that no filename is passed to emacsclient
so we instead ask it to open a new frame.CMD m
to run the shell script by placing the following in my ~/.config/skhd/skhdrc
file,