From a04a64eca81e4f9f7e9db2839580a01df1764808 Mon Sep 17 00:00:00 2001 From: syl20bnr Date: Fri, 28 Nov 2014 21:43:07 -0500 Subject: [PATCH] Better .spacemacs template --- core/templates/.spacemacs.template | 31 +++++++++++++++++++++--------- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/core/templates/.spacemacs.template b/core/templates/.spacemacs.template index bd0b0d8e3..91c75cdfb 100644 --- a/core/templates/.spacemacs.template +++ b/core/templates/.spacemacs.template @@ -2,16 +2,25 @@ ;; This file is loaded by Spacemacs at startup. ;; It must be stored in your home directory. -;; Variables +;; Configuration Layers +;; -------------------- + +(setq-default + ;; List of additional paths where to look for configuration layers. + ;; Paths must have a trailing slash (ie. `~/.mycontribs/') + dotspacemacs-configuration-layer-path '() + ;; List of configuration layers to load. + dotspacemacs-configuration-layers '() + ;; A list of packages and/or extensions that will not be install and loaded. + dotspacemacs-excluded-packages '() +) + +;; Settings +;; -------- (setq-default ;; Default theme applied at startup dotspacemacs-default-theme 'solarized-light - ;; List of additional paths where to look for configuration layers. - ;; Paths must have a trailing slash (ie. `~/.mycontribs/') - dotspacemacs-configuration-layer-path '() - ;; List of contribution to load. - dotspacemacs-configuration-layers '() ;; If non nil the frame is maximized when Emacs starts up (Emacs 24.4+ only) dotspacemacs-fullscreen-at-startup nil ;; If non nil smooth scrolling (native-scrolling) is enabled. Smooth scrolling @@ -21,15 +30,14 @@ ;; If non nil pressing 'jk' in insert state, ido or helm will activate the ;; evil leader. dotspacemacs-feature-toggle-leader-on-jk nil - ;; A list of packages and/or extensions that will not be install and loaded. - dotspacemacs-excluded-packages '() ;; The default package repository used if no explicit repository has been ;; specified with an installed package. ;; Not used for now. dotspacemacs-default-package-repository nil ) -;; Functions +;; Initialization Hooks +;; -------------------- (defun dotspacemacs/init () "User initialization for Spacemacs. This function is called at the very @@ -42,4 +50,9 @@ This function is called at the very end of Spacemacs initialization." ) ;; Custom variables +;; ---------------- + +;; Do not write anything in this section. This is where Emacs will +;; auto-generate custom variable definitions. +