- download (or use MSYS2 for the 64-bit goodness? wow.)
- Set wherever you clone this repo to as the
$HOME
environment variable, traditionally inC:\Users\Your Username\
- best way:
- run cmd as administrator
- run
setx home "C:\Users\Your Username"
- Add the emacs bin to your
$PATH
if you want to be able to use it from the command line (mb yes, mb no) - Create a shortcuts to launch emacs as a daemon, set it's target to
"Drive:\path\to\emacs\bin\runemacs.exe" --daemon
- Create a shortcuts to launch the emacs client, set it's target to
"Drive:\path\to\emacs\bin\emacsclientw.exe" -n -c
- After that you can do sexiness like adding it to your contextual open menu (use the client, it's fast af)
- run
all-the-icons-install-fonts
inside emacs, then install the fonts manually (how it is).
(load-file "~/.emacs.d/config.el")
(load-file "~/.emacs.d/local.el")
;; (load-file "~/.emacs.d/gdscript.el") IF YOU WANT GDSCRIPT-MODE
Which will load config.el
, the actual config, and local.el
, local settings (which I use for looks).
Why like this? It lets all the custom-set-variables and such accumulate in the init file and it doesn't get shared in the repo (anymore).
In order to get icons working you MUST run all-the-icons-install-fonts
, if you're on windows it just downloads the fonts so you have to manually install them.
(load-theme 'doom-monokai-classic t)
;; run menu-set-font to see the font menu. Use describe-font <RET> to see the font being used
(add-to-list 'default-frame-alist '(font . "Cascadia Mono-10.0"))
(set-face-attribute 'default t :font "Cascadia Mono-10.0")
;; maximize initial frame
;; (add-hook 'window-setup-hook 'toggle-frame-maximized t)
(add-to-list 'default-frame-alist '(fullscreen . maximized)) ;; works for clients as well
Include the following in local.el
(setq shell-file-name "c:/cygwin64/bin/bash")
(setq explicit-shell-file-name shell-file-name)
(setq explicit-bash-args `("--noediting" "-i"))
Don't do it automatically, packages change. HOWTO:
<M-x> package-list-packages
any packages available to upgrade will be shown.- Mark pacakges to update with
U
- Execute the upgrade with
x
add the following to your projects' .gitignore
to ignore all the emacs backups and such:
# emacs stuff
\#*\#
.\#*
*~
.dir-locals.el