diff --git a/core/core-dotspacemacs.el b/core/core-dotspacemacs.el index ae41bf4f8..6cacaaa66 100644 --- a/core/core-dotspacemacs.el +++ b/core/core-dotspacemacs.el @@ -54,7 +54,7 @@ exists. Otherwise, fallback to ~/.spacemacs") (defvar dotspacemacs-distribution 'spacemacs "Base distribution to use. This is a layer contained in the directory -`+distribution'. For now available distributions are `spacemacs-core' +`+distribution'. For now available distributions are `spacemacs-base' or `spacemacs'.") (defvar dotspacemacs-configuration-layer-path '() @@ -322,15 +322,15 @@ If ARG is non nil then Ask questions to the user before installing the dotfile." vim) ("On the planet Emacs in the Holy control tower (emacs)" emacs))))) - ("dotspacemacs-distribution 'spacemacs-core" + ("dotspacemacs-distribution 'spacemacs-base" ,(format "dotspacemacs-distribution '%S" (dotspacemacs//ido-completing-read "What distribution of spacemacs would you like to start with? " '(("The standard distribution with many goodies built-in (spacemacs)" spacemacs) - ("A distribution with the spacemacs essentials that you can build on (spacemacs-core)" - spacemacs-core))))))))) + ("A distribution with the spacemacs essentials that you can build on (spacemacs-base)" + spacemacs-base))))))))) (with-current-buffer (find-file-noselect (concat dotspacemacs-template-directory ".spacemacs.template")) diff --git a/core/templates/.spacemacs.template b/core/templates/.spacemacs.template index cc18a8683..b1767d539 100644 --- a/core/templates/.spacemacs.template +++ b/core/templates/.spacemacs.template @@ -8,9 +8,9 @@ You should not put any user code in this function besides modifying the variable values." (setq-default ;; Base distribution to use. This is a layer contained in the directory - ;; `!distribution'. For now available distributions are `spacemacs-core' - ;; or `spacemacs'. (default 'spacemacs-core) - dotspacemacs-distribution 'spacemacs-core + ;; `+distribution'. For now available distributions are `spacemacs-base' + ;; or `spacemacs'. (default 'spacemacs-base) + dotspacemacs-distribution 'spacemacs-base ;; List of additional paths where to look for configuration layers. ;; Paths must have a trailing slash (i.e. `~/.mycontribs/') dotspacemacs-configuration-layer-path '() diff --git a/layers/+distribution/spacemacs-core/config.el b/layers/+distribution/spacemacs-base/config.el similarity index 99% rename from layers/+distribution/spacemacs-core/config.el rename to layers/+distribution/spacemacs-base/config.el index 903097c7a..592818efa 100644 --- a/layers/+distribution/spacemacs-core/config.el +++ b/layers/+distribution/spacemacs-base/config.el @@ -1,4 +1,4 @@ -;;; config.el --- Spacemacs Core Layer configuration File +;;; config.el --- Spacemacs Base Layer configuration File ;; ;; Copyright (c) 2012-2014 Sylvain Benner ;; Copyright (c) 2014-2015 Sylvain Benner & Contributors diff --git a/layers/+distribution/spacemacs-core/funcs.el b/layers/+distribution/spacemacs-base/funcs.el similarity index 99% rename from layers/+distribution/spacemacs-core/funcs.el rename to layers/+distribution/spacemacs-base/funcs.el index 2f9e1641f..8eeb60ce9 100644 --- a/layers/+distribution/spacemacs-core/funcs.el +++ b/layers/+distribution/spacemacs-base/funcs.el @@ -1,4 +1,4 @@ -;;; funcs.el --- Spacemacs Core Layer functions File +;;; funcs.el --- Spacemacs Base Layer functions File ;; ;; Copyright (c) 2012-2014 Sylvain Benner ;; Copyright (c) 2014-2015 Sylvain Benner & Contributors diff --git a/layers/+distribution/spacemacs-core/keybindings.el b/layers/+distribution/spacemacs-base/keybindings.el similarity index 99% rename from layers/+distribution/spacemacs-core/keybindings.el rename to layers/+distribution/spacemacs-base/keybindings.el index 930691662..1930fc965 100644 --- a/layers/+distribution/spacemacs-core/keybindings.el +++ b/layers/+distribution/spacemacs-base/keybindings.el @@ -1,4 +1,4 @@ -;;; keybindings.el --- Spacemacs Core Layer key-bindings File +;;; keybindings.el --- Spacemacs Base Layer key-bindings File ;; ;; Copyright (c) 2012-2014 Sylvain Benner ;; Copyright (c) 2014-2015 Sylvain Benner & Contributors diff --git a/layers/+distribution/spacemacs-core/local/helm-spacemacs/helm-spacemacs.el b/layers/+distribution/spacemacs-base/local/helm-spacemacs/helm-spacemacs.el similarity index 100% rename from layers/+distribution/spacemacs-core/local/helm-spacemacs/helm-spacemacs.el rename to layers/+distribution/spacemacs-base/local/helm-spacemacs/helm-spacemacs.el diff --git a/layers/+distribution/spacemacs-core/local/holy-mode/holy-mode.el b/layers/+distribution/spacemacs-base/local/holy-mode/holy-mode.el similarity index 100% rename from layers/+distribution/spacemacs-core/local/holy-mode/holy-mode.el rename to layers/+distribution/spacemacs-base/local/holy-mode/holy-mode.el diff --git a/layers/+distribution/spacemacs-core/local/hybrid-mode/hybrid-mode.el b/layers/+distribution/spacemacs-base/local/hybrid-mode/hybrid-mode.el similarity index 100% rename from layers/+distribution/spacemacs-core/local/hybrid-mode/hybrid-mode.el rename to layers/+distribution/spacemacs-base/local/hybrid-mode/hybrid-mode.el diff --git a/layers/+distribution/spacemacs-core/packages.el b/layers/+distribution/spacemacs-base/packages.el similarity index 97% rename from layers/+distribution/spacemacs-core/packages.el rename to layers/+distribution/spacemacs-base/packages.el index cff13c276..9c13c2498 100644 --- a/layers/+distribution/spacemacs-core/packages.el +++ b/layers/+distribution/spacemacs-base/packages.el @@ -10,7 +10,7 @@ ;; ;;; License: GPLv3 -(setq spacemacs-core-packages +(setq spacemacs-base-packages '( bind-key bookmark @@ -55,9 +55,9 @@ ;; Initialization of packages -(defun spacemacs-core/init-bind-key ()) +(defun spacemacs-base/init-bind-key ()) -(defun spacemacs-core/init-bookmark () +(defun spacemacs-base/init-bookmark () (use-package bookmark :defer t :init @@ -65,7 +65,7 @@ ;; autosave each change bookmark-save-flag 1))) -(defun spacemacs-core/init-diminish () +(defun spacemacs-base/init-diminish () (use-package diminish :init (progn @@ -86,7 +86,7 @@ '(when (eval-when-compile (version< "24.3.1" emacs-version)) (diminish 'subword-mode)))))) -(defun spacemacs-core/init-eldoc () +(defun spacemacs-base/init-eldoc () (use-package eldoc :defer t :config @@ -98,17 +98,17 @@ ;; don't display eldoc on modeline (spacemacs|hide-lighter eldoc-mode)))) -(defun spacemacs-core/init-builtin-process-menu () +(defun spacemacs-base/init-builtin-process-menu () (evilify process-menu-mode process-menu-mode-map)) -(defun spacemacs-core/init-builtin-ido () +(defun spacemacs-base/init-builtin-ido () (ido-mode t) (setq ido-save-directory-list-file (concat spacemacs-cache-directory "ido.last") ;; enable fuzzy matching ido-enable-flex-matching t)) -(defun spacemacs-core/init-builtin-hs-minor-mode () +(defun spacemacs-base/init-builtin-hs-minor-mode () ;; required for evil folding (defun spacemacs//enable-hs-minor-mode () "Enable hs-minor-mode for code folding." @@ -117,10 +117,10 @@ (spacemacs|hide-lighter hs-minor-mode))) (add-hook 'prog-mode-hook 'spacemacs//enable-hs-minor-mode)) -(defun spacemacs-core/init-builtin-electric-indent-mode () +(defun spacemacs-base/init-builtin-electric-indent-mode () (electric-indent-mode)) -(defun spacemacs-core/init-builtin-uniquify () +(defun spacemacs-base/init-builtin-uniquify () (require 'uniquify) ;; When having windows with repeated filenames, uniquify them ;; by the folder they are in rather those annoying <2>,<3>,.. etc @@ -145,7 +145,7 @@ ;; ;; inside the use-package function ;; (add-hook 'ediff-keymap-setup-hook 'ediff/setup-ediff-keymaps) ;; ``` -(defun spacemacs-core/init-ediff () +(defun spacemacs-base/init-ediff () (use-package ediff :defer t :init @@ -157,7 +157,7 @@ ediff-split-window-function 'split-window-horizontally ediff-merge-split-window-function 'split-window-horizontally)))) -(defun spacemacs-core/init-eldoc () +(defun spacemacs-base/init-eldoc () (use-package eldoc :defer t :config @@ -169,7 +169,7 @@ ;; don't display eldoc on modeline (spacemacs|hide-lighter eldoc-mode)))) -(defun spacemacs-core/init-evil () +(defun spacemacs-base/init-evil () (use-package evil :init (progn @@ -418,14 +418,14 @@ Example: (evil-map visual \"<\" \"