Created
October 29, 2015 12:09
-
-
Save meditans/aee5cfd296a83eb9b877 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; -*- mode: emacs-lisp -*- | |
(defun dotspacemacs/layers () | |
(setq-default | |
dotspacemacs-distribution 'spacemacs | |
dotspacemacs-configuration-layer-path '() | |
dotspacemacs-configuration-layers '( | |
emacs-lisp | |
git github version-control | |
latex org markdown | |
spell-checking syntax-checking | |
ranger | |
(shell :variables | |
shell-default-shell 'eshell | |
shell-enable-smart-eshell t) | |
haskell | |
dotspacemacs-additional-packages '(togetherly) | |
dotspacemacs-excluded-packages '() | |
dotspacemacs-delete-orphan-packages t)) | |
(defun dotspacemacs/init () | |
"Initialization function. | |
This function is called at the very startup of Spacemacs | |
initialization before layers configuration. You should not put | |
any user code in there besides modifying the variable values." | |
(setq-default | |
dotspacemacs-editing-style 'vim | |
dotspacemacs-verbose-loading nil | |
dotspacemacs-startup-banner 'official | |
dotspacemacs-startup-lists nil | |
dotspacemacs-themes '(spacemacs-light spacemacs-dark) | |
dotspacemacs-colorize-cursor-according-to-state t | |
dotspacemacs-default-font '("Source Code Pro" | |
:size 23 | |
:weight normal | |
:width normal | |
:powerline-scale 1.1) | |
dotspacemacs-leader-key "SPC" | |
dotspacemacs-emacs-leader-key "M-m" | |
dotspacemacs-major-mode-leader-key "," | |
dotspacemacs-major-mode-emacs-leader-key "C-M-m" | |
dotspacemacs-command-key ":" | |
dotspacemacs-remap-Y-to-y$ t | |
dotspacemacs-auto-save-file-location 'cache | |
dotspacemacs-use-ido nil | |
dotspacemacs-helm-resize nil | |
dotspacemacs-helm-no-header nil | |
dotspacemacs-helm-position 'bottom | |
dotspacemacs-enable-paste-micro-state t | |
dotspacemacs-which-key-delay 0.4 | |
dotspacemacs-which-key-position 'bottom | |
dotspacemacs-loading-progress-bar t | |
dotspacemacs-fullscreen-at-startup nil | |
dotspacemacs-fullscreen-use-non-native nil | |
dotspacemacs-maximized-at-startup t | |
dotspacemacs-active-transparency 90 | |
dotspacemacs-inactive-transparency 90 | |
dotspacemacs-mode-line-unicode-symbols t | |
dotspacemacs-smooth-scrolling t | |
dotspacemacs-smartparens-strict-mode nil | |
dotspacemacs-highlight-delimiters 'all | |
dotspacemacs-persistent-server nil | |
dotspacemacs-search-tools '("ag" "pt" "ack" "grep") | |
dotspacemacs-default-package-repository nil | |
) | |
) | |
(defun dotspacemacs/user-init () | |
"Initialization function for user code. It is called immediately | |
after `dotspacemacs/init'. You are free to put any user code.") | |
(defun dotspacemacs/user-config () | |
(setq flycheck-indication-mode nil) | |
(require 'togetherly) | |
(push 'haskell-mode page-break-lines-modes) | |
(global-page-break-lines-mode) | |
(spacemacs/toggle-golden-ratio-on) | |
(defun eshell/clear () "Clear the eshell buffer." | |
(let ((inhibit-read-only t)) (erase-buffer))) | |
) | |
;; Do not write anything past this comment. This is where Emacs will | |
;; auto-generate custom variable definitions. | |
(custom-set-variables | |
;; custom-set-variables was added by Custom. | |
;; If you edit it by hand, you could mess it up, so be careful. | |
;; Your init file should contain only one such instance. | |
;; If there is more than one, they won't work right. | |
'(paradox-github-token t)) | |
(custom-set-faces | |
;; custom-set-faces was added by Custom. | |
;; If you edit it by hand, you could mess it up, so be careful. | |
;; Your init file should contain only one such instance. | |
;; If there is more than one, they won't work right. | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment