diff options
Diffstat (limited to 'configs/shared/emacs/.emacs.d')
4 files changed, 13 insertions, 2 deletions
diff --git a/configs/shared/emacs/.emacs.d/snippets/c-mode/struct b/configs/shared/emacs/.emacs.d/snippets/c-mode/struct new file mode 100644 index 000000000000..6e9282f83c79 --- /dev/null +++ b/configs/shared/emacs/.emacs.d/snippets/c-mode/struct @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: struct +# key: struct +# -- +typedef struct $1 { + $2 +} $1_t; \ No newline at end of file diff --git a/configs/shared/emacs/.emacs.d/wpc/packages/wpc-misc.el b/configs/shared/emacs/.emacs.d/wpc/packages/wpc-misc.el index 533de61f9540..aff2034645d8 100644 --- a/configs/shared/emacs/.emacs.d/wpc/packages/wpc-misc.el +++ b/configs/shared/emacs/.emacs.d/wpc/packages/wpc-misc.el @@ -16,6 +16,9 @@ ;; transparently edit compressed files (auto-compression-mode t) +;; link to Emacs source code +(setq find-function-C-source-directory "~/programming/emacs/src") + ;; change emacs prompts from "yes or no" -> "y or n" (fset 'yes-or-no-p 'y-or-n-p) @@ -31,6 +34,7 @@ ;; create file bookmarks (set-register ?e '(file . "~/.emacs.d/wpc/packages")) +(set-register ?n '(file . "~/programming/nixify/darwin-configuration.nix")) (set-register ?u '(file . "~/urbint")) (set-register ?d '(file . "~/dotfiles")) (set-register ?s '(file . "~/.slate.js")) diff --git a/configs/shared/emacs/.emacs.d/wpc/packages/wpc-ui.el b/configs/shared/emacs/.emacs.d/wpc/packages/wpc-ui.el index 87705cd6c61f..03899e61ba2b 100644 --- a/configs/shared/emacs/.emacs.d/wpc/packages/wpc-ui.el +++ b/configs/shared/emacs/.emacs.d/wpc/packages/wpc-ui.el @@ -95,7 +95,7 @@ :config (setq doom-themes-enable-bold t doom-themes-enable-italic t) - (load-theme 'doom-one-light t) + (load-theme 'doom-one t) (doom-themes-visual-bell-config) (doom-themes-org-config)) diff --git a/configs/shared/emacs/.emacs.d/wpc/variables.el b/configs/shared/emacs/.emacs.d/wpc/variables.el index d0bba261593d..1a7a0ef742d1 100644 --- a/configs/shared/emacs/.emacs.d/wpc/variables.el +++ b/configs/shared/emacs/.emacs.d/wpc/variables.el @@ -7,7 +7,7 @@ ;;; Code: (defconst wpc/current-project - "~/urbint/grid/" + "~/" "Variable holding the directory for my currently active project.") (defvar wpc/mouse-kbds |