e43efad2f33f08c642bf055e02cf32812166bf93
[~bandali/configs] / spacemacs / .spacemacs
1 ;; -*- mode: dotspacemacs -*-
2 ;; This file is loaded by Spacemacs at startup.
3 ;; It must be stored in your home directory.
4
5 (defun dotspacemacs/layers ()
6 "Configuration Layers declaration."
7 (setq-default
8 ;; List of additional paths where to look for configuration layers.
9 ;; Paths must have a trailing slash (ie. `~/.mycontribs/')
10 dotspacemacs-configuration-layer-path '()
11 ;; List of configuration layers to load. If it is the symbol `all' instead
12 ;; of a list then all discovered layers will be installed.
13 dotspacemacs-configuration-layers '()
14 ;; A list of packages and/or extensions that will not be install and loaded.
15 dotspacemacs-excluded-packages '()
16 ;; If non-nil spacemacs will delete any orphan packages, i.e. packages that
17 ;; are declared in a layer which is not a member of
18 ;; the list `dotspacemacs-configuration-layers'
19 dotspacemacs-delete-orphan-packages t))
20
21 (defun dotspacemacs/init ()
22 "Initialization function.
23 This function is called at the very startup of Spacemacs initialization
24 before layers configuration."
25 ;; This setq-default sexp is an exhaustive list of all the supported
26 ;; spacemacs settings.
27 (setq-default
28 ;; Specify the startup banner. If the value is an integer then the
29 ;; banner with the corresponding index is used, if the value is `random'
30 ;; then the banner is chosen randomly among the available banners, if
31 ;; the value is nil then no banner is displayed.
32 dotspacemacs-startup-banner 'random
33 ;; List of themes, the first of the list is loaded when spacemacs starts.
34 ;; Press <SPC> T n to cycle to the next theme in the list (works great
35 ;; with 2 themes variants, one dark and one light)
36 dotspacemacs-themes '(solarized-light
37 solarized-dark
38 leuven
39 monokai
40 zenburn)
41 ;; If non nil the cursor color matches the state color.
42 dotspacemacs-colorize-cursor-according-to-state t
43 ;; Default font. `powerline-scale' allows to quickly tweak the mode-line
44 ;; size to make separators look not too crappy.
45 dotspacemacs-default-font '("Source Code Pro"
46 :size 13
47 :weight normal
48 :width normal
49 :powerline-scale 1.1)
50 ;; The leader key
51 dotspacemacs-leader-key "SPC"
52 ;; Major mode leader key is a shortcut key which is the equivalent of
53 ;; pressing `<leader> m`
54 dotspacemacs-major-mode-leader-key ","
55 ;; The command key used for Evil commands (ex-commands) and
56 ;; Emacs commands (M-x).
57 ;; By default the command key is `:' so ex-commands are executed like in Vim
58 ;; with `:' and Emacs commands are executed with `<leader> :'.
59 dotspacemacs-command-key ":"
60 ;; Guide-key delay in seconds. The Guide-key is the popup buffer listing
61 ;; the commands bound to the current keystrokes.
62 dotspacemacs-guide-key-delay 0.4
63 ;; If non nil a progress bar is displayed when spacemacs is loading. This
64 ;; may increase the boot time on some systems and emacs builds, set it to
65 ;; nil ;; to boost the loading time.
66 dotspacemacs-loading-progress-bar t
67 ;; If non nil the frame is fullscreen when Emacs starts up.
68 ;; (Emacs 24.4+ only)
69 dotspacemacs-fullscreen-at-startup nil
70 ;; If non nil `spacemacs/toggle-fullscreen' will not use native fullscreen.
71 ;; Use to disable fullscreen animations in OSX."
72 dotspacemacs-fullscreen-use-non-native nil
73 ;; If non nil the frame is maximized when Emacs starts up.
74 ;; Takes effect only if `dotspacemacs-fullscreen-at-startup' is nil.
75 ;; (Emacs 24.4+ only)
76 dotspacemacs-maximized-at-startup nil
77 ;; A value from the range (0..100), in increasing opacity, which describes
78 ;; the transparency level of a frame when it's active or selected.
79 ;; Transparency can be toggled through `toggle-transparency'.
80 dotspacemacs-active-transparency 90
81 ;; A value from the range (0..100), in increasing opacity, which describes
82 ;; the transparency level of a frame when it's inactive or deselected.
83 ;; Transparency can be toggled through `toggle-transparency'.
84 dotspacemacs-inactive-transparency 90
85 ;; If non nil unicode symbols are displayed in the mode line.
86 dotspacemacs-mode-line-unicode-symbols t
87 ;; If non nil smooth scrolling (native-scrolling) is enabled. Smooth
88 ;; scrolling overrides the default behavior of Emacs which recenters the
89 ;; point when it reaches the top or bottom of the screen.
90 dotspacemacs-smooth-scrolling t
91 ;; If non-nil smartparens-strict-mode will be enabled in programming modes.
92 dotspacemacs-smartparens-strict-mode nil
93 ;; If non nil advises quit functions to keep server open when quitting.
94 dotspacemacs-persistent-server nil
95 ;; The default package repository used if no explicit repository has been
96 ;; specified with an installed package.
97 ;; Not used for now.
98 dotspacemacs-default-package-repository nil)
99 ;; User initialization goes here
100 )
101
102 (defun dotspacemacs/config ()
103 "Configuration function.
104 This function is called at the very end of Spacemacs initialization after
105 layers configuration."
106 )
107
108 ;; Do not write anything past this comment. This is where Emacs will
109 ;; auto-generate custom variable definitions.