Skip to content

Instantly share code, notes, and snippets.

@vv111y
Created February 11, 2019 15:57
Show Gist options
  • Save vv111y/fc83a99e9528bff96ed8bc3d2edb3c0a to your computer and use it in GitHub Desktop.
Save vv111y/fc83a99e9528bff96ed8bc3d2edb3c0a to your computer and use it in GitHub Desktop.
;;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
;; -*- mode: emacs-lisp -*-
;;; defun dotspacemacs/layers
(defun dotspacemacs/layers ()
"Configuration Layers declaration.
You should not put any user code in this function besides modifying the variable
values."
(setq-default
;; Base distribution to use. This is a layer contained in the directory
;; `+distribution'. For now available distributions are `spacemacs-base'
;; or `spacemacs'. (default 'spacemacs)
dotspacemacs-distribution 'spacemacs
;; List of additional paths where to look for configuration layers.
;; Paths must have a trailing slash (i.e. `~/.mycontribs/')
dotspacemacs-configuration-layer-path '()
;; List of configuration layers to load. If it is the symbol `all' instead
;; of a list then all discovered layers will be installed.
dotspacemacs-configuration-layers
'(
;; agda
(auto-completion :variables
auto-completion-enable-help-tooltip 'manual
auto-completion-enable-snippets-in-popup t
auto-completion-enable-sort-by-usage t)
ansible
better-defaults
bibtex
(c-c++ :variables c-c++-enable-clang-support t)
chrome
(clojure :variables clojure-enable-fancify-symbols t)
(cmake :variables cmake-enable-cmake-ide-support t)
command-log
common-lisp
copy-as-format
coq
cscope
csv
dap
dash
debug
deft
docker
;; emacs-jupyter
emacs-lisp
erc
(ess :variables
ess-use-auto-complete t
ess-use-eldoc t
ess-ask-about-transfile nil)
fasd
finance
git
github
go
gpu
(haskell :variables haskell-completion-backend 'intero)
helm
html
hy
ibuffer
imenu-list
ipython-notebook
java
(javascript :variables
;; javascript-disable-tern-port-files nil
;; js2-basic-offset 2
;; js-indent-level 2
;; node-add-modules-path t
)
(julia :variables
;; julia-mode-enable-ess nil
julia-mode-enable-lsp t)
(latex :variables
latex-enable-folding t
latex-enable-auto-fill t
latex-build-command "LatexMk"
latex-enable-magic t)
lua
lsp
(markdown :variables markdown-live-preview-engine 'vmd)
(multiple-cursors :variables multiple-cursors-backend 'evil-mc)
nim
ocaml
(osx :variables osx-use-option-as-meta t)
(org :variables
org-enable-github-support t
org-enable-reveal-js-support t
org-enable-bootstrap-support t
org-enable-hugo-support t
org-startup-indented t
org-startup-folded t)
outshine
pandoc
pdf
php
prodigy
(python :variables python-backend 'lsp)
racket
ranger
(rust :variables rust-format-on-save t)
(scala :variables
scala-auto-insert-asterisk-in-comments t
scala-enable-eldoc t
scala-indent:use-javadoc-style t)
scheme
search-engine
;; (semantic :disabled-for emacs-lisp)
(spell-checking :variables spell-checking-enable-by-default nil)
spacemacs-jupyter
sql
syntax-checking
(shell :variables
shell-default-height 30
shell-default-position 'right)
shell-scripts
themes-megapack
tmux
(treemacs :variables
treemacs-use-follow-mode t
treemacs-use-filewatch-mode t)
vagrant
version-control
yaml
zotero
)
;;;; additional packages
;; List of additional packages that will be installed without being
;; wrapped in a layer. If you need some configuration for these
;; packages, then consider creating a layer. You can also put the
;; configuration in `dotspacemacs/user-config'.
;; To use a local version of a package, use the `:location' property:
;; '(your-package :location "~/path/to/your-package/")
;; Also include the dependencies as they will not be resolved automatically.
dotspacemacs-additional-packages '(evil-vimish-fold solidity-mode cdlatex spotlight org-super-agenda ox-hugo ob-ipython company-box forge org-pdfview org-noter org-web-tools helm-github-stars poet-theme)
;; A list of packages that cannot be updated.
dotspacemacs-frozen-packages '()
;; A list of packages that will not be installed and loaded.
dotspacemacs-excluded-packages '(vi-tilde-fringe adaptive-wrap importmagic)
;; Defines the behaviour of Spacemacs when installing packages.
;; Possible values are `used-only', `used-but-keep-unused' and `all'.
;; `used-only' installs only explicitly used packages and deletes any unused
;; packages as well as their unused dependencies. `used-but-keep-unused'
;; installs only the used packages but won't delete unused ones. `all'
;; installs *all* packages supported by Spacemacs and never uninstalls them.
;; (default is `used-only')
dotspacemacs-install-packages 'used-only))
;;; defun dotspacemacs/init
(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."
;; This setq-default sexp is an exhaustive list of all the supported
;; spacemacs settings.
(setq-default
;; If non-nil then enable support for the portable dumper. You'll need
;; to compile Emacs 27 from source following the instructions in file
;; EXPERIMENTAL.org at to root of the git repository.
;; (default nil)
dotspacemacs-enable-emacs-pdumper nil
;; File path pointing to emacs 27.1 executable compiled with support
;; for the portable dumper (this is currently the branch pdumper).
;; (default "emacs-27.0.50")
dotspacemacs-emacs-pdumper-executable-file "emacs-27.0.50"
;; Name of the Spacemacs dump file. This is the file will be created by the
;; portable dumper in the cache directory under dumps sub-directory.
;; To load it when starting Emacs add the parameter `--dump-file'
;; when invoking Emacs 27.1 executable on the command line, for instance:
;; ./emacs --dump-file=~/.emacs.d/.cache/dumps/spacemacs.pdmp
;; (default spacemacs.pdmp)
dotspacemacs-emacs-dumper-dump-file "spacemacs.pdmp"
;; If non-nil ELPA repositories are contacted via HTTPS whenever it's
;; possible. Set it to nil if you have no way to use HTTPS in your
;; environment, otherwise it is strongly recommended to let it set to t.
;; This variable has no effect if Emacs is launched with the parameter
;; `--insecure' which forces the value of this variable to nil.
;; (default t)
dotspacemacs-elpa-https t
;; Maximum allowed time in seconds to contact an ELPA repository.
;; (default 5)
dotspacemacs-elpa-timeout 5
;; Set `gc-cons-threshold' and `gc-cons-percentage' when startup finishes.
;; This is an advanced option and should not be changed unless you suspect
;; performance issues due to garbage collection operations.
;; (default '(100000000 0.1))
dotspacemacs-gc-cons '(100000000 0.1)
;; If non-nil then Spacelpa repository is the primary source to install
;; a locked version of packages. If nil then Spacemacs will install the
;; latest version of packages from MELPA. (default nil)
dotspacemacs-use-spacelpa nil
;; If non-nil then verify the signature for downloaded Spacelpa archives.
;; (default nil)
dotspacemacs-verify-spacelpa-archives nil
;; If non-nil then spacemacs will check for updates at startup
;; when the current branch is not `develop'. Note that checking for
;; new versions works via git commands, thus it calls GitHub services
;; whenever you start Emacs. (default nil)
dotspacemacs-check-for-update nil
;; If non-nil, a form that evaluates to a package directory. For example, to
;; use different package directories for different Emacs versions, set this
;; to `emacs-version'. (default 'emacs-version)
dotspacemacs-elpa-subdirectory 'emacs-version
;; One of `vim', `emacs' or `hybrid'.
;; `hybrid' is like `vim' except that `insert state' is replaced by the
;; `hybrid state' with `emacs' key bindings. The value can also be a list
;; with `:variables' keyword (similar to layers). Check the editing styles
;; section of the documentation for details on available variables.
;; (default 'vim)
dotspacemacs-editing-style 'vim
;; If non-nil output loading progress in `*Messages*' buffer. (default nil)
dotspacemacs-verbose-loading nil
;; Specify the startup banner. Default value is `official', it displays
;; the official spacemacs logo. An integer value is the index of text
;; banner, `random' chooses a random text banner in `core/banners'
;; directory. A string value must be a path to an image format supported
;; by your Emacs build.
;; If the value is nil then no banner is displayed. (default 'official)
dotspacemacs-startup-banner 'official
;; List of items to show in startup buffer or an association list of
;; the form `(list-type . list-size)`. If nil then it is disabled.
;; Possible values for list-type are:
;; `recents' `bookmarks' `projects' `agenda' `todos'.
;; List sizes may be nil, in which case
;; `spacemacs-buffer-startup-lists-length' takes effect.
dotspacemacs-startup-lists '((recents . 5)
(projects . 7))
;; True if the home buffer should respond to resize events. (default t)
dotspacemacs-startup-buffer-responsive t
;; Default major mode of the scratch buffer (default `text-mode')
dotspacemacs-scratch-mode 'text-mode
;; Initial message in the scratch buffer, such as "Welcome to Spacemacs!"
;; (default nil)
dotspacemacs-initial-scratch-message nil
;; List of themes, the first of the list is loaded when spacemacs starts.
;; Press `SPC T n' to cycle to the next theme in the list (works great
;; with 2 themes variants, one dark and one light)
dotspacemacs-themes '(sanityinc-tomorrow-bright
spacemacs-dark
sanityinc-tomorrow-eighties
sanityinc-tomorrow-night
seti
leuven
tsdh-light
whiteboard
soft-morning
ritchie
professional
occidental
;; solarized-dark
)
;; If non nil the cursor color matches the state color in GUI Emacs.
dotspacemacs-colorize-cursor-according-to-state t
;; Default font, or prioritized list of fonts. `powerline-scale' allows to
;; quickly tweak the mode-line size to make separators look not too crappy.
dotspacemacs-default-font '("Mensch for Powerline"
:size 11
:width normal
;; :weight ExtraLight
:powerline-scale 1.1
)
;; The leader key
dotspacemacs-leader-key "SPC"
;; The key used for Emacs commands `M-x' (after pressing on the leader key).
;; (default "SPC")
dotspacemacs-emacs-command-key "SPC"
;; The key used for Vim Ex commands (default ":")
dotspacemacs-ex-command-key ":"
;; The leader key accessible in `emacs state' and `insert state'
;; (default "M-m")
dotspacemacs-emacs-leader-key "M-m"
;; Major mode leader key is a shortcut key which is the equivalent of
;; pressing `<leader> m`. Set it to `nil` to disable it. (default ",")
dotspacemacs-major-mode-leader-key ","
;; Major mode leader key accessible in `emacs state' and `insert state'.
;; (default "C-M-m")
dotspacemacs-major-mode-emacs-leader-key "C-M-m"
;; These variables control whether separate commands are bound in the GUI to
;; the key pairs `C-i', `TAB' and `C-m', `RET'.
;; Setting it to a non-nil value, allows for separate commands under `C-i'
;; and TAB or `C-m' and `RET'.
;; In the terminal, these pairs are generally indistinguishable, so this only
;; works in the GUI. (default nil)
dotspacemacs-distinguish-gui-tab nil
;; If non-nil `Y' is remapped to `y$' in Evil states. (default nil)
dotspacemacs-remap-Y-to-y$ nil
;; If non-nil, the shift mappings `<' and `>' retain visual state if used
;; there. (default t)
dotspacemacs-retain-visual-state-on-shift t
;; If non-nil, `J' and `K' move lines up and down when in visual mode.
;; (default nil)
dotspacemacs-visual-line-move-text t
;; If non-nil, inverse the meaning of `g' in `:substitute' Evil ex-command.
;; (default nil)
dotspacemacs-ex-substitute-global nil
;; Name of the default layout (default "Default")
dotspacemacs-default-layout-name "Default"
;; If non-nil the default layout name is displayed in the mode-line.
;; (default nil)
dotspacemacs-display-default-layout nil
;; If non-nil then the last auto saved layouts are resumed automatically upon
;; start. (default nil)
dotspacemacs-auto-resume-layouts nil
;; If non-nil, auto-generate layout name when creating new layouts. Only has
;; effect when using the "jump to layout by number" commands. (default nil)
dotspacemacs-auto-generate-layout-names nil
;; Size (in MB) above which spacemacs will prompt to open the large file
;; literally to avoid performance issues. Opening a file literally means that
;; no major mode or minor modes are active. (default is 1)
dotspacemacs-large-file-size 1
;; Location where to auto-save files. Possible values are `original' to
;; auto-save the file in-place, `cache' to auto-save the file to another
;; file stored in the cache directory and `nil' to disable auto-saving.
;; (default 'cache)
dotspacemacs-auto-save-file-location 'cache
;; Maximum number of rollback slots to keep in the cache. (default 5)
dotspacemacs-max-rollback-slots 5
;; If non-nil, `helm' will try to minimize the space it uses. (default nil)
dotspacemacs-helm-resize nil
;; if non-nil, the helm header is hidden when there is only one source.
;; (default nil)
dotspacemacs-helm-no-header nil
;; define the position to display `helm', options are `bottom', `top',
;; `left', or `right'. (default 'bottom)
dotspacemacs-helm-position 'bottom
;; Controls fuzzy matching in helm. If set to `always', force fuzzy matching
;; in all non-asynchronous sources. If set to `source', preserve individual
;; source settings. Else, disable fuzzy matching in all sources.
;; (default 'always)
dotspacemacs-helm-use-fuzzy 'always
;; If non-nil, the paste transient-state is enabled. While enabled, pressing
;; `p' several times cycles through the elements in the `kill-ring'.
;; (default nil)
dotspacemacs-enable-paste-transient-state nil
;; Which-key delay in seconds. The which-key buffer is the popup listing
;; the commands bound to the current keystroke sequence. (default 0.4)
dotspacemacs-which-key-delay 0.4
;; Which-key frame position. Possible values are `right', `bottom' and
;; `right-then-bottom'. right-then-bottom tries to display the frame to the
;; right; if there is insufficient space it displays it at the bottom.
;; (default 'bottom)
dotspacemacs-which-key-position 'bottom
;; Control where `switch-to-buffer' displays the buffer. If nil,
;; `switch-to-buffer' displays the buffer in the current window even if
;; another same-purpose window is available. If non-nil, `switch-to-buffer'
;; displays the buffer in a same-purpose window even if the buffer can be
;; displayed in the current window. (default nil)
dotspacemacs-switch-to-buffer-prefers-purpose nil
;; If non-nil a progress bar is displayed when spacemacs is loading. This
;; may increase the boot time on some systems and emacs builds, set it to
;; nil to boost the loading time. (default t)
dotspacemacs-loading-progress-bar t
;; If non-nil the frame is fullscreen when Emacs starts up. (default nil)
;; (Emacs 24.4+ only)
dotspacemacs-fullscreen-at-startup nil
;; If non-nil `spacemacs/toggle-fullscreen' will not use native fullscreen.
;; Use to disable fullscreen animations in OSX. (default nil)
dotspacemacs-fullscreen-use-non-native nil
;; If non-nil the frame is maximized when Emacs starts up.
;; Takes effect only if `dotspacemacs-fullscreen-at-startup' is nil.
;; (default nil) (Emacs 24.4+ only)
dotspacemacs-maximized-at-startup nil
;; A value from the range (0..100), in increasing opacity, which describes
;; the transparency level of a frame when it's active or selected.
;; Transparency can be toggled through `toggle-transparency'. (default 90)
dotspacemacs-active-transparency 100
;; A value from the range (0..100), in increasing opacity, which describes
;; the transparency level of a frame when it's inactive or deselected.
;; Transparency can be toggled through `toggle-transparency'. (default 90)
dotspacemacs-inactive-transparency 90
;; If non-nil show the titles of transient states. (default t)
dotspacemacs-show-transient-state-title t
;; If non-nil show the color guide hint for transient state keys. (default t)
dotspacemacs-show-transient-state-color-guide t
;; If non-nil unicode symbols are displayed in the mode line.
;; If you use Emacs as a daemon and wants unicode characters only in GUI set
;; the value to quoted `display-graphic-p'. (default t)
dotspacemacs-mode-line-unicode-symbols t
;; added Mar7-18 due to dotfile report error
dotspacemacs-mode-line-theme 'spacemacs
;; If non nil smooth scrolling (native-scrolling) is enabled. Smooth
;; scrolling overrides the default behavior of Emacs which recenters the
;; point when it reaches the top or bottom of the screen. (default t)
dotspacemacs-smooth-scrolling t
;; Control line numbers activation.
;; If set to `t' or `relative' line numbers are turned on in all `prog-mode' and
;; `text-mode' derivatives. If set to `relative', line numbers are relative.
;; This variable can also be set to a property list for finer control:
;; '(:relative nil
;; :disabled-for-modes dired-mode
;; doc-view-mode
;; markdown-mode
;; org-mode
;; pdf-view-mode
;; text-mode
;; :size-limit-kb 1000)
;; (default nil)
dotspacemacs-line-numbers '(:relative t
:disabled-for-modes
dired-mode
doc-view-mode
org-mode
pdf-view-mode
text-mode
:size-limit-kb 1000)
;; Code folding method. Possible values are `evil' and `origami'.
;; (default 'evil)
dotspacemacs-folding-method 'evil
;; If non-nil `smartparens-strict-mode' will be enabled in programming modes.
;; (default nil)
dotspacemacs-smartparens-strict-mode nil
;; If non-nil pressing the closing parenthesis `)' key in insert mode passes
;; over any automatically added closing parenthesis, bracket, quote, etc…
;; This can be temporary disabled by pressing `C-q' before `)'. (default nil)
dotspacemacs-smart-closing-parenthesis nil
;; Select a scope to highlight delimiters. Possible values are `any',
;; `current', `all' or `nil'. Default is `all' (highlight any scope and
;; emphasis the current one). (default 'all)
dotspacemacs-highlight-delimiters 'all
;; If non-nil, start an Emacs server if one is not already running.
;; (default nil)
dotspacemacs-enable-server t
;; Set the emacs server socket location.
;; If nil, uses whatever the Emacs default is, otherwise a directory path
;; like \"~/.emacs.d/server\". It has no effect if
;; `dotspacemacs-enable-server' is nil.
;; (default nil)
dotspacemacs-server-socket-dir "~/.emacs.d/server"
;; If non-nil, advise quit functions to keep server open when quitting.
;; (default nil)
dotspacemacs-persistent-server nil
;; List of search tool executable names. Spacemacs uses the first installed
;; tool of the list. Supported tools are `rg', `ag', `pt', `ack' and `grep'.
;; (default '("rg" "ag" "pt" "ack" "grep"))
dotspacemacs-search-tools '("rg" "ag" "pt" "ack" "grep")
;; The default package repository used if no explicit repository has been
;; specified with an installed package.
;; Not used for now. (default nil)
dotspacemacs-default-package-repository nil
;; Delete whitespace while saving buffer. Possible values are `all'
;; to aggressively delete empty line and long sequences of whitespace,
;; `trailing' to delete only the whitespace at end of lines, `changed' to
;; delete only whitespace for changed lines or `nil' to disable cleanup.
;; (default nil)
dotspacemacs-whitespace-cleanup nil
;; Either nil or a number of seconds. If non-nil zone out after the specified
;; number of seconds. (default nil)
dotspacemacs-zone-out-when-idle nil
;; Run `spacemacs/prettify-org-buffer' when
;; visiting README.org files of Spacemacs.
;; (default nil)
dotspacemacs-pretty-docs nil))
;;; defun dotspacemacs/user-env
(defun dotspacemacs/user-env ()
"Environment variables setup.
This function defines the environment variables for your Emacs session. By
default it calls `spacemacs/load-spacemacs-env' which loads the environment
variables declared in `~/.spacemacs.env' or `~/.spacemacs.d/.spacemacs.env'.
See the header of this file for more information."
(spacemacs/load-spacemacs-env))
;;; defun dotspacemacs/user-init
(defun dotspacemacs/user-init ()
"Initialization function for user code.
It is called immediately after `dotspacemacs/init', before layer configuration
executes.
This function is mostly useful for variables that need to be set
before packages are loaded. If you are unsure, you should try in setting them in
`dotspacemacs/user-config' first."
;; (setq explicit-shell-file-name "/bin/zsh") ;; 3/24/18 https://github.com/syl20bnr/spacemacs/issues/4755
;; (setq shell-file-name "zsh")
;; (setq explicit-shell-file-name "/bin/bash") ;; 3/24/18 https://github.com/syl20bnr/spacemacs/issues/4755
;; (setq shell-file-name "bash")
(push '("melpa-stable" . "stable.melpa.org/packages/") configuration-layer-elpa-archives)
(push '(ensime . "melpa-stable") package-pinned-packages)
(setenv "WORKON_HOME" "~/anaconda3/envs")
)
(defun dotspacemacs/user-load ()
"Library to load while dumping.
This function is called only while dumping Spacemacs configuration. You can
`require' or `load' the libraries of your choice that will be included in the
dump."
)
;;; defun dotspacemacs/user-config
(defun dotspacemacs/user-config ()
"Configuration function for user code.
This function is called at the very end of Spacemacs initialization after
layers configuration.
This is the place where most of your configurations should be done. Unless it is
explicitly specified that a variable should be set before a package is loaded,
you should place your code here."
;;;; HACKS, WORKAROUNDS and KEYBINDINGS
(setq line-move-ignore-invisible t) ;; whenever iedit mode screws up movement, do this
(require 'solidity-mode)
;; April19-17 temp fix, bug here https://github.com/syl20bnr/spacemacs/issues/8027
(require 'ansible-doc)
;; may2-17 elisp feeze autocompletion fix. Also causes prob with spaceline
(setq purpose-mode nil)
;; jan 29-17 try to fix issue with org capture
(setq persp-kill-foreign-buffer-action nil)
;; recentf file lock problem Nov9-17, see https://github.com/syl20bnr/spacemacs/issues/5186
(setq recentf-save-file (format "/tmp/recentf.%s" (emacs-pid)))
;; treemacs + helm prob oct2-18, see itlog
(with-eval-after-load "helm"
(defun helm-persistent-action-display-window (&optional split-onewindow)
"Return the window that will be used for persistent action.
If SPLIT-ONEWINDOW is non-`nil' window is split in persistent action."
(with-helm-window
(setq helm-persistent-action-display-window (get-mru-window)))))
;;;;; custom set faces mine
;; Dec28-8 here since emacs/spaceamacs removes it everywhere else
(custom-set-faces
'(region ((t (:background "#093810"))))
'(hl-line ((t (:background "#08082A"))))
;; (set-face-background 'hl-line "#101010") ;; started dec30-17
'(highlight ((t (:background "#01011A"))))
'(tooltip ((t (:background "#000000" :foreground "#e7c547" :inverse-video nil))))
'(company-tooltip ((t (:background "gray6"))))
'(company-tooltip-annotation ((t (:inherit company-tooltip :foreground "wheat2"))))
'(company-tooltip-common ((t (:inherit company-tooltip :foreground "goldenrod1"))))
'(company-tooltip-common-selection ((t (:inherit company-tooltip-selection :foreground "PaleVioletRed2"))))
'(company-quickhelp-color-background ((t (:background "gray6"))))
'(lsp-ui-doc-background ((t (:background "#001100"))))
'(jupyter-repl-traceback ((t (:background "#2f000f"))))
'(popup-tip-face ((t (:background "gray6" :foreground "light green"))))
'(ein:cell-input-area ((t (:background "#01010A"))))
'(magit-section ((t (:background "#010108"))))
'(magit-blame-highlight ((t (:background "gray6"))))
'(magit-section-highlight ((t (:background "#010108"))))
;; '(magit-diff-file-heading-highlight ((t (:background "#010199"))))
'(magit-section-highlight ((t (:background "#01010E"))))
'(magit-diff-highlight-heading ((t (:background "#01011A"))))
'(magit-diff-added-highlight ((t (:background "#010A1A"))))
'(magit-diff-removed-highlight ((t (:background "#1A0103"))))
'(magit-diff-context-highlight ((t (:background "#010108"))))
'(magit-diff-hunk-heading ((t (:background "#01011A"))))
'(magit-diff-hunk-heading-highlight ((t (:background "#01015A"))))
'(magit-hunk-section ((t (:background "#010108"))))
'(magit-hunk-heading ((t (:background "#0101AA"))))
)
;;;; PYTHON
;; sep4, trying https://github.com/syl20bnr/spacemacs/issues/10145
;; (require 'pyvenv)
;; (pyvenv-activate DIRECTORY)
;; Dec 12-18 breaking changes, need below for lsp-mode
;; (require 'lsp)
;; (require 'lsp-clients)
;; (add-hook 'python-mode-hook 'lsp)
(setq lsp-message-project-root-warning t)
;; (spacemacs/lsp-bind-keys-for-mode 'python-mode)
;; (spacemacs/set-leader-keys-for-major-mode 'python-mode "=" nil)
;; (spacemacs/set-leader-keys-for-major-mode 'python-mode "l" nil)
(spacemacs/set-leader-keys-for-major-mode 'python-mode "L" 'live-py-mode)
;; (add-hook 'python-mode-hook #'(lambda () (spacemacs/lsp-bind-keys-for-mode 'python-mode)))
;; https://github.com/jorgenschaefer/elpy/issues/733
;; (setq python-shell-unbuffered nil)
;; Apr 7, 2018
;; https://emacs.stackexchange.com/questions/30082/your-python-shell-interpreter-doesn-t-seem-to-support-readline
;; https://github.com/jorgenschaefer/elpy/issues/887
;; (setq python-shell-completion-native-enable nil)
;; (with-eval-after-load 'python
;; (defun python-shell-completion-native-try ()
;; "Return non-nil if can trigger native completion."
;; (let ((python-shell-completion-native-enable t)
;; (python-shell-completion-native-output-timeout
;; python-shell-completion-native-try-output-timeout))
;; (python-shell-completion-native-get-completions
;; (get-buffer-process (current-buffer))
;; nil "_"))))
;; Apr24-18. https://emacs.stackexchange.com/questions/24453/weird-shell-output-when-using-ipython-5/24572#24572, https://github.com/syl20bnr/spacemacs/issues/5544
;; (setq python-shell-interpreter "/Users/Will/anaconda3/bin/ipython"
;; python-shell-interpreter-args "--simple-prompt -i")
;; (add-hook 'inferior-python-mode-hook
;; (lambda ()
;; (setq company-mode nil)))
;; hack for semantic too long parse in elisp mar8-18 see https://github.com/company-mode/company-mode/issues/525 . disabling semantic for emacs-lisp, see above in layers
;;;; hack for single column multi-line multiple cursor in evil-mc. Aug3-17
;; (global-evil-mc-mode 1)
(defun col-at-point (point)
(save-excursion (goto-char point) (current-column)))
(defun evil--mc-make-cursor-at-col-append (_startcol endcol orig-line)
(end-of-line)
(when (> endcol (current-column))
(insert-char ?\s (- endcol (current-column))))
(move-to-column (- endcol 1))
(unless (= (line-number-at-pos) orig-line)
(evil-mc-make-cursor-here)))
(defun evil--mc-make-cursor-at-col-insert (startcol _endcol orig-line)
(end-of-line)
(move-to-column startcol)
(unless (or (= (line-number-at-pos) orig-line) (> startcol (current-column)))
(evil-mc-make-cursor-here)))
(defun evil--mc-make-vertical-cursors (beg end func)
(evil-mc-pause-cursors)
(apply-on-rectangle func
beg end (line-number-at-pos (point)))
(evil-mc-resume-cursors)
(evil-normal-state))
(defun evil-mc-insert-vertical-cursors (beg end)
(interactive (list (region-beginning) (region-end)))
(evil--mc-make-vertical-cursors beg end 'evil--mc-make-cursor-at-col-insert)
(move-to-column (min (col-at-point beg) (col-at-point end))))
(defun evil-mc-append-vertical-cursors (beg end)
(interactive (list (region-beginning) (region-end)))
(evil--mc-make-vertical-cursors beg end 'evil--mc-make-cursor-at-col-append)
(move-to-column (- (max (col-at-point beg) (col-at-point end)) 1)))
(evil-define-key 'visual global-map "gI" 'evil-mc-insert-vertical-cursors)
(evil-define-key 'visual global-map "gA" 'evil-mc-append-vertical-cursors)
;;;; GENERAL SETTINGS
(set-frame-parameter (selected-frame) 'alpha '(85 85)) ;; Window transparency
;; (add-to-list 'default-frame-alist '(alpha 85 85))
(setq helm-use-frame-when-more-than-two-windows nil) ;; mar8-18 helm package fault
(with-current-buffer "*scratch*"
(emacs-lock-mode 'kill)) ;; protect scratch buffer accidental delete
(setq delete-by-moving-to-trash t) ; use brew trash command
(define-key evil-insert-state-map (kbd "C-;") 'sp-up-sexp) ;; jump out of surround
(global-set-key (kbd "H-h") 'ns-do-hide-emacs)
(spacemacs/set-leader-keys "bNe" '(lambda ()
(interactive) (progn
(let ((newbuf (generate-new-buffer "elisp-scratch")))
(switch-to-buffer newbuf nil 'force-same-window)
(setq-local buffer-offer-save t)
(emacs-lisp-mode)))))
(add-hook 'after-init-hook 'global-company-mode) ;; jun5-17
(setq company-tooltip-align-annotations nil)
(setq company-selection-wrap-around t)
(setq company-lsp-cache-candidates 'auto) ;; 13/9/18
;; (add-to-list 'load-path "~/.local/share/icons-in-terminal/") ;; Dec26-18
(setq lsp-ui-peek-enable t) ;; 14/9/18
;; disabled 13/9/18 may not need
;; (eval-after-load "company"
;; '(add-to-list 'company-backends 'company-anaconda))
(setq powerline-default-separator 'curve)
(setq imenu-list-position 'left)
(setq imenu-auto-rescan t) ;; oct8-18
(treemacs-resize-icons 11) ;; oct4-18
;; (fringe-mode '(0 . 0)) ;; Dec-17
(setq evil-move-cursor-back nil) ;; jun6-17
(setq linum-format "%d ")
(setq linum-relative-format "%3s ")
;; (setq helm-dash-docset-newpath "~/Library/Application Support/Dash/DocSets")
;; trying latex live code Apr8-18
;; (require 'posframe)
;; (load "~/.emacs.d/private/katex/katex.el")
;; (add-to-list 'load-path "~/.emacs.d/private")
;;;;; ranger
(setq ranger-cleanup-on-disable t)
(setq ranger-show-hidden t)
(setq ranger-ignored-extensions '("mkv" "iso" "mp4"))
(setq ranger-max-preview-size 10)
;;;;; magit & related
;; (setq magit-repository-directories )
;; (setq helm-github-stars-username )
;; (setq helm-github-stars-refetch-time 0.5)
;; (setq helm-github-stars-cache-file )
;;;;; encryption, terminal, major modes
(setq epg-gpg-program "gpg2")
(setf epa-pinentry-mode 'loopback)
;; (setq org-crypt-key ) ;; oct2-18
;; fix encoding for terminal
(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
(prefer-coding-system 'utf-8)
;; major modes configs
(add-hook 'doc-view-mode-hook 'auto-revert-mode)
(add-hook 'tex-mode-hook 'zotelo-minor-mode)
;; (add-hook 'python-mode-hook 'anaconda-mode) ;; jul3-17
(setq-default flycheck-scalastylerc "/usr/local/etc/scalastyle_config.xml") ;; scala sep7-17
;; which common lisp for repl
;; (setq inferior-lisp-program "~/clasp/build/clasp")
(setq inferior-lisp-program "sbcl")
;; setup pdfview for annotations, etc
(eval-after-load 'pdfview '(define-key pdf-view-mouse-set-region ))
(add-hook 'pdfview (lambda () (setq-local linum-mode nil)))
;;;;; latex
(setq bibtex-dialect 'biblatex)
(setq bibtex-completion-pdf-field "file") ;; feb5-19 to find pdf file location from .bib
(setq tex-parse-self t) ;; enable parse on load.
(setq tex-auto-save t) ;; enable parse on save.
(set-default 'preview-scale-function 1.6) ;; preview default rendering is small 16-12-18
(setq eclim-eclipse-dirs "/applications/"
eclim-executable "/applications/eclipse.app/contents/eclipse/eclimd")
;;;;; ess
;; ess mode read-only bug, using this fix from ess issue#300 open 3-16, my edit 2-17
(add-hook 'inferior-ess-mode-hook (lambda () (setq-local comint-use-prompt-regexp nil)))
(add-hook 'inferior-ess-mode-hook (lambda () (setq-local inhibit-field-text-motion nil)))
;;;;; ein
;; ein mode Dec30-17
(require 'ein)
;; (setq ein:jupyter-default-notebook-directory "~/DevAcademics/PythonNotebooks")
;; (setq ein:jupyter-default-server-command "~/anaconda3/bin/jupyter")
;; (add-hook 'ein:ipynb-mode-hook (lambda () (set-face-attribute 'ein:cell-input-area nil :background "#101010")))
(add-hook 'ein:notebook-mode-hook #'visual-line-mode)
(add-hook 'ein:ipynb-mode-hook #'visual-line-mode)
(add-hook 'ein:notebook-mode-hook #'anaconda-mode)
(setq ein:completion-backend 'ein:use-ac-jedi-backend) ;; April20-18
;; Feb21-18 ein mods, added jedi to packages too
(setq ein:use-auto-complete t)
(setq mumamo-background-colors nil)
;; (setq ein:completion-backend 'ein:use-ac-jedi-backend)
(setq ein:completion-backend 'ein:use-ac-backend)
;; mittlejohn init
;; (require 'ein-dev)
;; (require 'auto-complete)
;; (require 'jedi)
;; (add-hook 'ein:connect-mode-hook 'ein:jedi-setup)
;;;; ORGMODE
;; fix conflict is to wrap your =org= config code in a =with-eval-after-load= block
(with-eval-after-load 'org
;;;;; ORG HOOKS
(add-hook 'org-mode-hook (lambda () (spacemacs/toggle-line-numbers-off)) 'append)
(add-hook 'org-mode-hook (lambda () (setq truncate-lines 0)))
(add-hook 'evil-org-mode-hook (lambda () (evil-org-set-key-theme '(textobjects insert navigation additional shift todo)))) ;; jul7-17. updat disabled this, re-enable here
(add-hook 'text-mode-hook #'visual-line-mode)
;;;;; ORG REQUIRES
(require 'org-crypt)
(add-to-list 'load-path "~/.emacs.d/private/ox-ipynb") ;; Apr'18
(require 'ox-ipynb)
;; ORG capture / protocol
(require 'org-capture)
(require 'org-protocol) ;; May18'18, to get web clip capturing to work
(add-to-list 'org-modules 'org-protocol)
;; http://stackoverflow.com/questions/23517372/hook-or-advice-when-aborting-org-capture-before-template-selection
(defadvice org-capture
(after make-full-window-frame activate)
"Advise capture to be the only window when used as a popup"
(if (equal "emacs-capture" (frame-parameter nil 'name))
(delete-other-windows)))
(defadvice org-capture-finalize
(after delete-capture-frame activate)
"Advise capture-finalize to close the frame"
(if (equal "emacs-capture" (frame-parameter nil 'name))
(delete-frame)))
;;;;; ORG CONFIGS
(spacemacs/set-leader-keys-for-major-mode 'org-mode "v" 'evil-org-open-links)
(setq org-todo-keywords '((sequence "[.]" "[-]" "[?]" "|" "[x]" "[c]")))
(setq org-hierarchical-todo-statistics nil)
(setq org-use-speed-commands t)
(setq org-tags-column 2)
(setq org-export-with-tags nil) ;; export configs
(require 'ox-extra)
(ox-extras-activate '(ignore-headlines))
(setq org-priority-faces '((?a . (:foreground "red" :weight 'bold))
(?b . (:foreground "green" ))
(?c . (:foreground "grey"))))
(setq org-structure-template-alist
'(("n" . "notes")
("a" . "export ascii")
("c" . "center")
("C" . "comment")
("e" . "example")
("E" . "export")
("h" . "export html")
("l" . "export latex")
("q" . "quote")
("s" . "src")
("v" . "verse")))
;;;;; ORG paper writing
;; (setq org-ref-default-bibliography '() ;; added feb24-17
;; org-ref-pdf-directory
;; org-ref-bibliography-notes )
(setq org-latex-pdf-process
'("latexmk -pdflatex='pdflatex -interaction nonstopmode' -pdf -bibtex -f %f"))
;; Feb5-19 org-ref, helm-bibtex couldn't find pdfs for .bib entries
(defun my/org-ref-open-pdf-at-point ()
"Open the pdf for bibtex key under point if it exists."
(interactive)
(let* ((results (org-ref-get-bibtex-key-and-file))
(key (car results))
(pdf-file (car (bibtex-completion-find-pdf key))))
(if (file-exists-p pdf-file)
(org-open-file pdf-file)
(message "No PDF found for %s" key))))
(setq org-ref-open-pdf-function 'my/org-ref-open-pdf-at-point)
;; Feb5-19 get org-ref to open pdfs in emacs
(require 'org-pdfview)
;; https://lists.gnu.org/archive/html/emacs-orgmode/2016-11/msg00169.html
;; Before adding, remove it (to avoid clogging)
(delete '("\\.pdf\\'" . default) org-file-apps)
;; https://lists.gnu.org/archive/html/emacs-orgmode/2016-11/msg00176.html
(add-to-list 'org-file-apps
'("\\.pdf\\'" . (lambda (file link) (org-pdfview-open link))))
;;;;; org-babel fixes aug15-17
(setq org-confirm-babel-evaluate nil)
(require 'ob-ipython)
(setq ob-ipython-command "~/anaconda3/bin/jupyter") ;; https://github.com/gregsexton/ob-ipython/issues/135 25/6/18
;; https://github.com/gregsexton/ob-ipython/issues/43
(org-babel-do-load-languages
'org-babel-load-languages
'( (org . t) (emacs-lisp . t) (ipython . t) (R . t) (python . t)
(ein . t) (shell . t) (sqlite . t) (C . t) (clojure . t) (haskell . t)
(java . t) (ditaa . t) (scheme . t) (ocaml . t) (js . t) (jupyter . t)))
;; may2-18 hugo blog publishing
(use-package ox-hugo :ensure t :after ox)
;;;;; agenda config
(org-super-agenda-mode)
(setq org-agenda-files
'(
))
(setq org-agenda-span 14)
(setq org-agenda-text-search-extra-files org-agenda-skip-archived-trees)
(setq org-agenda-skip-deadline-if-done t)
(setq org-agenda-skip-scheduled-if-done t)
(setq org-agenda-include-diary t)
(setq org-super-agenda-groups '((:name "Today"
:time-grid)
(:auto-category t)))
(setq org-refile-targets '((nil :maxlevel . 2)
(org-agenda-files :maxlevel . 2)))
(setq org-outline-path-complete-in-steps nil) ; refile in a single go
(setq org-refile-use-outline-path t) ; show full paths for refiling
(add-hook 'after-init-hook 'org-agenda-list)
;;;;; org capture
(setq org-capture-templates
'())) ;; end org
) ;; USER-CONFIG
;;; customs
;; 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.
'(company-dabbrev-downcase nil)
'(company-dabbrev-ignore-case nil)
'(company-idle-delay 0.2)
'(company-minimum-prefix-length 2)
'(company-quickhelp-color-background "gray11")
'(company-quickhelp-color-foreground "dark red")
'(company-quickhelp-mode t)
'(company-require-match nil)
'(company-selection-wrap-around t)
'(company-statistics-mode t)
'(company-transformers
(quote
(spacemacs//company-transformer-cancel company-sort-by-occurrence company-sort-by-statistics company-sort-by-backend-importance)))
'(package-selected-packages
(quote
(yaml-mode winum white-sand-theme web-mode web-beautify vmd-mode utop unfill tuareg caml toml-mode tagedit spotlight counsel swiper powerline solidity-mode solarized-theme slime-company slim-mode scss-mode sass-mode rebecca-theme racket-mode faceup racer pug-mode phpunit phpcbf php-extras php-auto-yasnippets ox-twbs ox-reveal ox-hugo outshine outorg org-super-agenda pdf-tools key-chord ivy org-category-capture alert log4e gntp org-mime ocp-indent ob-ipython flycheck-nimsuggest commenter epc concurrent merlin madhat2r-theme macrostep livid-mode js2-refactor js-doc jinja2-mode imenu-list parent-mode projectile helm-dash helm-css-scss xcscope helm-bibtex parsebib haml-mode go-guru ham-mode html-to-markdown gitignore-mode fringe-helper git-gutter+ git-gutter gh marshal logito pcache ht geiser fuzzy forge ghub closql emacsql-sqlite emacsql treepy graphql flyspell-correct flymd flycheck-rust flycheck flx exotica-theme evil-vimish-fold vimish-fold magit git-commit with-editor smartparens iedit anzu evil goto-chg undo-tree ctable ess julia-mode sbt-mode scala-mode emmet-mode ein skewer-mode deferred request websocket js2-mode simple-httpd drupal-mode php-mode dockerfile-mode docker json-mode tablist magit-popup docker-tramp json-snatcher json-reformat diminish deft dash-at-point autothemer csv-mode company-web web-completion-data company-tern tern pos-tip go-mode ghc haskell-mode eclim company-box dash-functional company-ansible company command-log-mode coffee-mode hydra inflections edn multiple-cursors paredit peg eval-sexp-fu highlight cider sesman spinner queue pkg-info clojure-mode epl cdlatex cargo markdown-mode rust-mode bind-map bind-key biblio biblio-core yasnippet packed auctex ansible-doc ansible anaconda-mode pythonic f dash s helm avy helm-core async auto-complete popup auctex-latexmk zonokai-theme zenburn-theme zen-and-art-theme yapfify xterm-color ws-butler window-numbering which-key volatile-highlights vi-tilde-fringe vagrant-tramp vagrant uuidgen use-package underwater-theme ujelly-theme twilight-theme twilight-bright-theme twilight-anti-bright-theme tronesque-theme toxi-theme toc-org tao-theme tangotango-theme tango-plus-theme tango-2-theme sunny-day-theme sublime-themes subatomic256-theme subatomic-theme stickyfunc-enhance stekene-theme srefactor sql-indent spacemacs-theme spaceline spacegray-theme soothe-theme soft-stone-theme soft-morning-theme soft-charcoal-theme smyx-theme smeargle slime shell-pop seti-theme reverse-theme reveal-in-osx-finder restart-emacs ranger rainbow-delimiters railscasts-theme quelpa pyvenv pytest pyenv-mode py-isort purple-haze-theme professional-theme popwin planet-theme pip-requirements phoenix-dark-pink-theme phoenix-dark-mono-theme persp-mode pcre2el pbcopy pastels-on-dark-theme paradox pandoc-mode ox-pandoc ox-gfm osx-trash osx-dictionary orgit organic-green-theme org-ref org-projectile org-present org-pomodoro org-plus-contrib org-download org-bullets open-junk-file omtose-phellack-theme oldlace-theme occidental-theme obsidian-theme noflet noctilux-theme nim-mode niflheim-theme neotree naquadah-theme mwim mustang-theme multi-term move-text monokai-theme monochrome-theme molokai-theme moe-theme mmm-mode minimal-theme material-theme markdown-toc majapahit-theme magit-gitflow magit-gh-pulls lush-theme lua-mode lorem-ipsum live-py-mode linum-relative link-hint light-soap-theme ledger-mode launchctl jbeans-theme jazz-theme ir-black-theme intero inkpot-theme info+ indent-guide ido-vertical-mode ibuffer-projectile hy-mode hungry-delete htmlize hlint-refactor hl-todo hindent highlight-parentheses highlight-numbers highlight-indentation heroku-theme hemisu-theme help-fns+ helm-themes helm-swoop helm-pydoc helm-projectile helm-mode-manager helm-make helm-hoogle helm-gitignore helm-flx helm-descbinds helm-cscope helm-company helm-c-yasnippet helm-ag hc-zenburn-theme haskell-snippets gruvbox-theme gruber-darker-theme grandshell-theme gotham-theme google-translate golden-ratio go-eldoc gnuplot gmail-message-mode github-search github-clone github-browse-file gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link git-gutter-fringe git-gutter-fringe+ gist gh-md gandalf-theme flyspell-correct-helm flycheck-pos-tip flycheck-nim flycheck-ledger flycheck-haskell flx-ido flatui-theme flatland-theme firebelly-theme fill-column-indicator fasd farmhouse-theme fancy-battery eyebrowse expand-region exec-path-from-shell evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-surround evil-search-highlight-persist evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-magit evil-lisp-state evil-indent-plus evil-iedit-state evil-exchange evil-escape evil-ediff evil-args evil-anzu ess-smart-equals ess-R-object-popup ess-R-data-view espresso-theme eshell-z eshell-prompt-extras esh-help erc-yt erc-view-log erc-terminal-notifier erc-social-graph erc-image erc-hl-nicks ensime engine-mode elisp-slime-nav edit-server dumb-jump dracula-theme django-theme disaster diff-hl darktooth-theme darkokai-theme darkmine-theme darkburn-theme dakrone-theme cython-mode cyberpunk-theme company-statistics company-quickhelp company-go company-ghci company-ghc company-emacs-eclim company-cabal company-c-headers company-auctex company-anaconda common-lisp-snippets column-enforce-mode colorsarenice-theme color-theme-sanityinc-tomorrow color-theme-sanityinc-solarized cmm-mode cmake-mode clues-theme clojure-snippets clj-refactor clean-aindent-mode clang-format cider-eval-sexp-fu cherry-blossom-theme busybee-theme bubbleberry-theme bracketed-paste birds-of-paradise-plus-theme badwolf-theme auto-yasnippet auto-highlight-symbol auto-dictionary auto-compile apropospriate-theme anti-zenburn-theme ample-zen-theme ample-theme alect-themes aggressive-indent afternoon-theme adaptive-wrap ace-window ace-link ace-jump-helm-line ac-ispell)))
'(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.
;; '(default ((t (:background nil))))
;; '(company-tooltip-common ((t (:inherit company-tooltip :weight bold :underline nil))))
;; '(company-tooltip-common-selection ((t (:inherit company-tooltip-selection :weight bold :underline nil)))))
(defun dotspacemacs/emacs-custom-settings ()
"Emacs custom settings.
This is an auto-generated function, do not modify its content directly, use
Emacs customize menu instead.
This function is called at the very end of Spacemacs initialization."
(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.
'(company-dabbrev-downcase nil t)
'(company-dabbrev-ignore-case nil t)
'(company-idle-delay 0.2 t)
'(company-minimum-prefix-length 2 t)
'(company-quickhelp-color-background "gray11")
'(company-quickhelp-color-foreground "dark red")
'(company-quickhelp-mode t)
'(company-require-match nil t)
'(company-selection-wrap-around t)
'(company-statistics-mode t)
'(company-transformers
(quote
(spacemacs//company-transformer-cancel company-sort-by-occurrence company-sort-by-statistics company-sort-by-backend-importance)))
'(package-selected-packages
(quote
(org-noter yaml-mode winum white-sand-theme web-mode web-beautify vmd-mode utop unfill tuareg caml toml-mode tagedit spotlight counsel swiper powerline solidity-mode solarized-theme slime-company slim-mode scss-mode sass-mode rebecca-theme racket-mode faceup racer pug-mode phpunit phpcbf php-extras php-auto-yasnippets ox-twbs ox-reveal ox-hugo outshine outorg org-super-agenda pdf-tools key-chord ivy org-category-capture alert log4e gntp org-mime ocp-indent ob-ipython flycheck-nimsuggest commenter epc concurrent merlin madhat2r-theme macrostep livid-mode js2-refactor js-doc jinja2-mode imenu-list parent-mode projectile helm-dash helm-css-scss xcscope helm-bibtex parsebib haml-mode go-guru ham-mode html-to-markdown gitignore-mode fringe-helper git-gutter+ git-gutter gh marshal logito pcache ht geiser fuzzy forge ghub closql emacsql-sqlite emacsql treepy graphql flyspell-correct flymd flycheck-rust flycheck flx exotica-theme evil-vimish-fold vimish-fold magit git-commit with-editor smartparens iedit anzu evil goto-chg undo-tree ctable ess julia-mode sbt-mode scala-mode emmet-mode ein skewer-mode deferred request websocket js2-mode simple-httpd drupal-mode php-mode dockerfile-mode docker json-mode tablist magit-popup docker-tramp json-snatcher json-reformat diminish deft dash-at-point autothemer csv-mode company-web web-completion-data company-tern tern pos-tip go-mode ghc haskell-mode eclim company-box dash-functional company-ansible company command-log-mode coffee-mode hydra inflections edn multiple-cursors paredit peg eval-sexp-fu highlight cider sesman spinner queue pkg-info clojure-mode epl cdlatex cargo markdown-mode rust-mode bind-map bind-key biblio biblio-core yasnippet packed auctex ansible-doc ansible anaconda-mode pythonic f dash s helm avy helm-core async auto-complete popup auctex-latexmk zonokai-theme zenburn-theme zen-and-art-theme yapfify xterm-color ws-butler window-numbering which-key volatile-highlights vi-tilde-fringe vagrant-tramp vagrant uuidgen use-package underwater-theme ujelly-theme twilight-theme twilight-bright-theme twilight-anti-bright-theme tronesque-theme toxi-theme toc-org tao-theme tangotango-theme tango-plus-theme tango-2-theme sunny-day-theme sublime-themes subatomic256-theme subatomic-theme stickyfunc-enhance stekene-theme srefactor sql-indent spacemacs-theme spaceline spacegray-theme soothe-theme soft-stone-theme soft-morning-theme soft-charcoal-theme smyx-theme smeargle slime shell-pop seti-theme reverse-theme reveal-in-osx-finder restart-emacs ranger rainbow-delimiters railscasts-theme quelpa pyvenv pytest pyenv-mode py-isort purple-haze-theme professional-theme popwin planet-theme pip-requirements phoenix-dark-pink-theme phoenix-dark-mono-theme persp-mode pcre2el pbcopy pastels-on-dark-theme paradox pandoc-mode ox-pandoc ox-gfm osx-trash osx-dictionary orgit organic-green-theme org-ref org-projectile org-present org-pomodoro org-plus-contrib org-download org-bullets open-junk-file omtose-phellack-theme oldlace-theme occidental-theme obsidian-theme noflet noctilux-theme nim-mode niflheim-theme neotree naquadah-theme mwim mustang-theme multi-term move-text monokai-theme monochrome-theme molokai-theme moe-theme mmm-mode minimal-theme material-theme markdown-toc majapahit-theme magit-gitflow magit-gh-pulls lush-theme lua-mode lorem-ipsum live-py-mode linum-relative link-hint light-soap-theme ledger-mode launchctl jbeans-theme jazz-theme ir-black-theme intero inkpot-theme info+ indent-guide ido-vertical-mode ibuffer-projectile hy-mode hungry-delete htmlize hlint-refactor hl-todo hindent highlight-parentheses highlight-numbers highlight-indentation heroku-theme hemisu-theme help-fns+ helm-themes helm-swoop helm-pydoc helm-projectile helm-mode-manager helm-make helm-hoogle helm-gitignore helm-flx helm-descbinds helm-cscope helm-company helm-c-yasnippet helm-ag hc-zenburn-theme haskell-snippets gruvbox-theme gruber-darker-theme grandshell-theme gotham-theme google-translate golden-ratio go-eldoc gnuplot gmail-message-mode github-search github-clone github-browse-file gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link git-gutter-fringe git-gutter-fringe+ gist gh-md gandalf-theme flyspell-correct-helm flycheck-pos-tip flycheck-nim flycheck-ledger flycheck-haskell flx-ido flatui-theme flatland-theme firebelly-theme fill-column-indicator fasd farmhouse-theme fancy-battery eyebrowse expand-region exec-path-from-shell evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-surround evil-search-highlight-persist evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-magit evil-lisp-state evil-indent-plus evil-iedit-state evil-exchange evil-escape evil-ediff evil-args evil-anzu ess-smart-equals ess-R-object-popup ess-R-data-view espresso-theme eshell-z eshell-prompt-extras esh-help erc-yt erc-view-log erc-terminal-notifier erc-social-graph erc-image erc-hl-nicks ensime engine-mode elisp-slime-nav edit-server dumb-jump dracula-theme django-theme disaster diff-hl darktooth-theme darkokai-theme darkmine-theme darkburn-theme dakrone-theme cython-mode cyberpunk-theme company-statistics company-quickhelp company-go company-ghci company-ghc company-emacs-eclim company-cabal company-c-headers company-auctex company-anaconda common-lisp-snippets column-enforce-mode colorsarenice-theme color-theme-sanityinc-tomorrow color-theme-sanityinc-solarized cmm-mode cmake-mode clues-theme clojure-snippets clj-refactor clean-aindent-mode clang-format cider-eval-sexp-fu cherry-blossom-theme busybee-theme bubbleberry-theme bracketed-paste birds-of-paradise-plus-theme badwolf-theme auto-yasnippet auto-highlight-symbol auto-dictionary auto-compile apropospriate-theme anti-zenburn-theme ample-zen-theme ample-theme alect-themes aggressive-indent afternoon-theme adaptive-wrap ace-window ace-link ace-jump-helm-line ac-ispell)))
'(paradox-github-token t 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.
)
)
(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