Skip to content

Instantly share code, notes, and snippets.

@ericchansen
Created November 5, 2021 15:14
Show Gist options
  • Save ericchansen/5170883f02d5d94030072baf74b7f529 to your computer and use it in GitHub Desktop.
Save ericchansen/5170883f02d5d94030072baf74b7f529 to your computer and use it in GitHub Desktop.
.emacs_on_windows
;; Place this file in C:\Users\<username>\AppData\Roaming and point to the appropriate files
(setq user-init-file "C:/path/to/.emacs")
(setq user-emacs-directory "C:/path/to/.emacs.d/")
(setq default-directory "C:/whatever/you/want/to/start/in")
(setenv "HOME" "D:/my/home/directory")
(load user-init-file)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment