├── .gitattributes ├── README.md ├── dotspacemacs - 2020-04-11 ├── dotspacemacs-2020-04-15 └── dotspacemacs-2020-8-29 /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Spacemacs 2 | Where I keep my config files for other to look at and use 3 | 4 | I'm not using spacemacs now, feel free to use this, but it may be out date. 5 | -------------------------------------------------------------------------------- /dotspacemacs - 2020-04-11: -------------------------------------------------------------------------------- 1 | ;; -*- mode: emacs-lisp -*- 2 | ;; -*- mode: emacs-lisp -*- 3 | ;; This file is loaded by Spacemacs at startup. A test 4 | ;; It must be stored in your home directory. Is this just a test 5 | (defun dotspacemacs/layers () 6 | "Configuration Layers declaration. 7 | You should not put any user code in this function besides modifying the variable 8 | values." 9 | (setq-default 10 | ;; Base distribution to use. This is a layer contained in the directory 11 | ;; `+distribution'. For now available distributions are `spacemacs-base' 12 | ;; or `spacemacs'. (default 'spacemacs) 13 | dotspacemacs-distribution 'spacemacs 14 | ;; Lazy installation of layers (i.e. layers are installed only when a file 15 | ;; with a supported type is opened). Possible values are `all', `unused' 16 | ;; and `nil'. `unused' will lazy install only unused layers (i.e. layers 17 | ;; not listed in variable `dotspacemacs-configuration-layers'), `all' will 18 | ;; lazy install any layer that support lazy installation even the layers 19 | ;; listed in `dotspacemacs-configuration-layers'. `nil' disable the lazy 20 | ;; installation feature and you have to explicitly list a layer in the 21 | ;; variable `dotspacemacs-configuration-layers' to install it. 22 | ;; (default 'unused) 23 | dotspacemacs-enable-lazy-installation 'unused 24 | ;; If non-nil then Spacemacs will ask for confirmation before installing 25 | ;; a layer lazily. (default t) 26 | dotspacemacs-ask-for-lazy-installation t 27 | ;; If non-nil layers with lazy install support are lazy installed. 28 | ;; List of additional paths where to look for configuration layers. 29 | ;; Paths must have a trailing slash (i.e. `~/.mycontribs/') 30 | dotspacemacs-configuration-layer-path '() 31 | ;; List of configuration layers to load. 32 | dotspacemacs-configuration-layers 33 | '( 34 | ruby 35 | html 36 | yaml 37 | ;; ---------------------------------------------------------------- 38 | ;; Example of useful layers you may want to use right away. 39 | ;; Uncomment some layer names and press (Vim style) or 40 | ;; (Emacs style) to install them. 41 | ;; ---------------------------------------------------------------- 42 | helm 43 | auto-completion 44 | ;; better-defaults 45 | emacs-lisp 46 | ;; git 47 | markdown 48 | org 49 | ;; (shell :variables 50 | ;; shell-default-height 30 51 | ;; shell-default-position 'bottom) 52 | ;; spell-checking 53 | ;; syntax-checking 54 | elfeed 55 | deft 56 | org-roam 57 | ) 58 | ;; List of additional packages that will be installed without being 59 | ;; wrapped in a layer. If you need some configuration for these 60 | ;; packages, then consider creating a layer. You can also put the 61 | ;; configuration in `dotspacemacs/user-config'. 62 | dotspacemacs-additional-packages '(synosaurus 63 | writeroom-mode 64 | elfeed-org 65 | dtk 66 | wanderlust 67 | ox-pandoc 68 | org-ref 69 | command-log-mode 70 | org-noter 71 | ranger 72 | hexo 73 | org-roam 74 | olivetti 75 | minimal-theme 76 | helm-org-rifle 77 | gruvbox-theme 78 | doom-themes 79 | helm-posframe 80 | sublimity 81 | zetteldeft 82 | nov 83 | org-variable-pitch 84 | mixed-pitch 85 | presentation 86 | easy-jekyll 87 | ) 88 | 89 | ;; A list of packages that cannot be updated. 90 | dotspacemacs-frozen-packages '() 91 | ;; A list of packages that will not be installed and loaded. 92 | dotspacemacs-excluded-packages '( 93 | ) 94 | ;; Defines the behaviour of Spacemacs when installing packages. 95 | ;; Possible values are `used-only', `used-but-keep-unused' and `all'. 96 | ;; `used-only' installs only explicitly used packages and uninstall any 97 | ;; unused packages as well as their unused dependencies. 98 | ;; `used-but-keep-unused' installs only the used packages but won't uninstall 99 | ;; them if they become unused. `all' installs *all* packages supported by 100 | ;; Spacemacs and never uninstall them. (default is `used-only') 101 | dotspacemacs-install-packages 'used-only)) 102 | 103 | (defun dotspacemacs/init () 104 | "Initialization function. 105 | This function is called at the very startup of Spacemacs initialization 106 | before layers configuration. 107 | You should not put any user code in there besides modifying the variable 108 | values." 109 | ;; This setq-default sexp is an exhaustive list of all the supported 110 | ;; spacemacs settings. 111 | (setq-default 112 | ;; If non nil ELPA repositories are contacted via HTTPS whenever it's 113 | ;; possible. Set it to nil if you have no way to use HTTPS in your 114 | ;; environment, otherwise it is strongly recommended to let it set to t. 115 | ;; This variable has no effect if Emacs is launched with the parameter 116 | ;; `--insecure' which forces the value of this variable to nil. 117 | ;; (default t) 118 | dotspacemacs-elpa-https t 119 | ;; Maximum allowed time in seconds to contact an ELPA repository. 120 | dotspacemacs-elpa-timeout 5 121 | ;; If non nil then spacemacs will check for updates at startup 122 | ;; when the current branch is not `develop'. Note that checking for 123 | ;; new versions works via git commands, thus it calls GitHub services 124 | ;; whenever you start Emacs. (default nil) 125 | dotspacemacs-check-for-update t 126 | ;; If non-nil, a form that evaluates to a package directory. For example, to 127 | ;; use different package directories for different Emacs versions, set this 128 | ;; to `emacs-version'. 129 | dotspacemacs-elpa-subdirectory nil 130 | ;; One of `vim', `emacs' or `hybrid'. 131 | ;; `hybrid' is like `vim' except that `insert state' is replaced by the 132 | ;; `hybrid state' with `emacs' key bindings. The value can also be a list 133 | ;; with `:variables' keyword (similar to layers). Check the editing styles 134 | ;; section of the documentation for details on available variables. 135 | ;; (default 'vim) 136 | dotspacemacs-editing-style 'vim 137 | ;; If non nil output loading progress in `*Messages*' buffer. (default nil) 138 | dotspacemacs-verbose-loading nil 139 | ;; Specify the startup banner. Default value is `official', it displays 140 | ;; the official spacemacs logo. An integer value is the index of text 141 | ;; banner, `random' chooses a random text banner in `core/banners' 142 | ;; directory. A string value must be a path to an image format supported 143 | ;; by your Emacs build. 144 | ;; If the value is nil then no banner is displayed. (default 'official) 145 | dotspacemacs-startup-banner 'official 146 | ;; List of items to show in startup buffer or an association list of 147 | ;; the form `(list-type . list-size)`. If nil then it is disabled. 148 | ;; Possible values for list-type are: 149 | ;; `recents' `bookmarks' `projects' `agenda' `todos'." 150 | ;; List sizes may be nil, in which case 151 | ;; `spacemacs-buffer-startup-lists-length' takes effect. 152 | dotspacemacs-startup-lists '((recents . 5) 153 | (projects . 7)) 154 | ;; True if the home buffer should respond to resize events. 155 | dotspacemacs-startup-buffer-responsive t 156 | ;; Default major mode of the scratch buffer (default `text-mode') 157 | dotspacemacs-scratch-mode 'text-mode 158 | ;; List of themes, the first of the list is loaded when spacemacs starts. 159 | ;; Press T n to cycle to the next theme in the list (works great 160 | ;; with 2 themes variants, one dark and one light) 161 | dotspacemacs-themes '( 162 | doom-one 163 | gruvbox 164 | solarized-dark 165 | spacemacs-dark 166 | solarized-light-theme) 167 | 168 | ;; If non nil the cursor color matches the state color in GUI Emacs. 169 | dotspacemacs-colorize-cursor-according-to-state t 170 | ;; Default font, or prioritized list of fonts. `powerline-scale' allows to 171 | ;; quickly tweak the mode-line size to make separators look not too crappy. 172 | dotspacemacs-default-font '("Noto Mono" 173 | :size 22 174 | :weight normal 175 | :width normal 176 | :powerline-scale 1.5) 177 | ;; The leader key 178 | dotspacemacs-leader-key "SPC" 179 | ;; The key used for Emacs commands (M-x) (after pressing on the leader key). 180 | ;; (default "SPC") 181 | dotspacemacs-emacs-command-key "SPC" 182 | ;; The key used for Vim Ex commands (default ":") 183 | dotspacemacs-ex-command-key ":" 184 | ;; The leader key accessible in `emacs state' and `insert state' 185 | ;; (default "M-m") 186 | dotspacemacs-emacs-leader-key "M-m" 187 | ;; Major mode leader key is a shortcut key which is the equivalent of 188 | ;; pressing ` m`. Set it to `nil` to disable it. (default ",") 189 | dotspacemacs-major-mode-leader-key "," 190 | ;; Major mode leader key accessible in `emacs state' and `insert state'. 191 | ;; (default "C-M-m") 192 | dotspacemacs-major-mode-emacs-leader-key "C-M-m" 193 | ;; Setting it to a non-nil value, allows for separate commands under 194 | ;; and TAB or and RET. 195 | ;; In the terminal, these pairs are generally indistinguishable, so this only 196 | ;; works in the GUI. (default nil) 197 | gdotspacemacs-distinguish-gui-tab nil 198 | ;; If non nil `Y' is remapped to `y$' in Evil states. (default nil) 199 | dotspacemacs-remap-Y-to-y$ nil 200 | ;; If non-nil, the shift mappings `<' and `>' retain visual state if used 201 | ;; there. (default t) 202 | dotspacemacs-retain-visual-state-on-shift t 203 | ;; If non-nil, J and K move lines up and down when in visual mode. 204 | ;; (default nil) 205 | dotspacemacs-visual-line-move-text nil 206 | ;; If non nil, inverse the meaning of `g' in `:substitute' Evil ex-command. 207 | ;; (default nil) 208 | dotspacemacs-ex-substitute-global nil 209 | ;; Name of the default layout (default "Default") 210 | dotspacemacs-default-layout-name "Default" 211 | ;; If non nil the default layout name is displayed in the mode-line. 212 | ;; (default nil) 213 | dotspacemacs-display-default-layout nil 214 | ;; If non nil then the last auto saved layouts are resume automatically upon 215 | ;; start. (default nil) 216 | dotspacemacs-auto-resume-layouts nil 217 | ;; Size (in MB) above which spacemacs will prompt to open the large file 218 | ;; literally to avoid performance issues. Opening a file literally means that 219 | ;; no major mode or minor modes are active. (default is 1) 220 | dotspacemacs-large-file-size 1 221 | ;; Location where to auto-save files. Possible values are `original' to 222 | ;; auto-save the file in-place, `cache' to auto-save the file to another 223 | ;; file stored in the cache directory and `nil' to disable auto-saving. 224 | ;; (default 'cache) 225 | dotspacemacs-auto-save-file-location 'cache 226 | ;; Maximum number of rollback slots to keep in the cache. (default 5) 227 | dotspacemacs-max-rollback-slots 5 228 | ;; If non nil, `helm' will try to minimize the space it uses. (default nil) 229 | dotspacemacs-helm-resize nil 230 | ;; if non nil, the helm header is hidden when there is only one source. 231 | ;; (default nil) 232 | dotspacemacs-helm-no-header nil 233 | ;; define the position to display `helm', options are `bottom', `top', 234 | ;; `left', or `right'. (default 'bottom) 235 | dotspacemacs-helm-position 'bottom 236 | ;; Controls fuzzy matching in helm. If set to `always', force fuzzy matching 237 | ;; in all non-asynchronous sources. If set to `source', preserve individual 238 | ;; source settings. Else, disable fuzzy matching in all sources. 239 | ;; (default 'always) 240 | dotspacemacs-helm-use-fuzzy 'always 241 | ;; If non nil the paste micro-state is enabled. When enabled pressing `p` 242 | ;; several times cycle between the kill ring content. (default nil) 243 | dotspacemacs-enable-paste-transient-state nil 244 | ;; Which-key delay in seconds. The which-key buffer is the popup listing 245 | ;; the commands bound to the current keystroke sequence. (default 0.4) 246 | dotspacemacs-which-key-delay 0.4 247 | ;; Which-key frame position. Possible values are `right', `bottom' and 248 | ;; `right-then-bottom'. right-then-bottom tries to display the frame to the 249 | ;; right; if there is insufficient space it displays it at the bottom. 250 | ;; (default 'bottom) 251 | dotspacemacs-which-key-position 'bottom 252 | ;; If non nil a progress bar is displayed when spacemacs is loading. This 253 | ;; may increase the boot time on some systems and emacs builds, set it to 254 | ;; nil to boost the loading time. (default t) 255 | dotspacemacs-loading-progress-bar t 256 | ;; If non nil the frame is fullscreen when Emacs starts up. (default nil) 257 | ;; (Emacs 24.4+ only) 258 | dotspacemacs-fullscreen-at-startup nil 259 | ;; If non nil `spacemacs/toggle-fullscreen' will not use native fullscreen. 260 | ;; Use to disable fullscreen animations in OSX. (default nil) 261 | dotspacemacs-fullscreen-use-non-native nil 262 | ;; If non nil the frame is maximized when Emacs starts up. 263 | ;; Takes effect only if `dotspacemacs-fullscreen-at-startup' is nil. 264 | ;; (default nil) (Emacs 24.4+ only) 265 | dotspacemacs-maximized-at-startup nil 266 | ;; A value from the range (0..100), in increasing opacity, which describes 267 | ;; the transparency level of a frame when it's active or selected. 268 | ;; Transparency can be toggled through `toggle-transparency'. (default 90) 269 | dotspacemacs-active-transparency 90 270 | ;; A value from the range (0..100), in increasing opacity, which describes 271 | ;; the transparency level of a frame when it's inactive or deselected. 272 | ;; Transparency can be toggled through `toggle-transparency'. (default 90) 273 | dotspacemacs-inactive-transparency 90 274 | ;; If non nil show the titles of transient states. (default t) 275 | dotspacemacs-show-transient-state-title t 276 | ;; If non nil show the color guide hint for transient state keys. (default t) 277 | dotspacemacs-show-transient-state-color-guide t 278 | ;; If non nil unicode symbols are displayed in the mode line. (default t) 279 | dotspacemacs-mode-line-unicode-symbols t 280 | ;; If non nil smooth scrolling (native-scrolling) is enabled. Smooth 281 | ;; scrolling overrides the default behavior of Emacs which recenters point 282 | ;; when it reaches the top or bottom of the screen. (default t) 283 | dotspacemacs-smooth-scrolling t 284 | ;; Control line numbers activation. 285 | ;; If set to `t' or `relative' line numbers are turned on in all `prog-mode' and 286 | ;; `text-mode' derivatives. If set to `relative', line numbers are relative. 287 | ;; This variable can also be set to a property list for finer control: 288 | ;; '(:relative nil 289 | ;; :disabled-for-modes dired-mode 290 | ;; doc-view-mode 291 | ;; markdown-mode 292 | ;; org-mode 293 | ;; pdf-view-mode 294 | ;; text-mode 295 | ;; :size-limit-kb 1000) 296 | ;; (default nil) 297 | dotspacemacs-line-numbers nil 298 | ;; Code folding method. Possible values are `evil' and `origami'. 299 | ;; (default 'evil) 300 | ;; (default nil) 301 | dotspacemacs-smartparens-strict-mode nil 302 | ;; If non-nil pressing the closing parenthesis `)' key in insert mode passes 303 | ;; over any automatically added closing parenthesis, bracket, quote, etc… 304 | ;; This can be temporary disabled by pressing `C-q' before `)'. (default nil) 305 | dotspacemacs-smart-closing-parenthesis nil 306 | ;; Select a scope to highlight delimiters. Possible values are `any', 307 | ;; `current', `all' or `nil'. Default is `all' (highlight any scope and 308 | ;; emphasis the current one). (default 'all) 309 | dotspacemacs-highlight-delimiters 'all 310 | ;; If non nil, advise quit functions to keep server open when quitting. 311 | ;; (default nil) 312 | dotspacemacs-persistent-server nil 313 | ;; List of search tool executable names. Spacemacs uses the first installed 314 | ;; tool of the list. Supported tools are `ag', `pt', `ack' and `grep'. 315 | ;; (default '("ag" "pt" "ack" "grep")) 316 | dotspacemacs-search-tools '("ag" "pt" "ack" "grep") 317 | ;; The default package repository used if no explicit repository has been 318 | ;; specified with an installed package. 319 | ;; Not used for now. (default nil) 320 | dotspacemacs-default-package-repository nil 321 | ;; Delete whitespace while saving buffer. Possible values are `all' 322 | ;; to aggressively delete empty line and long sequences of whitespace, 323 | ;; `trailing' to delete only the whitespace at end of lines, `changed'to 324 | ;; delete only whitespace for changed lines or `nil' to disable cleanup. 325 | ;; (default nil) 326 | dotspacemacs-whitespace-cleanup nil 327 | )) 328 | 329 | (defun dotspacemacs/user-init () 330 | "Initialization function for user code. 331 | It is called immediately after `dotspacemacs/init', before layer configuration 332 | executes. 333 | This function is mostly useful for variables that need to be set 334 | before packages are loaded. If you are unsure, you should try in setting them in 335 | `dotspacemacs/user-config' first." 336 | ) 337 | 338 | (defun dotspacemacs/user-config () 339 | "Configuration function for user code. 340 | This function is called at the very end of Spacemacs initialization after 341 | layers configuration. 342 | This is the place where most of your configurations should be done. Unless it is 343 | explicitly specified that a variable should be set before a package is loaded, 344 | you should place your code here." 345 | ;; org insert link 346 | (global-set-key (kbd "C-c i") 'org-insert-link) 347 | 348 | ;; transparency 349 | (set-frame-parameter (selected-frame) 'alpha '(85 85)) 350 | (add-to-list 'default-frame-alist '(alpha 85 85)) 351 | ;; org-indent-mode 352 | 353 | (global-set-key (kbd "s-i") 'org-indent-mode) 354 | ;; minor tweaks for better looks 355 | ;; for org-bullets 356 | (setq inhibit-compacting-font-caches t) 357 | ;; for save-ahlist 358 | (setq history-length 100) 359 | (put 'minibuffer-history 'history-length 50) 360 | (put 'evil-ex-history 'history-length 50) 361 | (put 'kill-ring 'history-length 25) 362 | ;; To set org refile past level 1 363 | (setq org-refile-targets '((nil :maxlevel . 9) 364 | (org-agenda-files :maxlevel . 9))) 365 | (setq org-outline-path-complete-in-steps nil) ; Refile in a single go 366 | (setq org-refile-use-outline-path t) ; Show full paths for refiling 367 | ;; use an org file to organise feeds 368 | ;; Makes numbered list 369 | (defun org-make-olist (arg) 370 | (interactive "P") 371 | (let ((n (or arg 1))) 372 | (when (region-active-p) 373 | (setq n (count-lines (region-beginning) 374 | (region-end))) 375 | (goto-char (region-beginning))) 376 | (dotimes (i n) 377 | (beginning-of-line) 378 | (insert (concat (number-to-string (1+ i)) ". ")) 379 | (forward-line)) 380 | (beginning-of-line))) 381 | (global-set-key (kbd "C-=") 'org-make-olist) 382 | ;; This my org highligt config 383 | ;; Always open org with visual li e and writeroom 384 | (add-hook 'org-mode-hook #'visual-line-mode) 385 | (add-hook 'org-mode-hook #'buffer-face-mode) 386 | (add-hook 'org-mode-hook #'olivetti-mode) 387 | (add-hook 'org-mode-hook #'org-show-all) 388 | (add-hook 'org-mode-hook #'org-variable-pitch-minor-mode) 389 | (add-hook 'org-mode-hook #'org-toggle-pretty-entities) 390 | (add-hook 'markdown-mode-hook #'olivetti-mode) 391 | (add-hook 'markdown-mode-hook #'visual-line-mode) 392 | (add-hook 'elfeed-entry-mode-hook #'visual-line-mode) 393 | (add-hook 'elfeed-show-mode-hook #'visual-line-mode) 394 | 395 | ;; Centaur Tabs 396 | (setq-default mode-line-format nil) 397 | ;; This is my DTK Package 398 | 399 | ;; ---------------ZETTELDEFT COMMANDS--------------------------------- 400 | (load-file "~/.emacs.d/elpa/zetteldeft-20200329.1506/zetteldeft.el" ) 401 | ;; 402 | (setq-default dotspacemacs-configuration-layers 403 | '((deft :variables deft-zetteldeft t))) 404 | (defun efls/deft-open-preview () 405 | (interactive) 406 | (deft-open-file-other-window)) 407 | (with-eval-after-load 'deft 408 | (define-key deft-mode-map 409 | (kbd "") 'efls/deft-open-preview) 410 | (define-key deft-mode-map 411 | (kbd "") 'efls/deft-open-other) 412 | (define-key deft-mode-map 413 | (kbd "s-j") 'evil-next-line) 414 | (define-key deft-mode-map (kbd "s-k") 'evil-previous-line)) 415 | (setq deft-strip-summary-regexp 416 | (concat "\\(" 417 | "[\n\t]" ;; blank 418 | "\\|^#\\+[a-zA-Z_]+:.*$" ;;org-mode metadata 419 | "\\)")) 420 | ;; Prefix 421 | (spacemacs/declare-prefix "d" "deft") 422 | (spacemacs/set-leader-keys "dd" 'deft) 423 | (spacemacs/set-leader-keys "dD" 'zetteldeft-deft-new-search) 424 | (spacemacs/set-leader-keys "ds" 'zetteldeft-search-at-point) 425 | (spacemacs/set-leader-keys "dc" 'zetteldeft-search-current-id) 426 | (spacemacs/set-leader-keys "df" 'zetteldeft-follow-link) 427 | (spacemacs/set-leader-keys "dF" 'zetteldeft-avy-file-search-ace-window) 428 | (spacemacs/set-leader-keys "dl" 'zetteldeft-avy-link-search) 429 | (spacemacs/set-leader-keys "dt" 'zetteldeft-avy-tag-search) 430 | (spacemacs/set-leader-keys "dT" 'zetteldeft-tag-buffer) 431 | (spacemacs/set-leader-keys "di" 'zetteldeft-find-file-id-insert) 432 | (spacemacs/set-leader-keys "dI" 'zetteldeft-find-file-full-title-insert) 433 | (spacemacs/set-leader-keys "do" 'zetteldeft-find-file) 434 | (spacemacs/set-leader-keys "dm" 'deft-new-file) 435 | (spacemacs/set-leader-keys "dn" 'zetteldeft-new-file) 436 | (spacemacs/set-leader-keys "dN" 'zetteldeft-new-file-and-link) 437 | (spacemacs/set-leader-keys "dr" 'zetteldeft-file-rename) 438 | (spacemacs/set-leader-keys "dR" 'deft-refresh) 439 | 440 | ;; zdlink 441 | (with-eval-after-load 'org (org-link-set-parameters 442 | "zdlink" 443 | :follow (lambda (str) (zetteldeft--search-filename (zetteldeft--lift-id str))) 444 | :complete 'efls/zd-complete-link 445 | :help-echo "Searches provided ID in Zetteldeft")) 446 | 447 | (defun efls/zd-complete-link () 448 | "Link completion for `tslink' type links" 449 | (let* ((file (completing-read "File to link to: " 450 | (deft-find-all-files-no-prefix))) 451 | (link (zetteldeft--lift-id file))) 452 | (unless link (user-error "No file selected")) 453 | (concat "zdlink:" link))) 454 | 455 | ;; Loading files/themes 456 | (load-theme 'gruvbox-dark-hard) 457 | (load-file "~/.emacs.d/private/org-roam/packages.el") 458 | ;; load mwe-log 459 | (with-eval-after-load 'command-log-mode (setq clm/log-command-exceptions* (append clm/log-command-exceptions* 460 | '(evil-next-line 461 | evil-previous-line 462 | evil-forward-char 463 | mouse-set-point 464 | evil-backward-char)))) 465 | ) 466 | ;; Do not write anything past this comment. This is where Emacs will 467 | ;; auto-generate custom variable definitions. 468 | (custom-set-variables 469 | ;; custom-set-variables was added by Custom. 470 | ;; If you edit it by hand, you could mess it up, so be careful. 471 | ;; Your init file should contain only one such instance. 472 | ;; If there is more than one, they won't work right. 473 | '(custom-safe-themes 474 | (quote 475 | ("b89ae2d35d2e18e4286c8be8aaecb41022c1a306070f64a66fd114310ade88aa" "a06658a45f043cd95549d6845454ad1c1d6e24a99271676ae56157619952394a" "123a8dabd1a0eff6e0c48a03dc6fb2c5e03ebc7062ba531543dfbce587e86f2a" "fa2b58bb98b62c3b8cf3b6f02f058ef7827a8e497125de0254f56e373abee088" "1d50bd38eed63d8de5fcfce37c4bb2f660a02d3dff9cbfd807a309db671ff1af" "4cf9ed30ea575fb0ca3cff6ef34b1b87192965245776afa9e9e20c17d115f3fb" "99ea831ca79a916f1bd789de366b639d09811501e8c092c85b2cb7d697777f93" "d5f8099d98174116cba9912fe2a0c3196a7cd405d12fa6b9375c55fc510988b5" "774aa2e67af37a26625f8b8c86f4557edb0bac5426ae061991a7a1a4b1c7e375" "e1ecb0536abec692b5a5e845067d75273fe36f24d01210bf0aa5842f2a7e029f" "07e3a1323eb29844e0de052b05e21e03ae2f55695c11f5d68d61fb5fed722dd2" "6bacece4cf10ea7dd5eae5bfc1019888f0cb62059ff905f37b33eec145a6a430" "229c5cf9c9bd4012be621d271320036c69a14758f70e60385e87880b46d60780" "e1ef2d5b8091f4953fe17b4ca3dd143d476c106e221d92ded38614266cea3c8b" "74a42b2b5dde1057e66bcf4c241789213e0ed5b77a2ee41c982fdc8c2abe9d98" "1ed5c8b7478d505a358f578c00b58b430dde379b856fbcb60ed8d345fc95594e" "ca849ae0c889eb918785cdc75452b1e11a00848a5128a95a23872e0119ccc8f4" "ec8246f6f74bfe0230521412d88092342c17c1c0448a4b8ba39bddd3da170590" "bc836bf29eab22d7e5b4c142d201bcce351806b7c1f94955ccafab8ce5b20208" "d261bb8f66be37752791a67f03dd24361592ce141b32d83bcbe63ec1c738b087" "845103fcb9b091b0958171653a4413ccfad35552bc39697d448941bcbe5a660d" "0809c08440b51a39c77ec5529f89af83ab256a9d48107b088d40098ce322c7d8" "1c8171893a9a0ce55cb7706766e57707787962e43330d7b0b6b0754ed5283cda" "1436d643b98844555d56c59c74004eb158dc85fc55d2e7205f8d9b8c860e177f" "830877f4aab227556548dc0a28bf395d0abe0e3a0ab95455731c9ea5ab5fe4e1" "13a8eaddb003fd0d561096e11e1a91b029d3c9d64554f8e897b2513dbf14b277" "7f1d414afda803f3244c6fb4c2c64bea44dac040ed3731ec9d75275b9e831fe5" "66f32da4e185defe7127e0dc8b779af99c00b60c751b0662276acaea985e2721" "d91ef4e714f05fff2070da7ca452980999f5361209e679ee988e3c432df24347" "3e335d794ed3030fefd0dbd7ff2d3555e29481fe4bbb0106ea11c660d6001767" "54449a089fc2f95f99ebc9b9b6067c802532fd50097cf44c46a53b4437d5c6cc" "ab2cbf30ab758c5e936b527377d543ce4927001742f79519b62c45ba9dd9f55e" "cc0dbb53a10215b696d391a90de635ba1699072745bf653b53774706999208e3" "4780d7ce6e5491e2c1190082f7fe0f812707fc77455616ab6f8b38e796cbffa9" "8e797edd9fa9afec181efbfeeebf96aeafbd11b69c4c85fa229bb5b9f7f7e66c" "b583823b9ee1573074e7cbfd63623fe844030d911e9279a7c8a5d16de7df0ed0" "585942bb24cab2d4b2f74977ac3ba6ddbd888e3776b9d2f993c5704aa8bb4739" "a22f40b63f9bc0a69ebc8ba4fbc6b452a4e3f84b80590ba0a92b4ff599e53ad0" "0598c6a29e13e7112cfbc2f523e31927ab7dce56ebb2016b567e1eff6dc1fd4f" "d2e9c7e31e574bf38f4b0fb927aaff20c1e5f92f72001102758005e53d77b8c9" "bffa9739ce0752a37d9b1eee78fc00ba159748f50dc328af4be661484848e476" "4639288d273cbd3dc880992e6032f9c817f17c4a91f00f3872009a099f5b3f84" default))) 476 | '(deft-directory "~/zk") 477 | '(deft-incremental-search nil) 478 | '(deft-recursive nil) 479 | '(deft-strip-summary-regexp "\\([ 480 | ]\\|^#\\+[a-zA-Z_]+:.*$\\)") 481 | '(easy-jekyll-basedir "~/abe-blog/") 482 | '(easy-jekyll-default-picture-directory "~/abe-blog/assets/images/") 483 | '(easy-jekyll-markdown-extension "markdown") 484 | '(elfeed-feeds 485 | (quote 486 | ("http://rss.christiansunite.com/rss_faith.cgi" "http://rss.christiansunite.com/feed_5_42.shtml" "http://feeds.feedburner.com/hl-devos-spurgeon-evening" "http://feeds.feedburner.com/hl-devos-spurgeon-morning"))) 487 | '(evil-want-Y-yank-to-eol nil) 488 | '(flyspell-default-dictionary "American") 489 | '(line-spacing 0.2) 490 | '(org-agenda-files (quote ("~/.deft/-TASK MANAGER-.org"))) 491 | '(org-bullets-bullet-list (quote (" "))) 492 | '(org-emphasis-alist 493 | (quote 494 | (("+" 495 | (:foreground "#cc241d")) 496 | ("=" 497 | (:foreground "#d79921")) 498 | ("~" 499 | (:foreground "#689d6a")) 500 | ("*" bold 501 | (:foreground "#458588")) 502 | ("/" italic) 503 | ("_" underline) 504 | ("=") 505 | ("~" org-verbatim verbatim) 506 | ("+" 507 | (:strike-through t))))) 508 | '(org-hide-emphasis-markers t) 509 | '(org-hide-leading-stars t) 510 | '(org-indent-indentation-per-level 4) 511 | '(org-roam-completion-system (quote helm)) 512 | '(org-roam-directory "~/zk" nil nil "Customized with use-package org-roam") 513 | '(org-tags-column -80) 514 | '(package-selected-packages 515 | (quote 516 | (liquid-types rvm ruby-tools ruby-test-mode rubocop rspec-mode robe rbenv rake minitest chruby bundler inf-ruby easy-jekyll jekyll-modes command-log-mode image+ mixed-pitch org-variable-pitch presentation org-roam emacsql-sqlite emacsql autothemer org-journal fontify-face doom-acario-dark-theme doom-gruvbox-theme sublimity modern-cpp-font-lock posframe tabbar helm-posframe gruvbox-darker-hard-theme simple-httpd elfeed-goodies ace-jump-mode noflet elfeed-protocol elfeed-web elfeed-org debug-print web-mode tagedit slim-mode scss-mode sass-mode pug-mode helm-css-scss haml-mode emmet-mode company-web web-completion-data popup-complete mw-thesaurus synosaurus powerthesaurus helm-org-rifle pandoc minimal-dark-theme zones flatland-black-theme centaur-tabs minimal-theme-theme minimal-theme-black-theme minimal-black-theme minimal-black-theme-theme minimal-theme gruvbox-theme visual-fill-column semi flim apel ht key-chord tablist esxml org-pretty-tags todotxt todotxt-mode org-mode-beautify-theme solarized-theme hexo ranger doom-themes org-beautify-theme w3m yasnippet-snippets interleave org-noter ivy helm-bibtex biblio parsebib biblio-core org-ref ox-pandoc yaml-mode elfeed wanderlust dtk ereader org-pdfview zetteldeft pdf-tools writeroom-mode deft smeargle orgit org-projectile org-category-capture org-present org-pomodoro alert log4e gntp org-mime org-download mmm-mode markdown-toc markdown-mode magit-gitflow magit-popup htmlize helm-gitignore helm-company helm-c-yasnippet gnuplot gitignore-mode gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link gh-md fuzzy flyspell-correct-helm flyspell-correct evil-magit magit transient git-commit with-editor company-statistics company auto-yasnippet yasnippet auto-dictionary ac-ispell auto-complete nov olivetti ws-butler winum which-key volatile-highlights vi-tilde-fringe uuidgen use-package toc-org spaceline powerline restart-emacs request rainbow-delimiters popwin persp-mode pcre2el paradox spinner org-plus-contrib org-bullets open-junk-file neotree move-text macrostep lorem-ipsum linum-relative link-hint indent-guide hydra lv hungry-delete hl-todo highlight-parentheses highlight-numbers parent-mode highlight-indentation helm-themes helm-swoop helm-projectile projectile pkg-info epl helm-mode-manager helm-make helm-flx helm-descbinds helm-ag google-translate golden-ratio flx-ido flx fill-column-indicator fancy-battery eyebrowse expand-region exec-path-from-shell evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-surround evil-search-highlight-persist highlight evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-lisp-state smartparens evil-indent-plus evil-iedit-state iedit evil-exchange evil-escape evil-ediff evil-args evil-anzu anzu evil goto-chg undo-tree eval-sexp-fu elisp-slime-nav dumb-jump f dash s diminish define-word column-enforce-mode clean-aindent-mode bind-map bind-key auto-highlight-symbol auto-compile packed aggressive-indent adaptive-wrap ace-window ace-link ace-jump-helm-line helm avy helm-core popup async))) 517 | '(synosaurus-backend (quote synosaurus-backend-wordnet)) 518 | '(zetteldeft-title-suffix " 519 | date: 520 | tags: 521 | ")) 522 | (custom-set-faces 523 | ;; custom-set-faces was added by Custom. 524 | ;; If you edit it by hand, you could mess it up, so be careful. 525 | ;; Your init file should contain only one such instance. 526 | ;; If there is more than one, they won't work right. 527 | '(bold ((t (:weight ultra-bold)))) 528 | '(italic ((t (:slant italic)))) 529 | '(org-agenda-structure ((t (:inherit default :foreground "#bbc2cf" :underline nil :slant normal :weight bold :height 2.0 :width normal :foundry "outline" :family "PT Sans")))) 530 | '(org-default ((t (:inherit variable-pitch)))) 531 | '(org-document-title ((t (:inherit org-level-1 :foreground "dark gray" :weight bold :height 1.2 :family "IM Fell English SC")))) 532 | '(org-footnote ((t (:foreground "gray40" :underline t :height 0.5)))) 533 | '(org-indent ((t (:inherit org-hide fixed-pitch)))) 534 | '(org-level-1 ((t (:inherit variable-pitch :foreground "#a89984" :weight bold :height 1.6 :family "IM Fell English SC")))) 535 | '(org-level-2 ((t (:inherit nil :foreground "#bdae93" :weight bold :height 1.4 :family "IM Fell English SC")))) 536 | '(org-level-3 ((t (:foreground "#d5c4a1" :height 1.2 :family "IM Fell English SC")))) 537 | '(org-level-4 ((t (:inherit nil :foreground "#ebdbb2" :weight normal :height 1.1 :family "IM Fell English SC")))) 538 | '(org-level-5 ((t (:inherit nil :foreground "#ebdbb2" :weight normal :height 1.0 :family "IM Fell English SC")))) 539 | '(org-level-6 ((t (:inherit nil)))) 540 | '(org-level-7 ((t nil))) 541 | '(org-link ((t (:inherit nil :foreground "cornflower blue" :underline t :height 1.0)))) 542 | '(org-table ((t (:foreground "tomato")))) 543 | '(org-variable-pitch-face ((t (:height 1.0 :family "IM Fell English")))) 544 | '(variable-pitch ((t (:height 1.0 :family "IM Fell English"))))) 545 | -------------------------------------------------------------------------------- /dotspacemacs-2020-04-15: -------------------------------------------------------------------------------- 1 | ;; -*- mode: emacs-lisp -*- 2 | ;; This file is loaded by Spacemacs at startup. A test 3 | ;; It must be stored in your home directory. Is this just a test 4 | (defun dotspacemacs/layers () 5 | "Configuration Layers declaration. 6 | You should not put any user code in this function besides modifying the variable 7 | values." 8 | (setq-default 9 | ;; Base distribution to use. This is a layer contained in the directory 10 | ;; `+distribution'. For now available distributions are `spacemacs-base' 11 | ;; or `spacemacs'. (default 'spacemacs) 12 | dotspacemacs-distribution 'spacemacs 13 | ;; Lazy installation of layers (i.e. layers are installed only when a file 14 | ;; with a supported type is opened). Possible values are `all', `unused' 15 | ;; and `nil'. `unused' will lazy install only unused layers (i.e. layers 16 | ;; not listed in variable `dotspacemacs-configuration-layers'), `all' will 17 | ;; lazy install any layer that support lazy installation even the layers 18 | ;; listed in `dotspacemacs-configuration-layers'. `nil' disable the lazy 19 | ;; installation feature and you have to explicitly list a layer in the 20 | ;; variable `dotspacemacs-configuration-layers' to install it. 21 | ;; (default 'unused) 22 | dotspacemacs-enable-lazy-installation 'unused 23 | ;; If non-nil then Spacemacs will ask for confirmation before installing 24 | ;; a layer lazily. (default t) 25 | dotspacemacs-ask-for-lazy-installation t 26 | ;; If non-nil layers with lazy install support are lazy installed. 27 | ;; List of additional paths where to look for configuration layers. 28 | ;; Paths must have a trailing slash (i.e. `~/.mycontribs/') 29 | dotspacemacs-configuration-layer-path '() 30 | ;; List of configuration layers to load. 31 | dotspacemacs-configuration-layers 32 | '( 33 | html 34 | (deft :variables 35 | deft-zetteldeft t) 36 | yaml 37 | ;; ---------------------------------------------------------------- 38 | ;; Example of useful layers you may want to use right away. 39 | ;; Uncomment some layer names and press (Vim style) or 40 | ;; (Emacs style) to install them. 41 | ;; ---------------------------------------------------------------- 42 | helm 43 | auto-completion 44 | ;; better-defaults 45 | emacs-lisp 46 | ;; git 47 | markdown 48 | org 49 | ;; (shell :variables 50 | ;; shell-default-height 30 51 | ;; shell-default-position 'bottom) 52 | ;; spell-checking 53 | ;; syntax-checking 54 | ;; elfeed 55 | deft 56 | org-roam 57 | ) 58 | ;; List of additional packages that will be installed without being 59 | ;; wrapped in a layer. If you need some configuration for these 60 | ;; packages, then consider creating a layer. You can also put the 61 | ;; configuration in `dotspacemacs/user-config'. 62 | dotspacemacs-additional-packages '( 63 | writeroom-mode 64 | dtk 65 | ox-pandoc 66 | org-ref 67 | command-log-mode 68 | org-noter 69 | ranger 70 | olivetti 71 | minimal-theme 72 | helm-org-rifle 73 | gruvbox-theme 74 | doom-themes 75 | zetteldeft 76 | nov 77 | org-variable-pitch 78 | mixed-pitch 79 | ;; centaur-tabs 80 | presentation 81 | easy-jekyll 82 | ;; synosaurus 83 | ) 84 | 85 | ;; A list of packages that cannot be updated. 86 | dotspacemacs-frozen-packages '() 87 | ;; A list of packages that will not be installed and loaded 88 | dotspacemacs-excluded-packages '( 89 | ) 90 | ;; Defines the behaviour of Spacemacs when installing packages. 91 | ;; Possible values are `used-only', `used-but-keep-unused' and `all'. 92 | ;; `used-only' installs only explicitly used packages and uninstall any 93 | ;; unused packages as well as their unused dependencies. 94 | ;; `used-but-keep-unused' installs only the used packages but won't uninstall 95 | ;; them if they become unused. `all' installs *all* packages supported by 96 | ;; Spacemacs and never uninstall them. (default is `used-only') 97 | dotspacemacs-install-packages 'used-only)) 98 | 99 | (defun dotspacemacs/init () 100 | "Initialization function. 101 | This function is called at the very startup of Spacemacs initialization 102 | before layers configuration. 103 | You should not put any user code in there besides modifying the variable 104 | values." 105 | ;; This setq-default sexp is an exhaustive list of all the supported 106 | ;; spacemacs settings. 107 | (setq-default 108 | ;; If non nil ELPA repositories are contacted via HTTPS whenever it's 109 | ;; possible. Set it to nil if you have no way to use HTTPS in your 110 | ;; environment, otherwise it is strongly recommended to let it set to t. 111 | ;; This variable has no effect if Emacs is launched with the parameter 112 | ;; `--insecure' which forces the value of this variable to nil. 113 | ;; (default t) 114 | dotspacemacs-elpa-https t 115 | ;; Maximum allowed time in seconds to contact an ELPA repository. 116 | dotspacemacs-elpa-timeout 5 117 | ;; If non nil then spacemacs will check for updates at startup 118 | ;; when the current branch is not `develop'. Note that checking for 119 | ;; new versions works via git commands, thus it calls GitHub services 120 | ;; whenever you start Emacs. (default nil) 121 | dotspacemacs-check-for-update t 122 | ;; If non-nil, a form that evaluates to a package directory. For example, to 123 | ;; use different package directories for different Emacs versions, set this 124 | ;; to `emacs-version'. 125 | dotspacemacs-elpa-subdirectory nil 126 | ;; One of `vim', `emacs' or `hybrid'. 127 | ;; `hybrid' is like `vim' except that `insert state' is replaced by the 128 | ;; `hybrid state' with `emacs' key bindings. The value can also be a list 129 | ;; with `:variables' keyword (similar to layers). Check the editing styles 130 | ;; section of the documentation for details on available variables. 131 | ;; (default 'vim) 132 | dotspacemacs-editing-style 'vim 133 | ;; If non nil output loading progress in `*Messages*' buffer. (default nil) 134 | dotspacemacs-verbose-loading nil 135 | ;; Specify the startup banner. Default value is `official', it displays 136 | ;; the official spacemacs logo. An integer value is the index of text 137 | ;; banner, `random' chooses a random text banner in `core/banners' 138 | ;; directory. A string value must be a path to an image format supported 139 | ;; by your Emacs build. 140 | ;; If the value is nil then no banner is displayed. (default 'official) 141 | dotspacemacs-startup-banner 'official 142 | ;; List of items to show in startup buffer or an association list of 143 | ;; the form `(list-type . list-size)`. If nil then it is disabled. 144 | ;; Possible values for list-type are: 145 | ;; `recents' `bookmarks' `projects' `agenda' `todos'." 146 | ;; List sizes may be nil, in which case 147 | ;; `spacemacs-buffer-startup-lists-length' takes effect. 148 | dotspacemacs-startup-lists '((recents . 5) 149 | (projects . 7)) 150 | ;; True if the home buffer should respond to resize events. 151 | dotspacemacs-startup-buffer-responsive t 152 | ;; Default major mode of the scratch buffer (default `text-mode') 153 | dotspacemacs-scratch-mode 'text-mode 154 | ;; List of themes, the first of the list is loaded when spacemacs starts. 155 | ;; Press T n to cycle to the next theme in the list (works great 156 | ;; with 2 themes variants, one dark and one light) 157 | dotspacemacs-themes '( 158 | wheatgrass 159 | gruvbox 160 | solarized-dark 161 | spacemacs-dark 162 | solarized-light-theme) 163 | 164 | ;; If non nil the cursor color matches the state color in GUI Emacs. 165 | dotspacemacs-colorize-cursor-according-to-state t 166 | ;; Default font, or prioritized list of fonts. `powerline-scale' allows to 167 | ;; quickly tweak the mode-line size to make separators look not too crappy. 168 | dotspacemacs-default-font '("Noto Mono" 169 | :size 30 170 | :weight normal 171 | :width normal 172 | :powerline-scale 1.5) 173 | ;; The leader key 174 | dotspacemacs-leader-key "SPC" 175 | ;; The key used for Emacs commands (M-x) (after pressing on the leader key). 176 | ;; (default "SPC") 177 | dotspacemacs-emacs-command-key "SPC" 178 | ;; The key used for Vim Ex commands (default ":") 179 | dotspacemacs-ex-command-key ":" 180 | ;; The leader key accessible in `emacs state' and `insert state' 181 | ;; (default "M-m") 182 | dotspacemacs-emacs-leader-key "M-m" 183 | ;; Major mode leader key is a shortcut key which is the equivalent of 184 | ;; pressing ` m`. Set it to `nil` to disable it. (default ",") 185 | dotspacemacs-major-mode-leader-key "," 186 | ;; Major mode leader key accessible in `emacs state' and `insert state'. 187 | ;; (default "C-M-m") 188 | dotspacemacs-major-mode-emacs-leader-key "C-M-m" 189 | ;; Setting it to a non-nil value, allows for separate commands under 190 | ;; and TAB or and RET. 191 | ;; In the terminal, these pairs are generally indistinguishable, so this only 192 | ;; works in the GUI. (default nil) 193 | gdotspacemacs-distinguish-gui-tab nil 194 | ;; If non nil `Y' is remapped to `y$' in Evil states. (default nil) 195 | dotspacemacs-remap-Y-to-y$ nil 196 | ;; If non-nil, the shift mappings `<' and `>' retain visual state if used 197 | ;; there. (default t) 198 | dotspacemacs-retain-visual-state-on-shift t 199 | ;; If non-nil, J and K move lines up and down when in visual mode. 200 | ;; (default nil) 201 | dotspacemacs-visual-line-move-text nil 202 | ;; If non nil, inverse the meaning of `g' in `:substitute' Evil ex-command. 203 | ;; (default nil) 204 | dotspacemacs-ex-substitute-global nil 205 | ;; Name of the default layout (default "Default") 206 | dotspacemacs-default-layout-name "Default" 207 | ;; If non nil the default layout name is displayed in the mode-line. 208 | ;; (default nil) 209 | dotspacemacs-display-default-layout nil 210 | ;; If non nil then the last auto saved layouts are resume automatically upon 211 | ;; start. (default nil) 212 | dotspacemacs-auto-resume-layouts nil 213 | ;; Size (in MB) above which spacemacs will prompt to open the large file 214 | ;; literally to avoid performance issues. Opening a file literally means that 215 | ;; no major mode or minor modes are active. (default is 1) 216 | dotspacemacs-large-file-size 1 217 | ;; Location where to auto-save files. Possible values are `original' to 218 | ;; auto-save the file in-place, `cache' to auto-save the file to another 219 | ;; file stored in the cache directory and `nil' to disable auto-saving. 220 | ;; (default 'cache) 221 | dotspacemacs-auto-save-file-location 'cache 222 | ;; Maximum number of rollback slots to keep in the cache. (default 5) 223 | dotspacemacs-max-rollback-slots 5 224 | ;; If non nil, `helm' will try to minimize the space it uses. (default nil) 225 | dotspacemacs-helm-resize nil 226 | ;; if non nil, the helm header is hidden when there is only one source. 227 | ;; (default nil) 228 | dotspacemacs-helm-no-header nil 229 | ;; define the position to display `helm', options are `bottom', `top', 230 | ;; `left', or `right'. (default 'bottom) 231 | dotspacemacs-helm-position 'bottom 232 | ;; Controls fuzzy matching in helm. If set to `always', force fuzzy matching 233 | ;; in all non-asynchronous sources. If set to `source', preserve individual 234 | ;; source settings. Else, disable fuzzy matching in all sources. 235 | ;; (default 'always) 236 | dotspacemacs-helm-use-fuzzy 'always 237 | ;; If non nil the paste micro-state is enabled. When enabled pressing `p` 238 | ;; several times cycle between the kill ring content. (default nil) 239 | dotspacemacs-enable-paste-transient-state nil 240 | ;; Which-key delay in seconds. The which-key buffer is the popup listing 241 | ;; the commands bound to the current keystroke sequence. (default 0.4) 242 | dotspacemacs-which-key-delay 0.4 243 | ;; Which-key frame position. Possible values are `right', `bottom' and 244 | ;; `right-then-bottom'. right-then-bottom tries to display the frame to the 245 | ;; right; if there is insufficient space it displays it at the bottom. 246 | ;; (default 'bottom) 247 | dotspacemacs-which-key-position 'bottom 248 | ;; If non nil a progress bar is displayed when spacemacs is loading. This 249 | ;; may increase the boot time on some systems and emacs builds, set it to 250 | ;; nil to boost the loading time. (default t) 251 | dotspacemacs-loading-progress-bar t 252 | ;; If non nil the frame is fullscreen when Emacs starts up. (default nil) 253 | ;; (Emacs 24.4+ only) 254 | dotspacemacs-fullscreen-at-startup nil 255 | ;; If non nil `spacemacs/toggle-fullscreen' will not use native fullscreen. 256 | ;; Use to disable fullscreen animations in OSX. (default nil) 257 | dotspacemacs-fullscreen-use-non-native nil 258 | ;; If non nil the frame is maximized when Emacs starts up. 259 | ;; Takes effect only if `dotspacemacs-fullscreen-at-startup' is nil. 260 | ;; (default nil) (Emacs 24.4+ only) 261 | dotspacemacs-maximized-at-startup nil 262 | ;; A value from the range (0..100), in increasing opacity, which describes 263 | ;; the transparency level of a frame when it's active or selected. 264 | ;; Transparency can be toggled through `toggle-transparency'. (default 90) 265 | dotspacemacs-active-transparency 90 266 | ;; A value from the range (0..100), in increasing opacity, which describes 267 | ;; the transparency level of a frame when it's inactive or deselected. 268 | ;; Transparency can be toggled through `toggle-transparency'. (default 90) 269 | dotspacemacs-inactive-transparency 90 270 | ;; If non nil show the titles of transient states. (default t) 271 | dotspacemacs-show-transient-state-title t 272 | ;; If non nil show the color guide hint for transient state keys. (default t) 273 | dotspacemacs-show-transient-state-color-guide t 274 | ;; If non nil unicode symbols are displayed in the mode line. (default t) 275 | dotspacemacs-mode-line-unicode-symbols t 276 | ;; If non nil smooth scrolling (native-scrolling) is enabled. Smooth 277 | ;; scrolling overrides the default behavior of Emacs which recenters point 278 | ;; when it reaches the top or bottom of the screen. (default t) 279 | dotspacemacs-smooth-scrolling t 280 | ;; Control line numbers activation. 281 | ;; If set to `t' or `relative' line numbers are turned on in all `prog-mode' and 282 | ;; `text-mode' derivatives. If set to `relative', line numbers are relative. 283 | ;; This variable can also be set to a property list for finer control: 284 | ;; '(:relative nil 285 | ;; :disabled-for-modes dired-mode 286 | ;; doc-view-mode 287 | ;; markdown-mode 288 | ;; org-mode 289 | ;; pdf-view-mode 290 | ;; text-mode 291 | ;; :size-limit-kb 1000) 292 | ;; (default nil) 293 | dotspacemacs-line-numbers nil 294 | ;; Code folding method. Possible values are `evil' and `origami'. 295 | ;; (default 'evil) 296 | ;; (default nil) 297 | dotspacemacs-smartparens-strict-mode nil 298 | ;; If non-nil pressing the closing parenthesis `)' key in insert mode passes 299 | ;; over any automatically added closing parenthesis, bracket, quote, etc… 300 | ;; This can be temporary disabled by pressing `C-q' before `)'. (default nil) 301 | dotspacemacs-smart-closing-parenthesis nil 302 | ;; Select a scope to highlight delimiters. Possible values are `any', 303 | ;; `current', `all' or `nil'. Default is `all' (highlight any scope and 304 | ;; emphasis the current one). (default 'all) 305 | dotspacemacs-highlight-delimiters 'all 306 | ;; If non nil, advise quit functions to keep server open when quitting. 307 | ;; (default nil) 308 | dotspacemacs-persistent-server nil 309 | ;; List of search tool executable names. Spacemacs uses the first installed 310 | ;; tool of the list. Supported tools are `ag', `pt', `ack' and `grep'. 311 | ;; (default '("ag" "pt" "ack" "grep")) 312 | dotspacemacs-search-tools '("ag" "pt" "ack" "grep") 313 | ;; The default package repository used if no explicit repository has been 314 | ;; specified with an installed package. 315 | ;; Not used for now. (default nil) 316 | dotspacemacs-default-package-repository nil 317 | ;; Delete whitespace while saving buffer. Possible values are `all' 318 | ;; to aggressively delete empty line and long sequences of whitespace, 319 | ;; `trailing' to delete only the whitespace at end of lines, `changed'to 320 | ;; delete only whitespace for changed lines or `nil' to disable cleanup. 321 | ;; (default nil) 322 | dotspacemacs-whitespace-cleanup nil 323 | )) 324 | 325 | (defun dotspacemacs/user-init () 326 | "Initialization function for user code. 327 | It is called immediately after `dotspacemacs/init', before layer configuration 328 | executes. 329 | This function is mostly useful for variables that need to be set 330 | before packages are loaded. If you are unsure, you should try in setting them in 331 | `dotspacemacs/user-config' first." 332 | ) 333 | 334 | (defun dotspacemacs/user-config () 335 | "Configuration function for user code. 336 | This function is called at the very end of Spacemacs initialization after 337 | layers configuration. 338 | This is the place where most of your configurations should be done. Unless it is 339 | explicitly specified that a variable should be set before a package is loaded, 340 | you should place your code here." 341 | ;; transparency 342 | (set-frame-parameter (selected-frame) 'alpha '(85 85)) 343 | (add-to-list 'default-frame-alist '(alpha 85 85)) 344 | ;; global keys 345 | (global-set-key (kbd "s-i") 'org-indent-mode) 346 | ;; for org-bullets 347 | (setq inhibit-compacting-font-caches t) 348 | ;; for save-ahlist 349 | (setq history-length 100) 350 | (put 'minibuffer-history 'history-length 50) 351 | (put 'evil-ex-history 'history-length 50) 352 | (put 'kill-ring 'history-length 25) 353 | ;; To set org refile past level 1 354 | (setq org-refile-targets '((nil :maxlevel . 9) 355 | (org-agenda-files :maxlevel . 9))) 356 | (setq org-outline-path-complete-in-steps nil) ; Refile in a single go 357 | (setq org-refile-use-outline-path t) ; Show full paths for refiling 358 | ;; Makes numbered list 359 | (defun org-make-olist (arg) 360 | (interactive "P") 361 | (let ((n (or arg 1))) 362 | (when (region-active-p) 363 | (setq n (count-lines (region-beginning) 364 | (region-end))) 365 | (goto-char (region-beginning))) 366 | (dotimes (i n) 367 | (beginning-of-line) 368 | (insert (concat (number-to-string (1+ i)) ". ")) 369 | (forward-line)) 370 | (beginning-of-line))) 371 | (global-set-key (kbd "C-=") 'org-make-olist) 372 | ;; This my org highligt config 373 | ;; Always open org with visual li e and writeroom 374 | (add-hook 'org-mode-hook #'visual-line-mode) 375 | ;; (add-hook 'org-mode-hook #'buffer-face-mode) 376 | (add-hook 'org-mode-hook #'olivetti-mode) 377 | (add-hook 'org-mode-hook #'org-variable-pitch-minor-mode) 378 | (add-hook 'org-mode-hook #'org-indent-mode) 379 | (add-hook 'markdown-mode-hook #'olivetti-mode) 380 | (add-hook 'markdown-mode-hook #'visual-line-mode) 381 | (add-hook 'elfeed-entry-mode-hook #'visual-line-mode) 382 | (add-hook 'elfeed-show-mode-hook #'visual-line-mode) 383 | 384 | ;; Centaur Tabs 385 | (use-package centaur-tabs 386 | :demand 387 | :config 388 | (centaur-tabs-mode t) 389 | :bind 390 | ("C-" . centaur-tabs-backward) 391 | ("C-" . centaur-tabs-forward)) 392 | ;; (setq-default mode-line-format nil) 393 | ;; This is my DTK Package 394 | 395 | ;; ---------------ZETTELDEFT COMMANDS--------------------------------- 396 | (load-file "~/.emacs.d/elpa/zetteldeft-20200405.958/zetteldeft.el") 397 | (load-file "~/.emacs.d/private/org-roam/packages.el") 398 | ;; 399 | (defun efls/deft-open-preview () 400 | (interactive) 401 | (deft-open-file-other-window)) 402 | (with-eval-after-load 'deft 403 | (define-key deft-mode-map 404 | (kbd "") 'efls/deft-open-preview) 405 | (define-key deft-mode-map 406 | (kbd "") 'efls/deft-open-other) 407 | (define-key deft-mode-map 408 | (kbd "s-j") 'evil-next-line) 409 | (define-key deft-mode-map (kbd "s-k") 'evil-previous-line)) 410 | (setq deft-strip-summary-regexp 411 | (concat "\\(" 412 | "[\n\t]" ;; blank 413 | "\\|^#\\+[a-zA-Z_]+:.*$" ;;org-mode metadata 414 | "\\)")) 415 | ; Prefix 416 | (spacemacs/declare-prefix "d" "deft") 417 | (spacemacs/set-leader-keys "dd" 'deft) 418 | (spacemacs/set-leader-keys "dD" 'zetteldeft-deft-new-search) 419 | (spacemacs/set-leader-keys "ds" 'zetteldeft-search-at-point) 420 | (spacemacs/set-leader-keys "dc" 'zetteldeft-search-current-id) 421 | (spacemacs/set-leader-keys "df" 'zetteldeft-follow-link) 422 | (spacemacs/set-leader-keys "dF" 'zetteldeft-avy-file-search-ace-window) 423 | (spacemacs/set-leader-keys "dl" 'zetteldeft-avy-link-search) 424 | (spacemacs/set-leader-keys "dt" 'zetteldeft-avy-tag-search) 425 | (spacemacs/set-leader-keys "dT" 'zetteldeft-tag-buffer) 426 | (spacemacs/set-leader-keys "di" 'zetteldeft-find-file-id-insert) 427 | (spacemacs/set-leader-keys "dI" 'zetteldeft-find-file-full-title-insert) 428 | (spacemacs/set-leader-keys "do" 'zetteldeft-find-file) 429 | (spacemacs/set-leader-keys "dm" 'deft-new-file) 430 | (spacemacs/set-leader-keys "dn" 'zetteldeft-new-file) 431 | (spacemacs/set-leader-keys "dN" 'zetteldeft-new-file-and-link) 432 | (spacemacs/set-leader-keys "dr" 'zetteldeft-file-rename) 433 | (spacemacs/set-leader-keys "dR" 'deft-refresh) 434 | 435 | ; zdlink 436 | (with-eval-after-load 'org 437 | (org-link-set-parameters 438 | "zdlink" 439 | :follow (lambda (str) (zetteldeft--search-filename (zetteldeft--lift-id str))) 440 | :complete 'efls/zd-complete-link 441 | :help-echo "Searches provided ID in Zetteldeft")) 442 | 443 | (defun efls/zd-complete-link () 444 | "Link completion for `tslink' type links" 445 | (let* ((file (completing-read "File to link to: " 446 | (deft-find-all-files-no-prefix))) 447 | (link (zetteldeft--lift-id file))) 448 | (unless link (user-error "No file selected")) 449 | (concat "zdlink:" link))) 450 | 451 | ;; Theme 452 | (load-theme 'gruvbox-dark-hard) 453 | ;; load mwe-log 454 | (with-eval-after-load 'command-log-mode (setq clm/log-command-exceptions* (append clm/log-command-exceptions* 455 | '(evil-next-line 456 | evil-previous-line 457 | evil-forward-char 458 | mouse-set-point)))) 459 | ) 460 | ;; Do not write anything past this comment. This is where Emacs will 461 | ;; auto-generate custom variable definitions. 462 | (custom-set-variables 463 | ;; custom-set-variables was added by Custom. 464 | ;; If you edit it by hand, you could mess it up, so be careful. 465 | ;; Your init file should contain only one such instance. 466 | ;; If there is more than one, they won't work right. 467 | '(command-log-mode-window-font-size 1) 468 | '(custom-safe-themes 469 | (quote 470 | ("939ea070fb0141cd035608b2baabc4bd50d8ecc86af8528df9d41f4d83664c6a" "24132f7b6699c6e0118d742351b74141bac3c4388937e40db9207554eaae78c9" "b89ae2d35d2e18e4286c8be8aaecb41022c1a306070f64a66fd114310ade88aa" "a06658a45f043cd95549d6845454ad1c1d6e24a99271676ae56157619952394a" "123a8dabd1a0eff6e0c48a03dc6fb2c5e03ebc7062ba531543dfbce587e86f2a" "fa2b58bb98b62c3b8cf3b6f02f058ef7827a8e497125de0254f56e373abee088" "1d50bd38eed63d8de5fcfce37c4bb2f660a02d3dff9cbfd807a309db671ff1af" "4cf9ed30ea575fb0ca3cff6ef34b1b87192965245776afa9e9e20c17d115f3fb" "99ea831ca79a916f1bd789de366b639d09811501e8c092c85b2cb7d697777f93" "d5f8099d98174116cba9912fe2a0c3196a7cd405d12fa6b9375c55fc510988b5" "774aa2e67af37a26625f8b8c86f4557edb0bac5426ae061991a7a1a4b1c7e375" "e1ecb0536abec692b5a5e845067d75273fe36f24d01210bf0aa5842f2a7e029f" "07e3a1323eb29844e0de052b05e21e03ae2f55695c11f5d68d61fb5fed722dd2" "6bacece4cf10ea7dd5eae5bfc1019888f0cb62059ff905f37b33eec145a6a430" "229c5cf9c9bd4012be621d271320036c69a14758f70e60385e87880b46d60780" "e1ef2d5b8091f4953fe17b4ca3dd143d476c106e221d92ded38614266cea3c8b" "74a42b2b5dde1057e66bcf4c241789213e0ed5b77a2ee41c982fdc8c2abe9d98" "1ed5c8b7478d505a358f578c00b58b430dde379b856fbcb60ed8d345fc95594e" "ca849ae0c889eb918785cdc75452b1e11a00848a5128a95a23872e0119ccc8f4" "ec8246f6f74bfe0230521412d88092342c17c1c0448a4b8ba39bddd3da170590" "bc836bf29eab22d7e5b4c142d201bcce351806b7c1f94955ccafab8ce5b20208" "d261bb8f66be37752791a67f03dd24361592ce141b32d83bcbe63ec1c738b087" "845103fcb9b091b0958171653a4413ccfad35552bc39697d448941bcbe5a660d" "0809c08440b51a39c77ec5529f89af83ab256a9d48107b088d40098ce322c7d8" "1c8171893a9a0ce55cb7706766e57707787962e43330d7b0b6b0754ed5283cda" "1436d643b98844555d56c59c74004eb158dc85fc55d2e7205f8d9b8c860e177f" "830877f4aab227556548dc0a28bf395d0abe0e3a0ab95455731c9ea5ab5fe4e1" "13a8eaddb003fd0d561096e11e1a91b029d3c9d64554f8e897b2513dbf14b277" "7f1d414afda803f3244c6fb4c2c64bea44dac040ed3731ec9d75275b9e831fe5" "66f32da4e185defe7127e0dc8b779af99c00b60c751b0662276acaea985e2721" "d91ef4e714f05fff2070da7ca452980999f5361209e679ee988e3c432df24347" "3e335d794ed3030fefd0dbd7ff2d3555e29481fe4bbb0106ea11c660d6001767" "54449a089fc2f95f99ebc9b9b6067c802532fd50097cf44c46a53b4437d5c6cc" "ab2cbf30ab758c5e936b527377d543ce4927001742f79519b62c45ba9dd9f55e" "cc0dbb53a10215b696d391a90de635ba1699072745bf653b53774706999208e3" "4780d7ce6e5491e2c1190082f7fe0f812707fc77455616ab6f8b38e796cbffa9" "8e797edd9fa9afec181efbfeeebf96aeafbd11b69c4c85fa229bb5b9f7f7e66c" "b583823b9ee1573074e7cbfd63623fe844030d911e9279a7c8a5d16de7df0ed0" "585942bb24cab2d4b2f74977ac3ba6ddbd888e3776b9d2f993c5704aa8bb4739" "a22f40b63f9bc0a69ebc8ba4fbc6b452a4e3f84b80590ba0a92b4ff599e53ad0" "0598c6a29e13e7112cfbc2f523e31927ab7dce56ebb2016b567e1eff6dc1fd4f" "d2e9c7e31e574bf38f4b0fb927aaff20c1e5f92f72001102758005e53d77b8c9" "bffa9739ce0752a37d9b1eee78fc00ba159748f50dc328af4be661484848e476" "4639288d273cbd3dc880992e6032f9c817f17c4a91f00f3872009a099f5b3f84" default))) 471 | '(deft-directory "~/zk") 472 | '(deft-incremental-search nil) 473 | '(deft-recursive nil) 474 | '(deft-strip-summary-regexp "\\([ 475 | ]\\|^#\\+[a-zA-Z_]+:.*$\\)") 476 | '(easy-jekyll-basedir "~/abe-blog/") 477 | '(easy-jekyll-default-picture-directory "~/abe-blog/assets/images/") 478 | '(easy-jekyll-markdown-extension "markdown") 479 | '(elfeed-feeds 480 | (quote 481 | ("http://rss.christiansunite.com/rss_faith.cgi" "http://rss.christiansunite.com/feed_5_42.shtml" "http://feeds.feedburner.com/hl-devos-spurgeon-evening" "http://feeds.feedburner.com/hl-devos-spurgeon-morning"))) 482 | '(evil-want-Y-yank-to-eol nil) 483 | '(flyspell-default-dictionary "American") 484 | '(line-spacing 0.2) 485 | '(org-agenda-files (quote ("~/.deft/-TASK MANAGER-.org"))) 486 | '(org-bullets-bullet-list (quote (" "))) 487 | '(org-emphasis-alist 488 | (quote 489 | (("+" 490 | (:foreground "#cc241d")) 491 | ("=" 492 | (:foreground "#d79921")) 493 | ("~" 494 | (:foreground "#689d6a")) 495 | ("*" bold 496 | (:foreground "#458588")) 497 | ("/" italic) 498 | ("_" underline) 499 | ("=") 500 | ("~" org-verbatim verbatim) 501 | ("+" 502 | (:strike-through t))))) 503 | '(org-hide-emphasis-markers t) 504 | '(org-hide-leading-stars t) 505 | '(org-indent-indentation-per-level 4) 506 | '(org-roam-completion-system (quote helm)) 507 | '(org-roam-directory "~/zk" nil nil "Customized with use-package org-roam") 508 | '(org-tags-column -80) 509 | '(package-selected-packages 510 | (quote 511 | (windresize easy-jekyll jekyll-modes command-log-mode image+ mixed-pitch org-variable-pitch presentation org-roam emacsql-sqlite emacsql autothemer org-journal fontify-face doom-acario-dark-theme doom-gruvbox-theme sublimity modern-cpp-font-lock posframe tabbar helm-posframe gruvbox-darker-hard-theme simple-httpd elfeed-goodies ace-jump-mode noflet elfeed-protocol elfeed-web elfeed-org debug-print web-mode tagedit slim-mode scss-mode sass-mode pug-mode helm-css-scss haml-mode emmet-mode company-web web-completion-data popup-complete mw-thesaurus synosaurus powerthesaurus helm-org-rifle pandoc minimal-dark-theme zones flatland-black-theme centaur-tabs minimal-theme-theme minimal-theme-black-theme minimal-black-theme minimal-black-theme-theme minimal-theme gruvbox-theme visual-fill-column semi flim apel ht key-chord tablist esxml org-pretty-tags todotxt todotxt-mode org-mode-beautify-theme solarized-theme hexo ranger doom-themes org-beautify-theme w3m yasnippet-snippets interleave org-noter ivy helm-bibtex biblio parsebib biblio-core org-ref ox-pandoc yaml-mode elfeed wanderlust dtk ereader org-pdfview zetteldeft pdf-tools writeroom-mode deft smeargle orgit org-projectile org-category-capture org-present org-pomodoro alert log4e gntp org-mime org-download mmm-mode markdown-toc markdown-mode magit-gitflow magit-popup htmlize helm-gitignore helm-company helm-c-yasnippet gnuplot gitignore-mode gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link gh-md fuzzy flyspell-correct-helm flyspell-correct evil-magit magit transient git-commit with-editor company-statistics company auto-yasnippet yasnippet auto-dictionary ac-ispell auto-complete nov olivetti ws-butler winum which-key volatile-highlights vi-tilde-fringe uuidgen use-package toc-org spaceline powerline restart-emacs request rainbow-delimiters popwin persp-mode pcre2el paradox spinner org-plus-contrib org-bullets open-junk-file neotree move-text macrostep lorem-ipsum linum-relative link-hint indent-guide hydra lv hungry-delete hl-todo highlight-parentheses highlight-numbers parent-mode highlight-indentation helm-themes helm-swoop helm-projectile projectile pkg-info epl helm-mode-manager helm-make helm-flx helm-descbinds helm-ag google-translate golden-ratio flx-ido flx fill-column-indicator fancy-battery eyebrowse expand-region exec-path-from-shell evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-surround evil-search-highlight-persist highlight evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-lisp-state smartparens evil-indent-plus evil-iedit-state iedit evil-exchange evil-escape evil-ediff evil-args evil-anzu anzu evil goto-chg undo-tree eval-sexp-fu elisp-slime-nav dumb-jump f dash s diminish define-word column-enforce-mode clean-aindent-mode bind-map bind-key auto-highlight-symbol auto-compile packed aggressive-indent adaptive-wrap ace-window ace-link ace-jump-helm-line helm avy helm-core popup async))) 512 | '(synosaurus-backend (quote synosaurus-backend-wordnet)) 513 | '(zetteldeft-title-suffix " 514 | date: 515 | tags: 516 | ")) 517 | (custom-set-faces 518 | ;; custom-set-faces was added by Custom. 519 | ;; If you edit it by hand, you could mess it up, so be careful. 520 | ;; Your init file should contain only one such instance. 521 | ;; If there is more than one, they won't work right. 522 | '(bold ((t (:weight ultra-bold)))) 523 | '(italic ((t (:slant italic)))) 524 | '(org-agenda-structure ((t (:inherit default :foreground "#bbc2cf" :underline nil :slant normal :weight bold :height 2.0 :width normal :foundry "outline" :family "PT Sans")))) 525 | '(org-default ((t (:inherit variable-pitch)))) 526 | '(org-document-title ((t (:inherit org-level-1 :foreground "dark gray" :weight bold :height 1.2 :family "IM Fell English SC")))) 527 | '(org-footnote ((t (:foreground "gray40" :underline t :height 0.5)))) 528 | '(org-indent ((t (:inherit org-hide fixed-pitch)))) 529 | '(org-level-1 ((t (:inherit variable-pitch :foreground "#a89984" :weight bold :height 1.6 :family "IM Fell English SC")))) 530 | '(org-level-2 ((t (:inherit nil :foreground "#bdae93" :weight bold :height 1.4 :family "IM Fell English SC")))) 531 | '(org-level-3 ((t (:foreground "#d5c4a1" :height 1.2 :family "IM Fell English SC")))) 532 | '(org-level-4 ((t (:inherit nil :foreground "#ebdbb2" :weight normal :height 1.1 :family "IM Fell English SC")))) 533 | '(org-level-5 ((t (:inherit nil :foreground "#ebdbb2" :weight normal :height 1.0 :family "IM Fell English SC")))) 534 | '(org-level-6 ((t (:inherit nil)))) 535 | '(org-level-7 ((t nil))) 536 | '(org-link ((t (:inherit nil :foreground "cornflower blue" :underline t :height 1.0)))) 537 | '(org-table ((t (:foreground "tomato")))) 538 | '(org-variable-pitch-face ((t (:height 1.0 :family "IM Fell English")))) 539 | '(variable-pitch ((t (:height 1.0 :family "IM Fell English"))))) 540 | -------------------------------------------------------------------------------- /dotspacemacs-2020-8-29: -------------------------------------------------------------------------------- 1 | ;; -*- mode: emacs-lisp -*- 2 | ;; This file is loaded by Spacemacs at startup. A test 3 | ;; It must be stored in your home directory. Is this just a test 4 | (defun dotspacemacs/layers () 5 | "Configuration Layers declaration. 6 | You should not put any user code in this function besides modifying the variable 7 | values." 8 | (setq-default 9 | ;; Base distribution to use. This is a layer contained in the directory 10 | ;; `+distribution. For now available distributions are `spacemacs-base' 11 | ;; or `spacemacs'. (default 'spacemacs) 12 | dotspacemacs-distribution 'spacemacs 13 | ;; Lazy installation of layers (i.e. layers are installed only when a file 14 | ;; with a supported type is opened). Possible values are `all', `unused' 15 | ;; and `nil'. `unused' will lazy install only unused layers (i.e. layers 16 | ;; not listed in variable `dotspacemacs-configuration-layers'), `all' will 17 | ;; lazy install any layer that support lazy installation even the layers 18 | ;; listed in `dotspacemacs-configuration-layers'. `nil' disable the lazy 19 | ;; installation feature and you have to explicitly list a layer in the 20 | ;; variable `dotspacemacs-configuration-layers' to install it. 21 | ;; (default 'unused) 22 | dotspacemacs-enable-lazy-installation 'unused 23 | ;; If non-nil then Spacemacs will ask for confirmation before installing 24 | ;; a layer lazily. (default t) 25 | dotspacemacs-ask-for-lazy-installation t 26 | ;; If non-nil layers with lazy install support are lazy installed. 27 | ;; List of additional paths where to look for configuration layers. 28 | ;; Paths must have a trailing slash (i.e. `~/.mycontribs/') 29 | dotspacemacs-configuration-layer-path '() 30 | ;; List of configuration layers to load. 31 | dotspacemacs-configuration-layers 32 | '( 33 | ruby 34 | ; javascript 35 | ;; ruby 36 | html 37 | yaml 38 | ;; ---------------------------------------------------------------- 39 | ;; Example of useful layers you may want to use right away. 40 | ;; Uncomment some layer names and press (Vim style) or 41 | ;; (Emacs style) to install them. 42 | ;; ---------------------------------------------------------------- 43 | helm 44 | auto-completion 45 | better-defaults 46 | emacs-lisp 47 | git 48 | markdown 49 | org 50 | (org :variables 51 | org-enable-epub-support t 52 | org-enable-github-support t 53 | org-enable-reveal-js-support t 54 | org-enable-trello-support t 55 | org-enable-sticky-header t 56 | spaceline-org-clock-p t 57 | org-projectile-file "TODOs.org" 58 | org-download-image-dir "~/Pictures/org/" 59 | org-return-follows-link t) 60 | (bibtex :variables 61 | org-ref-default-bibliography '("~/Documents/Papers/references.bib") 62 | org-ref-pdf-directory "~/Documents/Papers" 63 | org-ref-bibliography-notes "~/Documents/Papers/notes.org") 64 | ;; (shell :variables 65 | ;; shell-default-height 30 66 | ;; shell-default-position 'bottom) 67 | ;; spell-checking 68 | ;; syntax-checking 69 | deft 70 | org-roam 71 | ; speed-reading 72 | ; games 73 | ) 74 | ;; List of additional packages that will be installed without being 75 | ;; wrapped in a layer. If you need some configuration for these 76 | ;; packages, then consider creating a layer. You can also put the 77 | ;; configuration in `dotspacemacs/user-config'. 78 | dotspacemacs-additional-packages '( 79 | writeroom-mode 80 | dtk 81 | wanderlust 82 | ox-pandoc 83 | ; org-ref 84 | command-log-mode 85 | org-noter 86 | ranger 87 | olivetti 88 | minimal-theme 89 | org-variable-pitch 90 | mixed-pitch 91 | presentation 92 | easy-jekyll 93 | nov 94 | darkroom 95 | org-roam-bibtex 96 | org-sticky-header 97 | workgroups 98 | ) 99 | ;; A list of packages that cannot be updated. 100 | dotspacemacs-frozen-packages '() 101 | ;; A list of packages that will not be installed and loaded. 102 | dotspacemacs-excluded-packages '( 103 | ) 104 | ;; Defines the behaviour of Spacemacs when installing packages. 105 | ;; Possible values are `used-only', `used-but-keep-unused' and `all'. 106 | ;; `used-only' installs only explicitly used packages and uninstall any 107 | ;; unused packages as well as their unused dependencies. 108 | ;; `used-but-keep-unused' installs only the used packages but won't uninstall 109 | ;; them if they become unused. `all' installs *all* packages supported by 110 | ;; Spacemacs and never uninstall them. (default is `used-only') 111 | dotspacemacs-install-packages 'used-only)) 112 | 113 | (defun dotspacemacs/init () 114 | "Initialization function. 115 | This function is called at the very startup of Spacemacs initialization 116 | before layers configuration. 117 | You should not put any user code in there besides modifying the variable 118 | values." 119 | ;; This setq-default sexp is an exhaustive list of all the supported 120 | ;; spacemacs settings. 121 | (setq-default 122 | ;; If non nil ELPA repositories are contacted via HTTPS whenever it's 123 | ;; possible. Set it to nil if you have no way to use HTTPS in your 124 | ;; environment, otherwise it is strongly recommended to let it set to t. 125 | ;; This variable has no effect if Emacs is launched with the parameter 126 | ;; `--insecure' which forces the value of this variable to nil. 127 | ;; (default t) 128 | dotspacemacs-elpa-https t 129 | ;; Maximum allowed time in seconds to contact an ELPA repository. 130 | dotspacemacs-elpa-timeout 5 131 | ;; If non nil then spacemacs will check for updates at startup 132 | ;; when the current branch is not `develop'. Note that checking for 133 | ;; new versions works via git commands, thus it calls GitHub services 134 | ;; whenever you start Emacs. (default nil) 135 | dotspacemacs-check-for-update t 136 | ;; If non-nil, a form that evaluates to a package directory. For example, to 137 | ;; use different package directories for different Emacs versions, set this 138 | ;; to `emacs-version'. 139 | dotspacemacs-elpa-subdirectory nil 140 | ;; One of `vim', `emacs' or `hybrid'. 141 | ;; `hybrid' is like `vim' except that `insert state' is replaced by the 142 | ;; `hybrid state' with `emacs' key bindings. The value can also be a list 143 | ;; with `:variables' keyword (similar to layers). Check the editing styles 144 | ;; section of the documentation for details on available variables. 145 | ;; (default 'vim) 146 | dotspacemacs-editing-style 'vim 147 | ;; If non nil output loading progress in `*Messages*' buffer. (default nil) 148 | dotspacemacs-verbose-loading nil 149 | ;; Specify the startup banner. Default value is `official', it displays 150 | ;; the official spacemacs logo. An integer value is the index of text 151 | ;; banner, `random' chooses a random text banner in `core/banners' 152 | ;; directory. A string value must be a path to an image format supported 153 | ;; by your Emacs build. 154 | ;; If the value is nil then no banner is displayed. (default 'official) 155 | dotspacemacs-startup-banner 'official 156 | ;; List of items to show in startup buffer or an association list of 157 | ;; the form `(list-type . list-size)`. If nil then it is disabled. 158 | ;; Possible values for list-type are: 159 | ;; `recents' `bookmarks' `projects' `agenda' `todos'." 160 | ;; List sizes may be nil, in which case 161 | ;; `spacemacs-buffer-startup-lists-length' takes effect. 162 | dotspacemacs-startup-lists '((recents . 5) 163 | (projects . 7)) 164 | ;; True if the home buffer should respond to resize events. 165 | dotspacemacs-startup-buffer-responsive t 166 | ;; Default major mode of the scratch buffer (default `text-mode') 167 | dotspacemacs-scratch-mode 'text-mode 168 | ;; List of themes, the first of the list is loaded when spacemacs starts. 169 | ;; Press T n to cycle to the next theme in the list (works great 170 | ;; with 2 themes variants, one dark and one light) 171 | dotspacemacs-themes '( 172 | doom-one 173 | gruvbox 174 | solarized-dark 175 | spacemacs-dark 176 | solarized-light-theme) 177 | 178 | ;; If non nil the cursor color matches the state color in GUI Emacs. 179 | dotspacemacs-colorize-cursor-according-to-state t 180 | ;; Default font, or prioritized list of fonts. `powerline-scale' allows to 181 | ;; quickly tweak the mode-line size to make separators look not too crappy. 182 | dotspacemacs-default-font '("Latin Modern Mono" 183 | :size 26 184 | :width extracondensed 185 | :powerline-scale 1.0) 186 | ;; The leader key 187 | dotspacemacs-leader-key "SPC" 188 | ;; The key used for Emacs commands (M-x) (after pressing on the leader key). 189 | ;; (default "SPC") 190 | dotspacemacs-emacs-command-key "SPC" 191 | ;; The key used for Vim Ex commands (default ":") 192 | dotspacemacs-ex-command-key ":" 193 | ;; The leader key accessible in `emacs state' and `insert state' 194 | ;; (default "M-m") 195 | dotspacemacs-emacs-leader-key "M-m" 196 | ;; Major mode leader key is a shortcut key which is the equivalent of 197 | ;; pressing ` m`. Set it to `nil` to disable it. (default ",") 198 | dotspacemacs-major-mode-leader-key "," 199 | ;; Major mode leader key accessible in `emacs state' and `insert state'. 200 | ;; (default "C-M-m") 201 | dotspacemacs-major-mode-emacs-leader-key "C-M-m" 202 | ;; Setting it to a non-nil value, allows for separate commands under 203 | ;; and TAB or and RET. 204 | ;; In the terminal, these pairs are generally indistinguishable, so this only 205 | ;; works in the GUI. (default nil) 206 | gdotspacemacs-distinguish-gui-tab nil 207 | ;; If non nil `Y' is remapped to `y$' in Evil states. (default nil) 208 | dotspacemacs-remap-Y-to-y$ nil 209 | ;; If non-nil, the shift mappings `<' and `>' retain visual state if used 210 | ;; there. (default t) 211 | dotspacemacs-retain-visual-state-on-shift t 212 | ;; If non-nil, J and K move lines up and down when in visual mode. 213 | ;; (default nil) 214 | dotspacemacs-visual-line-move-text t 215 | ;; If non nil, inverse the meaning of `g' in `:substitute' Evil ex-command. 216 | ;; (default nil) 217 | dotspacemacs-ex-substitute-global nil 218 | ;; Name of the default layout (default "Default") 219 | dotspacemacs-default-layout-name "Default" 220 | ;; If non nil the default layout name is displayed in the mode-line. 221 | ;; (default nil) 222 | dotspacemacs-display-default-layout nil 223 | ;; If non nil then the last auto saved layouts are resume automatically upon 224 | ;; start. (default nil) 225 | dotspacemacs-auto-resume-layouts nil 226 | ;; Size (in MB) above which spacemacs will prompt to open the large file 227 | ;; literally to avoid performance issues. Opening a file literally means that 228 | ;; no major mode or minor modes are active. (default is 1) 229 | dotspacemacs-large-file-size 1 230 | ;; Location where to auto-save files. Possible values are `original' to 231 | ;; auto-save the file in-place, `cache' to auto-save the file to another 232 | ;; file stored in the cache directory and `nil' to disable auto-saving. 233 | ;; (default 'cache) 234 | dotspacemacs-auto-save-file-location 'cache 235 | ;; Maximum number of rollback slots to keep in the cache. (default 5) 236 | dotspacemacs-max-rollback-slots 5 237 | ;; If non nil, `helm' will try to minimize the space it uses. (default nil) 238 | dotspacemacs-helm-resize nil 239 | ;; if non nil, the helm header is hidden when there is only one source. 240 | ;; (default nil) 241 | dotspacemacs-helm-no-header nil 242 | ;; define the position to display `helm', options are `bottom', `top', 243 | ;; `left', or `right'. (default 'bottom) 244 | dotspacemacs-helm-position 'bottom 245 | ;; Controls fuzzy matching in helm. If set to `always', force fuzzy matching 246 | ;; in all non-asynchronous sources. If set to `source', preserve individual 247 | ;; source settings. Else, disable fuzzy matching in all sources. 248 | ;; (default 'always) 249 | dotspacemacs-helm-use-fuzzy 'always 250 | ;; If non nil the paste micro-state is enabled. When enabled pressing `p` 251 | ;; several times cycle between the kill ring content. (default nil) 252 | dotspacemacs-enable-paste-transient-state nil 253 | ;; Which-key delay in seconds. The which-key buffer is the popup listing 254 | ;; the commands bound to the current keystroke sequence. (default 0.4) 255 | dotspacemacs-which-key-delay 0.4 256 | ;; Which-key frame position. Possible values are `right', `bottom' and 257 | ;; `right-then-bottom'. right-then-bottom tries to display the frame to the 258 | ;; right; if there is insufficient space it displays it at the bottom. 259 | ;; (default 'bottom) 260 | dotspacemacs-which-key-position 'bottom 261 | ;; If non nil a progress bar is displayed when spacemacs is loading. This 262 | ;; may increase the boot time on some systems and emacs builds, set it to 263 | ;; nil to boost the loading time. (default t) 264 | dotspacemacs-loading-progress-bar t 265 | ;; If non nil the frame is fullscreen when Emacs starts up. (default nil) 266 | ;; (Emacs 24.4+ only) 267 | dotspacemacs-fullscreen-at-startup nil 268 | ;; If non nil `spacemacs/toggle-fullscreen' will not use native fullscreen. 269 | ;; Use to disable fullscreen animations in OSX. (default nil) 270 | dotspacemacs-fullscreen-use-non-native nil 271 | ;; If non nil the frame is maximized when Emacs starts up. 272 | ;; Takes effect only if `dotspacemacs-fullscreen-at-startup' is nil. 273 | ;; (default nil) (Emacs 24.4+ only) 274 | dotspacemacs-maximized-at-startup nil 275 | ;; A value from the range (0..100), in increasing opacity, which describes 276 | ;; the transparency level of a frame when it's active or selected. 277 | ;; Transparency can be toggled through `toggle-transparency'. (default 90) 278 | dotspacemacs-active-transparency 90 279 | ;; A value from the range (0..100), in increasing opacity, which describes 280 | ;; the transparency level of a frame when it's inactive or deselected. 281 | ;; Transparency can be toggled through `toggle-transparency'. (default 90) 282 | dotspacemacs-inactive-transparency 90 283 | ;; If non nil show the titles of transient states. (default t) 284 | dotspacemacs-show-transient-state-title t 285 | ;; If non nil show the color guide hint for transient state keys. (default t) 286 | dotspacemacs-show-transient-state-color-guide t 287 | ;; If non nil unicode symbols are displayed in the mode line. (default t) 288 | dotspacemacs-mode-line-unicode-symbols t 289 | ;; If non nil smooth scrolling (native-scrolling) is enabled. Smooth 290 | ;; scrolling overrides the default behavior of Emacs which recenters point 291 | ;; when it reaches the top or bottom of the screen. (default t) 292 | dotspacemacs-smooth-scrolling t 293 | ;; Control line numbers activation. 294 | ;; If set to `t' or `relative' line numbers are turned on in all `prog-mode' and 295 | ;; `text-mode' derivatives. If set to `relative', line numbers are relative. 296 | ;; This variable can also be set to a property list for finer control: 297 | ;; '(:relative nil 298 | ;; :disabled-for-modes dired-mode 299 | ;; doc-view-mode 300 | ;; markdown-mode 301 | ;; org-mode 302 | ;; pdf-view-mode 303 | ;; text-mode 304 | ;; :size-limit-kb 1000) 305 | ;; (default nil) 306 | dotspacemacs-line-numbers nil 307 | ;; Code folding method. Possible values are `evil' and `origami'. 308 | ;; (default 'evil) 309 | ;; (default nil) 310 | dotspacemacs-smartparens-strict-mode nil 311 | ;; If non-nil pressing the closing parenthesis `)' key in insert mode passes 312 | ;; over any automatically added closing parenthesis, bracket, quote, etc… 313 | ;; This can be temporary disabled by pressing `C-q' before `)'. (default nil) 314 | dotspacemacs-smart-closing-parenthesis nil 315 | ;; Select a scope to highlight delimiters. Possible values are `any', 316 | ;; `current', `all' or `nil'. Default is `all' (highlight any scope and 317 | ;; emphasis the current one). (default 'all) 318 | dotspacemacs-highlight-delimiters 'all 319 | ;; If non nil, advise quit functions to keep server open when quitting. 320 | ;; (default nil) 321 | dotspacemacs-persistent-server nil 322 | ;; List of search tool executable names. Spacemacs uses the first installed 323 | ;; tool of the list. Supported tools are `ag', `pt', `ack' and `grep'. 324 | ;; (default '("ag" "pt" "ack" "grep")) 325 | dotspacemacs-search-tools '("ag" "pt" "ack" "grep") 326 | ;; The default package repository used if no explicit repository has been 327 | ;; specified with an installed package. 328 | ;; Not used for now. (default nil) 329 | dotspacemacs-default-package-repository nil 330 | ;; Delete whitespace while saving buffer. Possible values are `all' 331 | ;; to aggressively delete empty line and long sequences of whitespace, 332 | ;; `trailing' to delete only the whitespace at end of lines, `changed'to 333 | ;; delete only whitespace for changed lines or `nil' to disable cleanup. 334 | ;; (default nil) 335 | dotspacemacs-whitespace-cleanup nil 336 | )) 337 | 338 | (defun dotspacemacs/user-init () 339 | "Initialization function for user code. 340 | It is called immediately after `dotspacemacs/init', before layer configuration 341 | executes. 342 | This function is mostly useful for variables that need to be set 343 | before packages are loaded. If you are unsure, you should try in setting them in 344 | `dotspacemacs/user-config' first." 345 | ) 346 | 347 | (defun dotspacemacs/user-config () 348 | "Configuration function for user code. 349 | This function is called at the very end of Spacemacs initialization after 350 | layers configuration. 351 | This is the place where most of your configurations should be done. Unless it is 352 | explicitly specified that a variable should be set before a package is loaded, 353 | you should place your code here." 354 | (setq org-startup-folded nil) 355 | (setq-default mode-line-format nil) 356 | (set-frame-parameter nil 'internal-border-width 30) 357 | ;; 358 | (defmacro ignore-warn (&rest body) 359 | (declare (debug t) (indent 0)) 360 | `(cl-letf (((symbol-function 'warn) #'ignore)) 361 | ,@body)) 362 | 363 | (ignore-warn 364 | (exec-path-from-shell-copy-env "PATH")) 365 | ;; org insert link 366 | (global-set-key (kbd "C-c i") 'org-roam-insert) 367 | ;; transparency 368 | (set-frame-parameter (selected-frame) 'alpha '(90 90)) 369 | (add-to-list 'default-frame-alist '(alpha 90 90)) 370 | ;; org-indent-mode 371 | (global-set-key (kbd "s-i") 'org-indent-mode) 372 | ;; for org-bullets 373 | (setq inhibit-compacting-font-caches t) 374 | ;; for save-ahlist 375 | (setq history-length 100) 376 | (put 'minibuffer-history 'history-length 50) 377 | (put 'evil-ex-history 'history-length 50) 378 | (put 'kill-ring 'history-length 25) 379 | ;; To set org refile past level 1 380 | (setq org-refile-targets '((nil :maxlevel . 9) 381 | (org-agenda-files :maxlevel . 9))) 382 | (setq org-outline-path-complete-in-steps nil) ; Refile in a single go 383 | (setq org-refile-use-outline-path t) ; Show full paths for refiling 384 | ;; use an org file to organise feeds 385 | ;; Makes numbered list 386 | (defun org-make-olist (arg) 387 | (interactive "P") 388 | (let ((n (or arg 1))) 389 | (when (region-active-p) 390 | (setq n (count-lines (region-beginning) 391 | (region-end))) 392 | (goto-char (region-beginning))) 393 | (dotimes (i n) 394 | (beginning-of-line) 395 | (insert (concat (number-to-string (1+ i)) ". ")) 396 | (forward-line)) 397 | (beginning-of-line))) 398 | (global-set-key (kbd "C-=") 'org-make-olist) 399 | ;; Always open org with visual li e and writeroom 400 | (add-hook 'org-mode-hook #'visual-line-mode) 401 | (add-hook 'org-mode-hook #'visual-line-mode) 402 | (add-hook 'org-mode-hook #'olivetti-mode) 403 | (add-hook 'org-mode-hook #'org-sticky-header-mode) 404 | ; (add-hook 'org-mode-hook #'org-variable-pitch-minor-mode) 405 | (add-hook 'org-mode-hook #'org-toggle-pretty-entities) 406 | (add-hook 'markdown-mode-hook #'olivetti-mode) 407 | (add-hook 'markdown-mode-hook #'visual-line-mode) 408 | (add-hook 'elfeed-entry-mode-hook #'visual-line-mode) 409 | (add-hook 'elfeed-show-mode-hook #'visual-line-mode) 410 | (add-hook 'olivetti-mode-hook (lambda () (set-fringe-style 0))) 411 | ;; Nov.el Mode 412 | (add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode)) 413 | (defun my-nov-font-setup () 414 | (face-remap-add-relative :family "EB Garamond" 415 | :size 50 416 | :height 1.5)) 417 | (mapc (lambda (mode) 418 | (add-hook 'nov-mode-hook mode)) 419 | '('my-nov-font-setup 'visual-line-mode)) 420 | (add-hook 'nov-mode-hook #'olivetti-mode) 421 | (add-hook 'nov-mode-hook #'visual-line-mode) 422 | (spacemacs/set-leader-keys "nn" 'nov-next-document) 423 | (spacemacs/set-leader-keys "pp" 'nov-previous-document) 424 | (spacemacs/set-leader-keys "nt" 'nov-goto-toc) 425 | (spacemacs/set-leader-keys "nd" 'nov-goto-document) 426 | ;; 427 | (setq org-noter-default-notes-file-names '("notes.org") 428 | org-noter-notes-search-path '("~/zk/orgzly/booknotes.org")) 429 | ; (defun org-ref-noter-at-point () 430 | ; "Open the pdf for bibtex key under point if it exists." 431 | ; (interactive) 432 | ; (let* ((results (org-ref-get-bibtex-key-and-file)) 433 | ; (key (car results)) 434 | ; (pdf-file (funcall org-ref-get-pdf-filename-function key))) 435 | ; (if (file-exists-p pdf-file) 436 | ; (progn 437 | ; (find-file-other-window pdf-file) 438 | ; (org-noter)) 439 | ; (message "no pdf found for %s" key)))) 440 | ; 441 | ; (add-to-list 'org-ref-helm-user-candidates 442 | ; '("Org-Noter notes" . org-ref-noter-at-point)) 443 | ; 444 | (setq elfeed-show-mode-hook 445 | (lambda () 446 | (set-face-attribute 'variable-pitch (selected-frame) :font (font-spec :family "PT Sans" :size 34)) 447 | (setq elfeed-show-entry-switch #'my-show-elfeed))) 448 | (defun my-show-elfeed (buffer) 449 | (with-current-buffer buffer 450 | (setq buffer-read-only nil) 451 | (goto-char (point-min)) 452 | (re-search-forward "\n\n") 453 | (fill-individual-paragraphs (point) (point-max)) 454 | (setq buffer-read-only t)) 455 | (switch-to-buffer buffer)) 456 | (setq rmh-elfeed-org-files (list "~/zk/orgzly/feed.org")) 457 | ;; Loading files/themes 458 | ;; backup-by copying 459 | (setq backup-by-copying t 460 | backup-directory-alist `(("." . ,(concat user-emacs-directory "backups"))) 461 | tramp-backup-directory-alist backup-directory-alist 462 | delete-old-versions t 463 | kept-new-versions 3 464 | kept-old-versions 2 465 | version-control t 466 | vc-cvs-stay-local nil) 467 | (load-theme 'minimal-black) 468 | ;; load mwe-log 469 | (with-eval-after-load 'command-log-mode (setq clm/log-command-exceptions* (append clm/log-command-exceptions* 470 | '(evil-next-line 471 | evil-previous-line 472 | evil-forward-char 473 | mouse-set-point 474 | evil-backward-char)))) 475 | ) 476 | ;; Do not write anything past this comment. This is where Emacs will 477 | ;; auto-generate custom variable definitions. 478 | (load-file "~/.emacs.d/private/org-roam/packages.el") 479 | (custom-set-variables 480 | ;; custom-set-variables was added by Custom. 481 | ;; If you edit it by hand, you could mess it up, so be careful. 482 | ;; Your init file should contain only one such instance. 483 | ;; If there is more than one, they won't work right. 484 | '(custom-safe-themes 485 | (quote 486 | ("4780d7ce6e5491e2c1190082f7fe0f812707fc77455616ab6f8b38e796cbffa9" "3ca3d690f282d0197c0307aefb34ee2aaecf0b488237b25b42ccb1ffd4a2fd80" default))) 487 | '(deft-directory "~/Github/Zettelkasten") 488 | '(deft-incremental-search nil) 489 | '(deft-recursive nil) 490 | '(deft-strip-summary-regexp "\\([ 491 | ]\\|^#\\+[a-zA-Z_]+:.*$\\)") 492 | '(easy-jekyll-basedir "~/Documents/GitHub/My-Website/") 493 | '(easy-jekyll-default-picture-directory "~/abe-blog/assets/images/") 494 | '(easy-jekyll-image-directory "img") 495 | '(easy-jekyll-markdown-extension "markdown" t) 496 | '(elfeed-goodies/entry-pane-size 0.25) 497 | '(elfeed-goodies/feed-source-column-width 28) 498 | '(eval-expression-print-level nil) 499 | '(evil-want-Y-yank-to-eol nil) 500 | '(exec-path-from-shell-arguments (quote ("-l" "-i"))) 501 | '(flyspell-default-dictionary "American") 502 | '(line-spacing 0.0) 503 | '(nov-text-width t) 504 | '(nov-variable-pitch t) 505 | '(olivetti-body-width 90) 506 | '(olivetti-minimum-body-width 20) 507 | '(org-agenda-files (quote ("~/zk/orgzly/tasks.org"))) 508 | '(org-bullets-bullet-list (quote (" " " " "○ " "• " "○ " "• " "○" "•"))) 509 | '(org-default-notes-file "notes.org") 510 | '(org-emphasis-alist 511 | (quote 512 | (("+" 513 | (:foreground "#91f5ad")) 514 | ("=" 515 | (:foreground "#AECFDF")) 516 | ("~" 517 | (:foreground "#58d3af")) 518 | ("*" bold 519 | (:foreground "#458588")) 520 | ("/" italic) 521 | ("_" underline) 522 | ("=") 523 | ("~" org-verbatim verbatim) 524 | ("+" 525 | (:strike-through nil))))) 526 | '(org-hide-emphasis-markers t) 527 | '(org-hide-leading-stars t) 528 | '(org-indent-indentation-per-level 4) 529 | '(org-noter-notes-search-path (quote ("~/zk/orgzly/")) t) 530 | '(org-roam-capture-templates 531 | (quote 532 | (("d" "default" plain 533 | (function org-roam-capture--get-point) 534 | "%?" :file-name "00-${slug}" :head "* ${title} 535 | " :unnarrowed t :time-prompt t)))) 536 | '(org-roam-completion-fuzzy-match t) 537 | '(org-roam-completion-system (quote helm)) 538 | '(org-roam-directory "~/Github/Zettelkasten") 539 | '(org-sticky-header-always-show-header nil) 540 | '(org-sticky-header-heading-star "") 541 | '(org-tags-column -80) 542 | '(package-selected-packages 543 | (quote 544 | (workgroups workgroups2 hide-mode-line darkroom svg-mode-line-themes org-sticky-header flatui-dark-theme flatland-theme sqlite emacsql-sqlite3 golden-ratio-scroll-screen org-roam-bibtex typo typit mmt sudoku pacmacs 2048-game ox-reveal ox-gfm unfill mwim spray org2jekyll feebleline bibtex-completion web-beautify livid-mode skewer-mode json-mode json-snatcher json-reformat js2-refactor multiple-cursors js2-mode js-doc company-tern dash-functional tern coffee-mode liquid-types rvm ruby-tools ruby-test-mode rubocop rspec-mode robe rbenv rake minitest chruby bundler inf-ruby easy-jekyll jekyll-modes command-log-mode image+ mixed-pitch org-variable-pitch presentation org-roam emacsql-sqlite emacsql autothemer org-journal fontify-face doom-acario-dark-theme doom-gruvbox-theme sublimity modern-cpp-font-lock posframe tabbar helm-posframe gruvbox-darker-hard-theme simple-httpd elfeed-goodies ace-jump-mode noflet elfeed-protocol elfeed-web elfeed-org debug-print web-mode tagedit slim-mode scss-mode sass-mode pug-mode helm-css-scss haml-mode emmet-mode company-web web-completion-data popup-complete mw-thesaurus synosaurus powerthesaurus helm-org-rifle pandoc minimal-dark-theme zones flatland-black-theme centaur-tabs minimal-theme-theme minimal-theme-black-theme minimal-black-theme minimal-black-theme-theme minimal-theme gruvbox-theme visual-fill-column semi flim apel ht key-chord tablist esxml org-pretty-tags todotxt todotxt-mode org-mode-beautify-theme solarized-theme hexo ranger doom-themes org-beautify-theme w3m yasnippet-snippets interleave org-noter ivy helm-bibtex biblio parsebib biblio-core org-ref ox-pandoc yaml-mode elfeed wanderlust dtk ereader org-pdfview zetteldeft pdf-tools writeroom-mode deft smeargle orgit org-projectile org-category-capture org-present org-pomodoro alert log4e gntp org-mime org-download mmm-mode markdown-toc markdown-mode magit-gitflow magit-popup htmlize helm-gitignore helm-company helm-c-yasnippet gnuplot gitignore-mode gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link gh-md fuzzy flyspell-correct-helm flyspell-correct evil-magit magit transient git-commit with-editor company-statistics company auto-yasnippet yasnippet auto-dictionary ac-ispell auto-complete nov olivetti ws-butler winum which-key volatile-highlights vi-tilde-fringe uuidgen use-package toc-org spaceline powerline restart-emacs request rainbow-delimiters popwin persp-mode pcre2el paradox spinner org-plus-contrib org-bullets open-junk-file neotree move-text macrostep lorem-ipsum linum-relative link-hint indent-guide hydra lv hungry-delete hl-todo highlight-parentheses highlight-numbers parent-mode highlight-indentation helm-themes helm-swoop helm-projectile projectile pkg-info epl helm-mode-manager helm-make helm-flx helm-descbinds helm-ag google-translate golden-ratio flx-ido flx fill-column-indicator fancy-battery eyebrowse expand-region exec-path-from-shell evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-surround evil-search-highlight-persist highlight evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-lisp-state smartparens evil-indent-plus evil-iedit-state iedit evil-exchange evil-escape evil-ediff evil-args evil-anzu anzu evil goto-chg undo-tree eval-sexp-fu elisp-slime-nav dumb-jump f dash s diminish define-word column-enforce-mode clean-aindent-mode bind-map bind-key auto-highlight-symbol auto-compile packed aggressive-indent adaptive-wrap ace-window ace-link ace-jump-helm-line helm avy helm-core popup async))) 545 | '(rmh-elfeed-org-files (quote ("~/zk/orgzly/feed.org")) t) 546 | '(synosaurus-backend (quote synosaurus-backend-wordnet))) 547 | (custom-set-faces 548 | ;; custom-set-faces was added by Custom. 549 | ;; If you edit it by hand, you could mess it up, so be careful. 550 | ;; Your init file should contain only one such instance. 551 | ;; If there is more than one, they won't work right. 552 | '(default ((t (:inherit nil :stipple nil :background "gray2" :foreground "grey90" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 130 :width normal :foundry "UKWN" :family "Latin Modern Mono")))) 553 | '(bold ((t (:foreground "#FABD2F" :weight ultra-bold)))) 554 | '(fixed-pitch-serif ((t (:family "Monospace Serif")))) 555 | '(italic ((t (:foreground "SeaGreen3" :slant italic :weight bold :height 1.0)))) 556 | '(org-agenda-structure ((t (:inherit default :foreground "#bbc2cf" :underline nil :slant normal :weight bold :height 2.0 :width normal :foundry "outline" :family "PT Sans")))) 557 | '(org-default ((t (:inherit nil :weight semi-bold)))) 558 | '(org-document-title ((t (:inherit org-level-1 :foreground "dark gray" :weight ultra-bold :height 1.2 :family "Crimson Pro ")))) 559 | '(org-footnote ((t (:foreground "gray40" :underline t :height 0.5)))) 560 | '(org-indent ((t (:inherit org-hide fixed-pitch)))) 561 | '(org-level-1 ((t (:inherit nil :foreground "gray97" :weight ultra-bold :height 1.5)))) 562 | '(org-level-2 ((t (:inherit nil :foreground "grey97" :weight ultra-bold :height 1.25)))) 563 | '(org-level-3 ((t (:foreground "grey75" :weight normal :height 1.0)))) 564 | '(org-level-4 ((t (:inherit nil :foreground "grey75" :weight light :height 1.0)))) 565 | '(org-level-5 ((t (:inherit nil :foreground "grey75" :weight normal :height 1.0)))) 566 | '(org-level-6 ((t (:inherit nil :foreground "grey75" :height 1.0)))) 567 | '(org-level-7 ((t nil))) 568 | '(org-link ((t (:inherit nil :foreground "deep sky blue" :underline t)))) 569 | '(org-table ((t (:foreground "tomato")))) 570 | '(org-variable-pitch-face ((t (:height 1.0 :family "IM Fell English")))) 571 | '(org-verbatim ((t (:inherit superscript :foreground "#D3869B")))) 572 | '(underline ((t (:foreground "#D3869B" :underline t)))) 573 | '(variable-pitch ((t (:weight semi-bold :height 1.0 :family "Crimson Pro")))) 574 | '(vertical-border ((t (:background "dim gray" :foreground "gray12" :weight ultra-bold :width extra-expanded))))) 575 | --------------------------------------------------------------------------------