 ;; -*- mode: emacs-lisp -*-
 (defun dotspacemacs/layers ()
-  "Configuration Layers declaration."
   (setq-default
    dotspacemacs-distribution 'spacemacs
    dotspacemacs-configuration-layer-path '()
+   dotspacemacs-additional-packages '()
+   dotspacemacs-excluded-packages '()
+   dotspacemacs-delete-orphan-packages t
+
    dotspacemacs-configuration-layers
-   '(auto-completion
+   '((auto-completion
+      :variables
+      auto-completion-private-snippets-directory "~/.spacemacs.d/snippets/"
+      :disabled-for org)
      better-defaults
+     (c-c++ :variables c-c++-enable-clang-support t)
      emacs-lisp
      git
-     ;; markdown
-     ;; org
-     ;; (shell :variables
-     ;;        shell-default-height 30
-     ;;        shell-default-position 'bottom)
-     ;; spell-checking
-     ;; syntax-checking
+     (ibuffer :variables ibuffer-group-buffers-by nil)
+     markdown
+     org
      osx
-     )
-   dotspacemacs-additional-packages '()
-   dotspacemacs-excluded-packages '()
-   dotspacemacs-delete-orphan-packages t))
+     ranger
+     semantic
+     (syntax-checking :variables syntax-checking-enable-by-default nil)
+     (version-control :variables version-control-diff-tool 'diff-hl))))
 
 (defun dotspacemacs/init ()
-  "Initialization function."
   (setq-default
-   dotspacemacs-elpa-https t
-   dotspacemacs-elpa-timeout 5
-   dotspacemacs-check-for-update nil
+   dotspacemacs-elpa-https nil
+   dotspacemacs-elpa-timeout 10
+   dotspacemacs-check-for-update t
    dotspacemacs-editing-style 'vim
    dotspacemacs-verbose-loading nil
-   dotspacemacs-startup-banner 'official
-   dotspacemacs-startup-lists '(recents projects)
+   dotspacemacs-startup-banner nil
+   dotspacemacs-startup-lists '(recents bookmarks projects)
    dotspacemacs-startup-recent-list-size 5
    dotspacemacs-scratch-mode 'text-mode
    dotspacemacs-themes '(spacemacs-light

   ))

(defun dotspacemacs/user-init ()
  "Initialization function for user code.
It is called immediately after `dotspacemacs/init', before layer configuration
executes.
 This function is mostly useful for variables that need to be set
before packages are loaded. If you are unsure, you should try in setting them in
`dotspacemacs/user-config' first."
  )

(defun dotspacemacs/user-config ()
  "Configuration function for user code.")

;; Do not write anything past this comment. This is where Emacs will
;; auto-generate custom variable definitions.

   dotspacemacs-emacs-leader-key "M-m"
   dotspacemacs-major-mode-leader-key ","
   dotspacemacs-major-mode-emacs-leader-key "C-M-m"
   dotspacemacs-distinguish-gui-tab t
   dotspacemacs-command-key ":"
   dotspacemacs-remap-Y-to-y$ t
   dotspacemacs-default-layout-name "Home"
   dotspacemacs-display-default-layout nil
   dotspacemacs-auto-resume-layouts nil
   dotspacemacs-auto-save-file-location 'cache
   dotspacemacs-max-rollback-slots 10
   dotspacemacs-use-ido nil
   dotspacemacs-helm-resize t
   dotspacemacs-helm-no-header t
   dotspacemacs-helm-position 'bottom
   dotspacemacs-enable-paste-micro-state nil
   dotspacemacs-which-key-delay 1
   dotspacemacs-which-key-position 'bottom
   dotspacemacs-loading-progress-bar t
   dotspacemacs-fullscreen-at-startup nil
