Advertisement
Guest User

Untitled

a guest
Aug 18th, 2017
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 3.49 KB | None | 0 0
  1. (defun dotspacemacs/layers ()
  2.   "Configuration Layers declaration.
  3. You should not put any user code in this function besides modifying the variable
  4. values."
  5.   (setq-default
  6.    ;; Base distribution to use. This is a layer contained in the directory
  7.    ;; `+distribution'. For now available distributions are `spacemacs-base'
  8.    ;; or `spacemacs'. (default 'spacemacs)
  9.    dotspacemacs-distribution 'spacemacs
  10.    ;; Lazy installation of layers (i.e. layers are installed only when a file
  11.    ;; with a supported type is opened). Possible values are `all', `unused'
  12.    ;; and `nil'. `unused' will lazy install only unused layers (i.e. layers
  13.    ;; not listed in variable `dotspacemacs-configuration-layers'), `all' will
  14.    ;; lazy install any layer that support lazy installation even the layers
  15.    ;; listed in `dotspacemacs-configuration-layers'. `nil' disable the lazy
  16.    ;; installation feature and you have to explicitly list a layer in the
  17.    ;; variable `dotspacemacs-configuration-layers' to install it.
  18.    ;; (default 'unused)
  19.    dotspacemacs-enable-lazy-installation 'unused
  20.    ;; If non-nil then Spacemacs will ask for confirmation before installing
  21.    ;; a layer lazily. (default t)
  22.    dotspacemacs-ask-for-lazy-installation t
  23.    ;; If non-nil layers with lazy install support are lazy installed.
  24.    ;; List of additional paths where to look for configuration layers.
  25.    ;; Paths must have a trailing slash (i.e. `~/.mycontribs/')
  26.    dotspacemacs-configuration-layer-path '()
  27.    ;; List of configuration layers to load.
  28.    dotspacemacs-configuration-layers
  29.    '(
  30.      ;; ----------------------------------------------------------------
  31.      ;; Example of useful layers you may want to use right away.
  32.      ;; Uncomment some layer names and press <SPC f e R> (Vim style) or
  33.      ;; <M-m f e R> (Emacs style) to install them.
  34.      ;; ----------------------------------------------------------------
  35.      helm
  36.      ;; auto-completion
  37.      ;; better-defaults
  38.      emacs-lisp
  39.      ;; git
  40.      ;; markdown
  41.      ;; org
  42.      ;; (shell :variables
  43.      ;;        shell-default-height 30
  44.      ;;        shell-default-position 'bottom)
  45.      ;; spell-checking
  46.      ;; syntax-checking
  47.      ;; version-control
  48.      ;; ...
  49.                 (wakatime :variables
  50.                 wakatime-api-key  "0393509b-7962-4e35-bce1-2124a33ac422"
  51.                 ;; use the actual wakatime path
  52.                 wakatime-cli-path "/usr/bin/wakatime")
  53.                 ;; ...
  54.                )
  55.      
  56.    ;; List of additional packages that will be installed without being
  57.    ;; wrapped in a layer. If you need some configuration for these
  58.    ;; packages, then consider creating a layer. You can also put the
  59.    ;; configuration in `dotspacemacs/user-config'.
  60.    dotspacemacs-additional-packages '()
  61.    ;; A list of packages that cannot be updated.
  62.    dotspacemacs-frozen-packages '()
  63.    ;; A list of packages that will not be installed and loaded.
  64.    dotspacemacs-excluded-packages '()
  65.    ;; Defines the behaviour of Spacemacs when installing packages.
  66.    ;; Possible values are `used-only', `used-but-keep-unused' and `all'.
  67.    ;; `used-only' installs only explicitly used packages and uninstall any
  68.    ;; unused packages as well as their unused dependencies.
  69.    ;; `used-but-keep-unused' installs only the used packages but won't uninstall
  70.    ;; them if they become unused. `all' installs *all* packages supported by
  71.    ;; Spacemacs and never uninstall them. (default is `used-only')
  72.    dotspacemacs-install-packages 'used-only))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement