| 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 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 | ;; Disable setting the cursor color according to states |
| 75 | dotspacemacs-colorize-cursor-according-to-state nil |
| 76 | ;; font |
| 77 | dotspacemacs-default-font '("Source Code Pro for Powerline" |
| 78 | :size 14 |
| 79 | :weight normal |
| 80 | :width normal |
| 81 | :powerline-scale 1.1) |
| 82 | ) |
| 83 | |
| 84 | ;; Initialization Hooks |
| 85 | ;; -------------------- |
| 86 | |
| 87 | (defun dotspacemacs/init () |
| 88 | "User initialization for Spacemacs. This function is called at the very |
| 89 | startup." |
| 90 | ) |
| 91 | |
| 92 | (defun dotspacemacs/config () |
| 93 | "This is were you can ultimately override default Spacemacs configuration. |
| 94 | This function is called at the very end of Spacemacs initialization." |
| 95 | (setq powerline-default-separator nil) |
| 96 | (setq TeX-PDF-mode t |
| 97 | Tex-command-default 'TeX) |
| 98 | ) |
| 99 | |
| 100 | ;; Custom variables |
| 101 | ;; ---------------- |
| 102 | |
| 103 | ;; Do not write anything in this section. This is where Emacs will |
| 104 | ;; auto-generate custom variable definitions. |
| 105 | |
| 106 | |
| 107 | (custom-set-variables |
| 108 | ;; custom-set-variables was added by Custom. |
| 109 | ;; If you edit it by hand, you could mess it up, so be careful. |
| 110 | ;; Your init file should contain only one such instance. |
| 111 | ;; If there is more than one, they won't work right. |
| 112 | '(ac-ispell-requires 4) |
| 113 | '(ahs-case-fold-search nil) |
| 114 | '(ahs-default-range (quote ahs-range-whole-buffer)) |
| 115 | '(ahs-idle-interval 0.25) |
| 116 | '(ahs-idle-timer 0 t) |
| 117 | '(ahs-inhibit-face-list nil) |
| 118 | '(ring-bell-function (quote ignore) t) |
| 119 | '(send-mail-function (quote smtpmail-send-it))) |
| 120 | (custom-set-faces |
| 121 | ;; custom-set-faces was added by Custom. |
| 122 | ;; If you edit it by hand, you could mess it up, so be careful. |
| 123 | ;; Your init file should contain only one such instance. |
| 124 | ;; If there is more than one, they won't work right. |
| 125 | ) |