[bar/conky] add lemon font & add kbd layout
[~bandali/configs] / spacemacs / .spacemacs
... / ...
CommitLineData
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 '(mu4e evil git c-c++ auctex html clojure)
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.
23This function is called at the very startup of Spacemacs initialization
24before 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 001
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 '(zenburn)
37 ;; If non nil the cursor color matches the state color.
38 dotspacemacs-colorize-cursor-according-to-state t
39 ;; Default font. `powerline-scale' allows to quickly tweak the mode-line
40 ;; size to make separators look not too crappy.
41 dotspacemacs-default-font '("Source Code Pro for Powerline"
42 :size 14
43 :weight normal
44 :width normal
45 :powerline-scale 1.1)
46 ;; The leader key
47 dotspacemacs-leader-key "SPC"
48 ;; Major mode leader key is a shortcut key which is the equivalent of
49 ;; pressing `<leader> m`
50 dotspacemacs-major-mode-leader-key ","
51 ;; The command key used for Evil commands (ex-commands) and
52 ;; Emacs commands (M-x).
53 ;; By default the command key is `:' so ex-commands are executed like in Vim
54 ;; with `:' and Emacs commands are executed with `<leader> :'.
55 dotspacemacs-command-key ":"
56 ;; Guide-key delay in seconds. The Guide-key is the popup buffer listing
57 ;; the commands bound to the current keystrokes.
58 dotspacemacs-guide-key-delay 0.4
59 ;; If non nil a progress bar is displayed when spacemacs is loading. This
60 ;; may increase the boot time on some systems and emacs builds, set it to
61 ;; nil ;; to boost the loading time.
62 dotspacemacs-loading-progress-bar t
63 ;; If non nil the frame is fullscreen when Emacs starts up.
64 ;; (Emacs 24.4+ only)
65 dotspacemacs-fullscreen-at-startup nil
66 ;; If non nil `spacemacs/toggle-fullscreen' will not use native fullscreen.
67 ;; Use to disable fullscreen animations in OSX."
68 dotspacemacs-fullscreen-use-non-native nil
69 ;; If non nil the frame is maximized when Emacs starts up.
70 ;; Takes effect only if `dotspacemacs-fullscreen-at-startup' is nil.
71 ;; (Emacs 24.4+ only)
72 dotspacemacs-maximized-at-startup nil
73 ;; A value from the range (0..100), in increasing opacity, which describes
74 ;; the transparency level of a frame when it's active or selected.
75 ;; Transparency can be toggled through `toggle-transparency'.
76 dotspacemacs-active-transparency 90
77 ;; A value from the range (0..100), in increasing opacity, which describes
78 ;; the transparency level of a frame when it's inactive or deselected.
79 ;; Transparency can be toggled through `toggle-transparency'.
80 dotspacemacs-inactive-transparency 90
81 ;; If non nil unicode symbols are displayed in the mode line.
82 dotspacemacs-mode-line-unicode-symbols t
83 ;; If non nil smooth scrolling (native-scrolling) is enabled. Smooth
84 ;; scrolling overrides the default behavior of Emacs which recenters the
85 ;; point when it reaches the top or bottom of the screen.
86 dotspacemacs-smooth-scrolling t
87 ;; If non-nil smartparens-strict-mode will be enabled in programming modes.
88 dotspacemacs-smartparens-strict-mode nil
89 ;; If non nil advises quit functions to keep server open when quitting.
90 dotspacemacs-persistent-server nil
91 ;; The default package repository used if no explicit repository has been
92 ;; specified with an installed package.
93 ;; Not used for now.
94 dotspacemacs-default-package-repository nil
95 ;; Disable setting the cursor color according to states
96 dotspacemacs-colorize-cursor-according-to-state nil)
97 ;; User initialization goes here
98 )
99
100(defun dotspacemacs/config ()
101 "Configuration function.
102 This function is called at the very end of Spacemacs initialization after
103layers configuration."
104 (setq powerline-default-separator nil)
105 (setq TeX-PDF-mode t
106 Tex-command-default 'TeX)
107)
108
109;; Do not write anything past this comment. This is where Emacs will
110;; auto-generate custom variable definitions.
111
112
113(custom-set-variables
114 ;; custom-set-variables was added by Custom.
115 ;; If you edit it by hand, you could mess it up, so be careful.
116 ;; Your init file should contain only one such instance.
117 ;; If there is more than one, they won't work right.
118 '(ac-ispell-requires 4)
119 '(ahs-case-fold-search nil)
120 '(ahs-default-range (quote ahs-range-whole-buffer))
121 '(ahs-idle-interval 0.25)
122 '(ahs-idle-timer 0 t)
123 '(ahs-inhibit-face-list nil)
124 '(ring-bell-function (quote ignore) t)
125 '(send-mail-function (quote smtpmail-send-it)))
126(custom-set-faces
127 ;; custom-set-faces was added by Custom.
128 ;; If you edit it by hand, you could mess it up, so be careful.
129 ;; Your init file should contain only one such instance.
130 ;; If there is more than one, they won't work right.
131 )