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:
parent
9ed59566eb
commit
0c012554b9
4 changed files with 13 additions and 2 deletions
7
configs/shared/emacs/.emacs.d/snippets/c-mode/struct
Normal file
7
configs/shared/emacs/.emacs.d/snippets/c-mode/struct
Normal file
|
@ -0,0 +1,7 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: struct
|
||||
# key: struct
|
||||
# --
|
||||
typedef struct $1 {
|
||||
$2
|
||||
} $1_t;
|
|
@ -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"))
|
||||
|
|
|
@ -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))
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
;;; Code:
|
||||
|
||||
(defconst wpc/current-project
|
||||
"~/urbint/grid/"
|
||||
"~/"
|
||||
"Variable holding the directory for my currently active project.")
|
||||
|
||||
(defvar wpc/mouse-kbds
|
||||
|
|
Loading…
Reference in a new issue