Updates to Emacs preferences

- Prefers "$HOME" to "~/urbint" for current project
- Prefers dark colorscheme
- Allows source-jumping to Emacs (nixify this to remove dep on
  path/to/source)
This commit is contained in:
William Carroll 2018-10-02 09:57:15 -04:00
parent 9ed59566eb
commit 0c012554b9
4 changed files with 13 additions and 2 deletions

View file

@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: struct
# key: struct
# --
typedef struct $1 {
$2
} $1_t;

View file

@ -16,6 +16,9 @@
;; transparently edit compressed files ;; transparently edit compressed files
(auto-compression-mode t) (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" ;; change emacs prompts from "yes or no" -> "y or n"
(fset 'yes-or-no-p 'y-or-n-p) (fset 'yes-or-no-p 'y-or-n-p)
@ -31,6 +34,7 @@
;; create file bookmarks ;; create file bookmarks
(set-register ?e '(file . "~/.emacs.d/wpc/packages")) (set-register ?e '(file . "~/.emacs.d/wpc/packages"))
(set-register ?n '(file . "~/programming/nixify/darwin-configuration.nix"))
(set-register ?u '(file . "~/urbint")) (set-register ?u '(file . "~/urbint"))
(set-register ?d '(file . "~/dotfiles")) (set-register ?d '(file . "~/dotfiles"))
(set-register ?s '(file . "~/.slate.js")) (set-register ?s '(file . "~/.slate.js"))

View file

@ -95,7 +95,7 @@
:config :config
(setq doom-themes-enable-bold t (setq doom-themes-enable-bold t
doom-themes-enable-italic t) doom-themes-enable-italic t)
(load-theme 'doom-one-light t) (load-theme 'doom-one t)
(doom-themes-visual-bell-config) (doom-themes-visual-bell-config)
(doom-themes-org-config)) (doom-themes-org-config))

View file

@ -7,7 +7,7 @@
;;; Code: ;;; Code:
(defconst wpc/current-project (defconst wpc/current-project
"~/urbint/grid/" "~/"
"Variable holding the directory for my currently active project.") "Variable holding the directory for my currently active project.")
(defvar wpc/mouse-kbds (defvar wpc/mouse-kbds