[spacemacs] switch to zenburn & add html layer
[~bandali/configs] / spacemacs / .spacemacs
1 ;; -*- mode: emacs-lisp -*-
2 ;; This file is loaded by Spacemacs at startup.
3 ;; It must be stored in your home directory.
4
5 ;; Configuration Layers
6 ;; --------------------
7
8 (setq-default
9 ;; List of additional paths where to look for configuration layers.
10 ;; Paths must have a trailing slash (ie. `~/.mycontribs/')
11 dotspacemacs-configuration-layer-path '()
12 ;; List of configuration layers to load.
13 dotspacemacs-configuration-layers '(mu4e evil git haskell c-c++ auctex html)
14 ;; A list of packages and/or extensions that will not be install and loaded.
15 dotspacemacs-excluded-packages '()
16 )
17
18 ;; Settings
19 ;; --------
20
21 (setq-default
22 ;; Specify the startup banner. If the value is an integer then the
23 ;; banner with the corresponding index is used, if the value is `random'
24 ;; then the banner is chosen randomly among the available banners, if
25 ;; the value is nil then no banner is displayed.
26 dotspacemacs-startup-banner 001
27 ;; List of themes, the first of the list is loaded when spacemacs starts.
28 ;; Press <SPC> T n to cycle to the next theme in the list (works great
29 ;; with 2 themes variants, one dark and one light)
30 dotspacemacs-themes '(zenburn)
31 ;; The leader key
32 dotspacemacs-leader-key "SPC"
33 ;; Major mode leader key is a shortcut key which is the equivalent of
34 ;; pressing `<leader> m`
35 dotspacemacs-major-mode-leader-key ","
36 ;; The command key used for Evil commands (ex-commands) and
37 ;; Emacs commands (M-x).
38 ;; By default the command key is `:' so ex-commands are executed like in Vim
39 ;; with `:' and Emacs commands are executed with `<leader> :'.
40 dotspacemacs-command-key ":"
41 ;; Guide-key delay in seconds. The Guide-key is the popup buffer listing
42 ;; the commands bound to the current keystrokes.
43 dotspacemacs-guide-key-delay 0.4
44 ;; If non nil the frame is fullscreen when Emacs starts up (Emacs 24.4+ only).
45 dotspacemacs-fullscreen-at-startup nil
46 ;; If non nil `spacemacs/toggle-fullscreen' will not use native fullscreen.
47 ;; Use to disable fullscreen animations in OSX."
48 dotspacemacs-fullscreen-use-non-native nil
49 ;; If non nil the frame is maximized when Emacs starts up (Emacs 24.4+ only).
50 ;; Takes effect only if `dotspacemacs-fullscreen-at-startup' is nil.
51 dotspacemacs-maximized-at-startup nil
52 ;; A value from the range (0..100), in increasing opacity, which describes the
53 ;; transparency level of a frame when it's active or selected. Transparency can
54 ;; be toggled through `toggle-transparency'.
55 dotspacemacs-active-transparency 90
56 ;; A value from the range (0..100), in increasing opacity, which describes the
57 ;; transparency level of a frame when it's inactive or deselected. Transparency
58 ;; can be toggled through `toggle-transparency'.
59 dotspacemacs-inactive-transparency 90
60 ;; If non nil unicode symbols are displayed in the mode line (e.g. for lighters)
61 dotspacemacs-mode-line-unicode-symbols t
62 ;; If non nil smooth scrolling (native-scrolling) is enabled. Smooth scrolling
63 ;; overrides the default behavior of Emacs which recenters the point when
64 ;; it reaches the top or bottom of the screen
65 dotspacemacs-smooth-scrolling t
66 ;; If non-nil smartparens-strict-mode will be enabled in programming modes.
67 dotspacemacs-smartparens-strict-mode nil
68 ;; If non nil advises quit functions to keep server open when quitting.
69 dotspacemacs-persistent-server nil
70 ;; The default package repository used if no explicit repository has been
71 ;; specified with an installed package.
72 ;; Not used for now.
73 dotspacemacs-default-package-repository nil
74 )
75
76 ;; Initialization Hooks
77 ;; --------------------
78
79 (defun dotspacemacs/init ()
80 "User initialization for Spacemacs. This function is called at the very
81 startup."
82 )
83
84 (defun dotspacemacs/config ()
85 "This is were you can ultimately override default Spacemacs configuration.
86 This function is called at the very end of Spacemacs initialization."
87 (setq powerline-default-separator nil)
88 (setq TeX-PDF-mode t
89 Tex-command-default 'TeX)
90 )
91
92 ;; Custom variables
93 ;; ----------------
94
95 ;; Do not write anything in this section. This is where Emacs will
96 ;; auto-generate custom variable definitions.
97
98
99 (custom-set-variables
100 ;; custom-set-variables was added by Custom.
101 ;; If you edit it by hand, you could mess it up, so be careful.
102 ;; Your init file should contain only one such instance.
103 ;; If there is more than one, they won't work right.
104 '(ac-ispell-requires 4)
105 '(ahs-case-fold-search nil)
106 '(ahs-default-range (quote ahs-range-whole-buffer))
107 '(ahs-idle-interval 0.25)
108 '(ahs-idle-timer 0 t)
109 '(ahs-inhibit-face-list nil)
110 '(ring-bell-function (quote ignore) t)
111 '(send-mail-function (quote smtpmail-send-it)))
112 (custom-set-faces
113 ;; custom-set-faces was added by Custom.
114 ;; If you edit it by hand, you could mess it up, so be careful.
115 ;; Your init file should contain only one such instance.
116 ;; If there is more than one, they won't work right.
117 )