├── layers ├── +os │ ├── nixos │ │ ├── config.el │ │ ├── img │ │ │ └── nixos.jpg │ │ ├── packages.el │ │ └── README.org │ └── osx │ │ ├── img │ │ ├── osx.png │ │ └── apple.png │ │ ├── funcs.el │ │ └── config.el ├── +completion │ ├── auto-completion │ │ └── local │ │ │ └── snippets │ │ │ └── emacs-lisp-mode │ │ │ ├── .yas-parents │ │ │ ├── .yas-setup.el │ │ │ ├── micro-state │ │ │ └── new-package │ └── ivy │ │ └── layers.el ├── +lang │ ├── ess │ │ ├── img │ │ │ └── r.jpg │ │ └── config.el │ ├── go │ │ ├── img │ │ │ └── go.png │ │ ├── config.el │ │ └── funcs.el │ ├── asm │ │ ├── img │ │ │ └── asm.png │ │ └── config.el │ ├── csv │ │ ├── img │ │ │ └── csv.png │ │ └── packages.el │ ├── d │ │ ├── img │ │ │ └── dlogo.png │ │ └── config.el │ ├── elm │ │ ├── img │ │ │ └── elm.png │ │ ├── config.el │ │ └── funcs.el │ ├── lua │ │ ├── img │ │ │ └── lua.gif │ │ ├── config.el │ │ ├── packages.el │ │ └── README.org │ ├── php │ │ ├── img │ │ │ └── php.png │ │ ├── config.el │ │ └── README.org │ ├── python │ │ ├── local │ │ │ └── pylookup │ │ │ │ ├── .gitignore │ │ │ │ └── makefile │ │ ├── img │ │ │ └── python.png │ │ └── config.el │ ├── sml │ │ └── img │ │ │ └── sml.png │ ├── sql │ │ └── img │ │ │ └── sql.png │ ├── c-c++ │ │ ├── img │ │ │ ├── ccpp.jpg │ │ │ └── cmake.png │ │ └── config.el │ ├── html │ │ ├── img │ │ │ └── html.png │ │ ├── funcs.el │ │ └── config.el │ ├── java │ │ ├── img │ │ │ └── java.png │ │ └── config.el │ ├── nim │ │ ├── img │ │ │ └── logo.png │ │ ├── config.el │ │ ├── packages.el │ │ └── README.org │ ├── ruby │ │ ├── img │ │ │ └── ruby.png │ │ └── config.el │ ├── rust │ │ ├── img │ │ │ └── rust.png │ │ └── config.el │ ├── bibtex │ │ └── img │ │ │ └── logo.png │ ├── faust │ │ ├── img │ │ │ └── faust.png │ │ ├── config.el │ │ ├── packages.el │ │ └── README.org │ ├── idris │ │ ├── img │ │ │ └── idris.png │ │ └── config.el │ ├── latex │ │ ├── img │ │ │ └── latex.png │ │ └── config.el │ ├── ocaml │ │ ├── img │ │ │ └── ocaml.png │ │ ├── config.el │ │ └── funcs.el │ ├── plantuml │ │ ├── img │ │ │ ├── dia.png │ │ │ └── logo.png │ │ └── packages.el │ ├── scala │ │ ├── img │ │ │ ├── ensime.png │ │ │ └── scala.png │ │ └── config.el │ ├── swift │ │ └── img │ │ │ └── swift.png │ ├── autohotkey │ │ ├── img │ │ │ └── ahk.png │ │ └── packages.el │ ├── clojure │ │ ├── img │ │ │ ├── cider.png │ │ │ └── clojure.png │ │ └── config.el │ ├── csharp │ │ ├── img │ │ │ ├── csharp.png │ │ │ └── dotnet.png │ │ └── config.el │ ├── elixir │ │ ├── img │ │ │ ├── elixir.png │ │ │ └── alchemist.png │ │ ├── alchemist-refcard.pdf │ │ ├── funcs.el │ │ └── config.el │ ├── erlang │ │ ├── img │ │ │ └── erlang.png │ │ ├── config.el │ │ └── README.org │ ├── fsharp │ │ ├── img │ │ │ └── fsharp.png │ │ └── config.el │ ├── haskell │ │ ├── img │ │ │ └── haskell.png │ │ └── config.el │ ├── octave │ │ ├── img │ │ │ └── octave.png │ │ ├── config.el │ │ └── packages.el │ ├── racket │ │ ├── img │ │ │ └── racket.png │ │ └── config.el │ ├── shaders │ │ ├── img │ │ │ └── shaders.png │ │ ├── packages.el │ │ └── README.org │ ├── common-lisp │ │ ├── img │ │ │ └── slime.png │ │ ├── config.el │ │ └── funcs.el │ ├── emacs-lisp │ │ ├── img │ │ │ └── emacs.png │ │ ├── config.el │ │ └── funcs.el │ ├── graphviz │ │ └── img │ │ │ └── graphviz.png │ ├── javascript │ │ ├── img │ │ │ ├── coffee.png │ │ │ └── javascript.png │ │ ├── config.el │ │ └── funcs.el │ ├── markdown │ │ ├── img │ │ │ └── markdown.png │ │ └── config.el │ ├── shell-scripts │ │ ├── img │ │ │ └── fish.png │ │ ├── config.el │ │ └── funcs.el │ ├── windows-scripts │ │ ├── img │ │ │ └── ps.png │ │ └── config.el │ ├── ipython-notebook │ │ ├── img │ │ │ ├── dark.png │ │ │ └── light.png │ │ └── matplotlibrc │ ├── typescript │ │ ├── img │ │ │ └── TypeScript.png │ │ └── config.el │ ├── purescript │ │ ├── img │ │ │ └── purescript-logo.png │ │ └── config.el │ ├── yaml │ │ ├── config.el │ │ ├── README.org │ │ └── packages.el │ ├── vimscript │ │ ├── config.el │ │ └── README.org │ ├── scheme │ │ └── config.el │ ├── extra-langs │ │ ├── README.org │ │ └── packages.el │ └── agda │ │ └── config.el ├── +chat │ ├── rcirc │ │ ├── img │ │ │ └── irc.png │ │ ├── local │ │ │ └── helm-rcirc │ │ │ │ └── README.md │ │ └── config.el │ ├── slack │ │ └── img │ │ │ └── slack.png │ ├── jabber │ │ ├── img │ │ │ ├── jabber-logo.gif │ │ │ └── attribution.md │ │ ├── funcs.el │ │ └── packages.el │ └── erc │ │ ├── local │ │ └── erc-yank │ │ │ └── README.md │ │ ├── funcs.el │ │ └── config.el ├── +emacs │ ├── org │ │ ├── img │ │ │ └── org.png │ │ ├── local │ │ │ └── org-async-init.el │ │ ├── config.el │ │ └── funcs.el │ ├── smex │ │ ├── img │ │ │ └── smex.png │ │ ├── funcs.el │ │ ├── README.org │ │ └── packages.el │ ├── better-defaults │ │ ├── img │ │ │ └── emacs.png │ │ ├── keybindings.el │ │ ├── config.el │ │ ├── packages.el │ │ └── funcs.el │ ├── typography │ │ └── config.el │ ├── ibuffer │ │ └── config.el │ └── semantic │ │ └── config.el ├── +email │ ├── gnus │ │ └── img │ │ │ └── gnus.gif │ └── mu4e │ │ └── config.el ├── +fun │ ├── games │ │ ├── img │ │ │ └── games.png │ │ ├── config.el │ │ └── funcs.el │ ├── xkcd │ │ ├── img │ │ │ └── xkcd.png │ │ └── packages.el │ ├── emoji │ │ ├── img │ │ │ └── emojis.png │ │ └── README.org │ └── selectric │ │ ├── img │ │ └── typewriter.jpg │ │ ├── packages.el │ │ └── README.org ├── +tools │ ├── dash │ │ ├── img │ │ │ ├── dash.png │ │ │ └── zeal.png │ │ ├── config.el │ │ └── funcs.el │ ├── nginx │ │ ├── img │ │ │ └── nginx.png │ │ ├── packages.el │ │ └── README.org │ ├── shell │ │ └── img │ │ │ └── shell.png │ ├── cfengine │ │ ├── img │ │ │ └── agent.png │ │ ├── config.el │ │ └── packages.el │ ├── chrome │ │ ├── img │ │ │ └── chrome.png │ │ └── packages.el │ ├── docker │ │ └── img │ │ │ └── docker.png │ ├── finance │ │ ├── img │ │ │ └── ledger.png │ │ └── config.el │ ├── pdf-tools │ │ └── img │ │ │ └── pdf.png │ ├── puppet │ │ ├── img │ │ │ └── puppet.png │ │ ├── layers.el │ │ ├── config.el │ │ └── packages.el │ ├── salt │ │ ├── img │ │ │ └── saltstack.png │ │ ├── README.org │ │ └── packages.el │ ├── ansible │ │ ├── img │ │ │ └── ansible.png │ │ ├── layers.el │ │ ├── config.el │ │ ├── funcs.el │ │ └── README.org │ ├── prodigy │ │ ├── img │ │ │ └── prodigy.png │ │ └── packages.el │ ├── vagrant │ │ ├── img │ │ │ └── vagrant.png │ │ └── Vagrantfile │ ├── terraform │ │ ├── img │ │ │ └── terraform.png │ │ ├── packages.el │ │ └── README.org │ ├── geolocation │ │ ├── img │ │ │ ├── emacs-sunshine.jpg │ │ │ └── emacs-location-helper.jpg │ │ ├── extensions.el │ │ ├── config.el │ │ └── extensions │ │ │ └── theme-changer │ │ │ └── theme-changer.el │ ├── imenu-list │ │ ├── img │ │ │ └── imenu-list-example.png │ │ └── packages.el │ ├── tmux │ │ ├── README.org │ │ └── packages.el │ ├── restclient │ │ ├── config.el │ │ └── funcs.el │ ├── rebox │ │ ├── config.el │ │ └── funcs.el │ ├── pandoc │ │ ├── funcs.el │ │ └── packages.el │ ├── systemd │ │ ├── packages.el │ │ └── README.org │ ├── speed-reading │ │ └── README.org │ ├── command-log │ │ └── README.org │ ├── fasd │ │ └── packages.el │ ├── ycmd │ │ └── packages.el │ └── deft │ │ └── packages.el ├── +intl │ ├── chinese │ │ └── img │ │ │ ├── China.png │ │ │ └── Chinese.png │ └── keyboard-layout │ │ └── img │ │ ├── bepo-logo.png │ │ ├── bepo-keymap.png │ │ ├── dvorak-keymap.png │ │ └── keyboard-layout.png ├── +tags │ ├── cscope │ │ └── img │ │ │ └── cscope.jpg │ └── gtags │ │ └── config.el ├── +frameworks │ ├── react │ │ ├── img │ │ │ └── react.png │ │ ├── layers.el │ │ └── config.el │ ├── django │ │ ├── img │ │ │ └── django.png │ │ └── layers.el │ └── ruby-on-rails │ │ ├── img │ │ └── ror.png │ │ └── layers.el ├── +source-control │ ├── git │ │ ├── img │ │ │ └── git.png │ │ └── config.el │ ├── perforce │ │ └── img │ │ │ └── p4.png │ └── github │ │ └── img │ │ └── github.png ├── +themes │ ├── colors │ │ ├── img │ │ │ ├── rainbow-mode.png │ │ │ ├── rainbow_dash.png │ │ │ └── theme-tweaks-python.png │ │ ├── local │ │ │ └── nyan-mode │ │ │ │ ├── mus │ │ │ │ └── nyanlooped.mp3 │ │ │ │ └── img │ │ │ │ ├── rainbow.xpm │ │ │ │ └── rainbow-start.xpm │ │ └── config.el │ ├── theming │ │ └── packages.el │ └── themes-megapack │ │ └── README.org ├── +web-services │ ├── elfeed │ │ ├── img │ │ │ └── elfeed.png │ │ └── config.el │ ├── evernote │ │ ├── img │ │ │ ├── evernote.png │ │ │ └── geeknote.png │ │ └── packages.el │ ├── spotify │ │ ├── img │ │ │ └── spotify.png │ │ ├── README.org │ │ └── packages.el │ ├── twitter │ │ └── img │ │ │ └── twitter.png │ ├── wakatime │ │ ├── img │ │ │ └── wakatime.png │ │ └── packages.el │ └── search-engine │ │ └── img │ │ └── searchengine.jpg ├── +vim │ ├── evil-snipe │ │ ├── img │ │ │ └── Cat_With_Rifle.jpg │ │ └── config.el │ ├── vinegar │ │ ├── keybindings.el │ │ └── config.el │ ├── vim-powerline │ │ └── README.org │ ├── evil-commentary │ │ └── packages.el │ ├── evil-cleverparens │ │ ├── packages.el │ │ └── README.org │ └── vim-empty-lines │ │ └── README.org ├── +checkers │ ├── syntax-checking │ │ ├── img │ │ │ └── flycheck.png │ │ ├── funcs.el │ │ └── config.el │ └── spell-checking │ │ ├── config.el │ │ └── funcs.el ├── +pair-programming │ └── floobits │ │ └── img │ │ └── floobits.png ├── +spacemacs │ ├── spacemacs-ui-visual │ │ └── config.el │ ├── spacemacs-completion │ │ └── config.el │ ├── spacemacs-layouts │ │ └── config.el │ └── spacemacs-misc │ │ └── packages.el ├── +distributions │ └── spacemacs │ │ └── layers.el └── +misc │ └── nlinum │ └── packages.el ├── doc └── img │ ├── title.png │ ├── title2.png │ ├── dot-error.png │ ├── dot-info.png │ ├── which-key.png │ ├── dot-warning.png │ ├── update-red.png │ ├── flycheck-error.png │ ├── flycheck-info.png │ ├── powerline-anzu.png │ ├── powerline-bar.png │ ├── powerline-box.png │ ├── powerline-butt.png │ ├── powerline-nil.png │ ├── powerline-wave.png │ ├── update-green.png │ ├── update-orange.png │ ├── flycheck-warning.png │ ├── powerline-arrow.png │ ├── powerline-brace.png │ ├── powerline-curve.png │ ├── powerline-slant.png │ ├── powerline-update.png │ ├── powerline-zigzag.png │ ├── spacemacs-python.png │ ├── spacemacs-urxvt.png │ ├── flycheck-mode-line.png │ ├── powerline-alternate.png │ ├── powerline-chamfer.png │ ├── powerline-contour.png │ ├── powerline-rounded.png │ ├── powerline-roundstub.png │ ├── spacemacs-startup.png │ ├── powerline-arrow-fade.png │ ├── powerline-fix-windows.png │ ├── crappy-powerline-separators.png │ ├── spacemacs-ahs-transient-state.png │ ├── spacemacs-lisp-transient-state.png │ └── spacemacs-scale-transient-state.png ├── core ├── banners │ ├── img │ │ ├── heart.png │ │ ├── zemacs.png │ │ ├── spacemacs.png │ │ └── spacemacs-badge.png │ ├── 001-banner.txt │ ├── 000-banner.txt │ ├── 003-banner.txt │ ├── 004-banner.txt │ └── 002-banner.txt ├── tools │ └── spacefmt │ │ └── tests │ │ ├── config.el │ │ └── packages.el ├── core-emacs-backports.el ├── info │ ├── release-notes │ │ ├── 0.101.txt │ │ ├── 0.200.txt │ │ ├── 0.103.txt │ │ └── 0.105.txt │ └── quickhelp.txt └── templates │ ├── REPORTING.template │ └── README.org.template ├── .projectile ├── private ├── local │ └── README.md ├── snippets │ └── README.md └── README.md ├── .github ├── PULL_REQUEST_TEMPLATE └── ISSUE_TEMPLATE ├── tests ├── layers │ └── +distribution │ │ ├── spacemacs │ │ ├── dotspacemacs.el │ │ └── Makefile │ │ └── spacemacs-base │ │ ├── dotspacemacs.el │ │ └── Makefile └── core │ ├── data │ └── framed-text.txt │ ├── Makefile │ ├── core-spacemacs-ftest.el │ └── core-release-management-ftest.el ├── .travis.yml ├── .gitignore └── init.el /layers/+os/nixos/config.el: -------------------------------------------------------------------------------- 1 | (spacemacs|defvar-company-backends nix-mode) 2 | -------------------------------------------------------------------------------- /doc/img/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/title.png -------------------------------------------------------------------------------- /doc/img/title2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/title2.png -------------------------------------------------------------------------------- /doc/img/dot-error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/dot-error.png -------------------------------------------------------------------------------- /doc/img/dot-info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/dot-info.png -------------------------------------------------------------------------------- /doc/img/which-key.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/which-key.png -------------------------------------------------------------------------------- /layers/+completion/auto-completion/local/snippets/emacs-lisp-mode/.yas-parents: -------------------------------------------------------------------------------- 1 | prog-mode 2 | -------------------------------------------------------------------------------- /doc/img/dot-warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/dot-warning.png -------------------------------------------------------------------------------- /doc/img/update-red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/update-red.png -------------------------------------------------------------------------------- /core/banners/img/heart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/core/banners/img/heart.png -------------------------------------------------------------------------------- /doc/img/flycheck-error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/flycheck-error.png -------------------------------------------------------------------------------- /doc/img/flycheck-info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/flycheck-info.png -------------------------------------------------------------------------------- /doc/img/powerline-anzu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/powerline-anzu.png -------------------------------------------------------------------------------- /doc/img/powerline-bar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/powerline-bar.png -------------------------------------------------------------------------------- /doc/img/powerline-box.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/powerline-box.png -------------------------------------------------------------------------------- /doc/img/powerline-butt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/powerline-butt.png -------------------------------------------------------------------------------- /doc/img/powerline-nil.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/powerline-nil.png -------------------------------------------------------------------------------- /doc/img/powerline-wave.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/powerline-wave.png -------------------------------------------------------------------------------- /doc/img/update-green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/update-green.png -------------------------------------------------------------------------------- /doc/img/update-orange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/update-orange.png -------------------------------------------------------------------------------- /layers/+lang/ess/img/r.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/ess/img/r.jpg -------------------------------------------------------------------------------- /layers/+lang/go/img/go.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/go/img/go.png -------------------------------------------------------------------------------- /layers/+os/osx/img/osx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+os/osx/img/osx.png -------------------------------------------------------------------------------- /core/banners/img/zemacs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/core/banners/img/zemacs.png -------------------------------------------------------------------------------- /doc/img/flycheck-warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/flycheck-warning.png -------------------------------------------------------------------------------- /doc/img/powerline-arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/powerline-arrow.png -------------------------------------------------------------------------------- /doc/img/powerline-brace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/powerline-brace.png -------------------------------------------------------------------------------- /doc/img/powerline-curve.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/powerline-curve.png -------------------------------------------------------------------------------- /doc/img/powerline-slant.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/powerline-slant.png -------------------------------------------------------------------------------- /doc/img/powerline-update.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/powerline-update.png -------------------------------------------------------------------------------- /doc/img/powerline-zigzag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/powerline-zigzag.png -------------------------------------------------------------------------------- /doc/img/spacemacs-python.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/spacemacs-python.png -------------------------------------------------------------------------------- /doc/img/spacemacs-urxvt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/spacemacs-urxvt.png -------------------------------------------------------------------------------- /layers/+lang/asm/img/asm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/asm/img/asm.png -------------------------------------------------------------------------------- /layers/+lang/csv/img/csv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/csv/img/csv.png -------------------------------------------------------------------------------- /layers/+lang/d/img/dlogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/d/img/dlogo.png -------------------------------------------------------------------------------- /layers/+lang/elm/img/elm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/elm/img/elm.png -------------------------------------------------------------------------------- /layers/+lang/lua/img/lua.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/lua/img/lua.gif -------------------------------------------------------------------------------- /layers/+lang/php/img/php.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/php/img/php.png -------------------------------------------------------------------------------- /layers/+lang/python/local/pylookup/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | *.elc 3 | /*.zip 4 | *.db 5 | python-*-docs-html 6 | -------------------------------------------------------------------------------- /layers/+lang/sml/img/sml.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/sml/img/sml.png -------------------------------------------------------------------------------- /layers/+lang/sql/img/sql.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/sql/img/sql.png -------------------------------------------------------------------------------- /layers/+os/osx/img/apple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+os/osx/img/apple.png -------------------------------------------------------------------------------- /core/banners/img/spacemacs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/core/banners/img/spacemacs.png -------------------------------------------------------------------------------- /doc/img/flycheck-mode-line.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/flycheck-mode-line.png -------------------------------------------------------------------------------- /doc/img/powerline-alternate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/powerline-alternate.png -------------------------------------------------------------------------------- /doc/img/powerline-chamfer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/powerline-chamfer.png -------------------------------------------------------------------------------- /doc/img/powerline-contour.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/powerline-contour.png -------------------------------------------------------------------------------- /doc/img/powerline-rounded.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/powerline-rounded.png -------------------------------------------------------------------------------- /doc/img/powerline-roundstub.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/powerline-roundstub.png -------------------------------------------------------------------------------- /doc/img/spacemacs-startup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/spacemacs-startup.png -------------------------------------------------------------------------------- /layers/+chat/rcirc/img/irc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+chat/rcirc/img/irc.png -------------------------------------------------------------------------------- /layers/+chat/rcirc/local/helm-rcirc/README.md: -------------------------------------------------------------------------------- 1 | helm-rcirc 2 | ========== 3 | 4 | An Helm interface for rcirc 5 | -------------------------------------------------------------------------------- /layers/+emacs/org/img/org.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+emacs/org/img/org.png -------------------------------------------------------------------------------- /layers/+emacs/smex/img/smex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+emacs/smex/img/smex.png -------------------------------------------------------------------------------- /layers/+email/gnus/img/gnus.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+email/gnus/img/gnus.gif -------------------------------------------------------------------------------- /layers/+fun/games/img/games.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+fun/games/img/games.png -------------------------------------------------------------------------------- /layers/+fun/xkcd/img/xkcd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+fun/xkcd/img/xkcd.png -------------------------------------------------------------------------------- /layers/+lang/c-c++/img/ccpp.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/c-c++/img/ccpp.jpg -------------------------------------------------------------------------------- /layers/+lang/html/img/html.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/html/img/html.png -------------------------------------------------------------------------------- /layers/+lang/java/img/java.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/java/img/java.png -------------------------------------------------------------------------------- /layers/+lang/nim/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/nim/img/logo.png -------------------------------------------------------------------------------- /layers/+lang/ruby/img/ruby.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/ruby/img/ruby.png -------------------------------------------------------------------------------- /layers/+lang/rust/img/rust.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/rust/img/rust.png -------------------------------------------------------------------------------- /layers/+os/nixos/img/nixos.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+os/nixos/img/nixos.jpg -------------------------------------------------------------------------------- /layers/+tools/dash/img/dash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+tools/dash/img/dash.png -------------------------------------------------------------------------------- /layers/+tools/dash/img/zeal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+tools/dash/img/zeal.png -------------------------------------------------------------------------------- /doc/img/powerline-arrow-fade.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/powerline-arrow-fade.png -------------------------------------------------------------------------------- /doc/img/powerline-fix-windows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/powerline-fix-windows.png -------------------------------------------------------------------------------- /layers/+chat/slack/img/slack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+chat/slack/img/slack.png -------------------------------------------------------------------------------- /layers/+fun/emoji/img/emojis.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+fun/emoji/img/emojis.png -------------------------------------------------------------------------------- /layers/+lang/bibtex/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/bibtex/img/logo.png -------------------------------------------------------------------------------- /layers/+lang/c-c++/img/cmake.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/c-c++/img/cmake.png -------------------------------------------------------------------------------- /layers/+lang/faust/img/faust.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/faust/img/faust.png -------------------------------------------------------------------------------- /layers/+lang/idris/img/idris.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/idris/img/idris.png -------------------------------------------------------------------------------- /layers/+lang/latex/img/latex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/latex/img/latex.png -------------------------------------------------------------------------------- /layers/+lang/ocaml/img/ocaml.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/ocaml/img/ocaml.png -------------------------------------------------------------------------------- /layers/+lang/plantuml/img/dia.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/plantuml/img/dia.png -------------------------------------------------------------------------------- /layers/+lang/scala/img/ensime.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/scala/img/ensime.png -------------------------------------------------------------------------------- /layers/+lang/scala/img/scala.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/scala/img/scala.png -------------------------------------------------------------------------------- /layers/+lang/swift/img/swift.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/swift/img/swift.png -------------------------------------------------------------------------------- /layers/+tools/nginx/img/nginx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+tools/nginx/img/nginx.png -------------------------------------------------------------------------------- /layers/+tools/shell/img/shell.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+tools/shell/img/shell.png -------------------------------------------------------------------------------- /core/banners/img/spacemacs-badge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/core/banners/img/spacemacs-badge.png -------------------------------------------------------------------------------- /layers/+intl/chinese/img/China.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+intl/chinese/img/China.png -------------------------------------------------------------------------------- /layers/+intl/chinese/img/Chinese.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+intl/chinese/img/Chinese.png -------------------------------------------------------------------------------- /layers/+lang/autohotkey/img/ahk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/autohotkey/img/ahk.png -------------------------------------------------------------------------------- /layers/+lang/clojure/img/cider.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/clojure/img/cider.png -------------------------------------------------------------------------------- /layers/+lang/clojure/img/clojure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/clojure/img/clojure.png -------------------------------------------------------------------------------- /layers/+lang/csharp/img/csharp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/csharp/img/csharp.png -------------------------------------------------------------------------------- /layers/+lang/csharp/img/dotnet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/csharp/img/dotnet.png -------------------------------------------------------------------------------- /layers/+lang/elixir/img/elixir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/elixir/img/elixir.png -------------------------------------------------------------------------------- /layers/+lang/erlang/img/erlang.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/erlang/img/erlang.png -------------------------------------------------------------------------------- /layers/+lang/fsharp/img/fsharp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/fsharp/img/fsharp.png -------------------------------------------------------------------------------- /layers/+lang/haskell/img/haskell.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/haskell/img/haskell.png -------------------------------------------------------------------------------- /layers/+lang/octave/img/octave.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/octave/img/octave.png -------------------------------------------------------------------------------- /layers/+lang/plantuml/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/plantuml/img/logo.png -------------------------------------------------------------------------------- /layers/+lang/python/img/python.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/python/img/python.png -------------------------------------------------------------------------------- /layers/+lang/racket/img/racket.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/racket/img/racket.png -------------------------------------------------------------------------------- /layers/+lang/shaders/img/shaders.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/shaders/img/shaders.png -------------------------------------------------------------------------------- /layers/+tags/cscope/img/cscope.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+tags/cscope/img/cscope.jpg -------------------------------------------------------------------------------- /layers/+tools/cfengine/img/agent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+tools/cfengine/img/agent.png -------------------------------------------------------------------------------- /layers/+tools/chrome/img/chrome.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+tools/chrome/img/chrome.png -------------------------------------------------------------------------------- /layers/+tools/docker/img/docker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+tools/docker/img/docker.png -------------------------------------------------------------------------------- /layers/+tools/finance/img/ledger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+tools/finance/img/ledger.png -------------------------------------------------------------------------------- /layers/+tools/pdf-tools/img/pdf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+tools/pdf-tools/img/pdf.png -------------------------------------------------------------------------------- /layers/+tools/puppet/img/puppet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+tools/puppet/img/puppet.png -------------------------------------------------------------------------------- /layers/+tools/salt/img/saltstack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+tools/salt/img/saltstack.png -------------------------------------------------------------------------------- /layers/+frameworks/react/img/react.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+frameworks/react/img/react.png -------------------------------------------------------------------------------- /layers/+lang/common-lisp/img/slime.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/common-lisp/img/slime.png -------------------------------------------------------------------------------- /layers/+lang/elixir/img/alchemist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/elixir/img/alchemist.png -------------------------------------------------------------------------------- /layers/+lang/emacs-lisp/img/emacs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/emacs-lisp/img/emacs.png -------------------------------------------------------------------------------- /layers/+lang/graphviz/img/graphviz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/graphviz/img/graphviz.png -------------------------------------------------------------------------------- /layers/+lang/javascript/img/coffee.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/javascript/img/coffee.png -------------------------------------------------------------------------------- /layers/+lang/markdown/img/markdown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/markdown/img/markdown.png -------------------------------------------------------------------------------- /layers/+source-control/git/img/git.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+source-control/git/img/git.png -------------------------------------------------------------------------------- /layers/+tools/ansible/img/ansible.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+tools/ansible/img/ansible.png -------------------------------------------------------------------------------- /layers/+tools/prodigy/img/prodigy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+tools/prodigy/img/prodigy.png -------------------------------------------------------------------------------- /layers/+tools/vagrant/img/vagrant.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+tools/vagrant/img/vagrant.png -------------------------------------------------------------------------------- /doc/img/crappy-powerline-separators.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/crappy-powerline-separators.png -------------------------------------------------------------------------------- /doc/img/spacemacs-ahs-transient-state.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/spacemacs-ahs-transient-state.png -------------------------------------------------------------------------------- /layers/+chat/jabber/img/jabber-logo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+chat/jabber/img/jabber-logo.gif -------------------------------------------------------------------------------- /layers/+frameworks/django/img/django.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+frameworks/django/img/django.png -------------------------------------------------------------------------------- /layers/+fun/selectric/img/typewriter.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+fun/selectric/img/typewriter.jpg -------------------------------------------------------------------------------- /layers/+lang/elixir/alchemist-refcard.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/elixir/alchemist-refcard.pdf -------------------------------------------------------------------------------- /layers/+lang/shell-scripts/img/fish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/shell-scripts/img/fish.png -------------------------------------------------------------------------------- /layers/+lang/windows-scripts/img/ps.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/windows-scripts/img/ps.png -------------------------------------------------------------------------------- /layers/+tools/terraform/img/terraform.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+tools/terraform/img/terraform.png -------------------------------------------------------------------------------- /doc/img/spacemacs-lisp-transient-state.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/spacemacs-lisp-transient-state.png -------------------------------------------------------------------------------- /doc/img/spacemacs-scale-transient-state.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/doc/img/spacemacs-scale-transient-state.png -------------------------------------------------------------------------------- /layers/+emacs/better-defaults/img/emacs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+emacs/better-defaults/img/emacs.png -------------------------------------------------------------------------------- /layers/+lang/ipython-notebook/img/dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/ipython-notebook/img/dark.png -------------------------------------------------------------------------------- /layers/+lang/ipython-notebook/img/light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/ipython-notebook/img/light.png -------------------------------------------------------------------------------- /layers/+lang/javascript/img/javascript.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/javascript/img/javascript.png -------------------------------------------------------------------------------- /layers/+lang/typescript/img/TypeScript.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/typescript/img/TypeScript.png -------------------------------------------------------------------------------- /layers/+source-control/perforce/img/p4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+source-control/perforce/img/p4.png -------------------------------------------------------------------------------- /layers/+themes/colors/img/rainbow-mode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+themes/colors/img/rainbow-mode.png -------------------------------------------------------------------------------- /layers/+themes/colors/img/rainbow_dash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+themes/colors/img/rainbow_dash.png -------------------------------------------------------------------------------- /layers/+web-services/elfeed/img/elfeed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+web-services/elfeed/img/elfeed.png -------------------------------------------------------------------------------- /layers/+frameworks/ruby-on-rails/img/ror.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+frameworks/ruby-on-rails/img/ror.png -------------------------------------------------------------------------------- /layers/+intl/keyboard-layout/img/bepo-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+intl/keyboard-layout/img/bepo-logo.png -------------------------------------------------------------------------------- /layers/+source-control/github/img/github.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+source-control/github/img/github.png -------------------------------------------------------------------------------- /layers/+vim/evil-snipe/img/Cat_With_Rifle.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+vim/evil-snipe/img/Cat_With_Rifle.jpg -------------------------------------------------------------------------------- /layers/+web-services/evernote/img/evernote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+web-services/evernote/img/evernote.png -------------------------------------------------------------------------------- /layers/+web-services/evernote/img/geeknote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+web-services/evernote/img/geeknote.png -------------------------------------------------------------------------------- /layers/+web-services/spotify/img/spotify.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+web-services/spotify/img/spotify.png -------------------------------------------------------------------------------- /layers/+web-services/twitter/img/twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+web-services/twitter/img/twitter.png -------------------------------------------------------------------------------- /layers/+web-services/wakatime/img/wakatime.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+web-services/wakatime/img/wakatime.png -------------------------------------------------------------------------------- /layers/+intl/keyboard-layout/img/bepo-keymap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+intl/keyboard-layout/img/bepo-keymap.png -------------------------------------------------------------------------------- /layers/+lang/purescript/img/purescript-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+lang/purescript/img/purescript-logo.png -------------------------------------------------------------------------------- /layers/+tools/geolocation/img/emacs-sunshine.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+tools/geolocation/img/emacs-sunshine.jpg -------------------------------------------------------------------------------- /layers/+checkers/syntax-checking/img/flycheck.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+checkers/syntax-checking/img/flycheck.png -------------------------------------------------------------------------------- /layers/+intl/keyboard-layout/img/dvorak-keymap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+intl/keyboard-layout/img/dvorak-keymap.png -------------------------------------------------------------------------------- /layers/+pair-programming/floobits/img/floobits.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+pair-programming/floobits/img/floobits.png -------------------------------------------------------------------------------- /layers/+themes/colors/img/theme-tweaks-python.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+themes/colors/img/theme-tweaks-python.png -------------------------------------------------------------------------------- /layers/+tools/imenu-list/img/imenu-list-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+tools/imenu-list/img/imenu-list-example.png -------------------------------------------------------------------------------- /layers/+vim/vinegar/keybindings.el: -------------------------------------------------------------------------------- 1 | (define-key evil-normal-state-map (kbd "-") 'dired-jump) 2 | 3 | (add-hook 'dired-mode-hook 'vinegar/dired-setup) 4 | -------------------------------------------------------------------------------- /layers/+intl/keyboard-layout/img/keyboard-layout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+intl/keyboard-layout/img/keyboard-layout.png -------------------------------------------------------------------------------- /layers/+themes/colors/local/nyan-mode/mus/nyanlooped.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+themes/colors/local/nyan-mode/mus/nyanlooped.mp3 -------------------------------------------------------------------------------- /layers/+tools/geolocation/img/emacs-location-helper.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+tools/geolocation/img/emacs-location-helper.jpg -------------------------------------------------------------------------------- /layers/+web-services/search-engine/img/searchengine.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/spacemacs/master/layers/+web-services/search-engine/img/searchengine.jpg -------------------------------------------------------------------------------- /.projectile: -------------------------------------------------------------------------------- 1 | -/semanticdb 2 | -/url 3 | -/edts 4 | -/elpa 5 | -/.cache 6 | -ac-comphist.dat 7 | -.emacs.desktop 8 | -.emacs.desktop.lock 9 | -.smex-items 10 | -*.elc -------------------------------------------------------------------------------- /core/tools/spacefmt/tests/config.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- test layer configuration file for Spacemacs. 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; This file is not part of GNU Emacs. 6 | ;; 7 | ;;; License: GPLv3 8 | -------------------------------------------------------------------------------- /core/tools/spacefmt/tests/packages.el: -------------------------------------------------------------------------------- 1 | ;; Test file for packages.el formatting and migrations 2 | 3 | (setq mylayer-packages 4 | '( 5 | package1 6 | package2 7 | package3 8 | package4 9 | )) 10 | -------------------------------------------------------------------------------- /private/local/README.md: -------------------------------------------------------------------------------- 1 | # Private directory for local packages 2 | 3 | The content of this directory is ignored by Git. 4 | 5 | This is the place to store the local packages that you define in 6 | the `dotspacemacs-additional-packages` variable of your dotfile. 7 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE: -------------------------------------------------------------------------------- 1 | Thank you for contributing to Spacemacs! 2 | 3 | Before you submit this pull request, please ensure it is against the develop branch and not master. 4 | 5 | This message should be replaced with a description of your change. 6 | 7 | Thank you <3 -------------------------------------------------------------------------------- /layers/+completion/auto-completion/local/snippets/emacs-lisp-mode/.yas-setup.el: -------------------------------------------------------------------------------- 1 | (defun spacemacs/get-parent-dir () 2 | (car (cdr ; Last item 3 | (reverse 4 | (split-string 5 | (file-name-sans-extension (buffer-file-name)) 6 | "/"))))) 7 | -------------------------------------------------------------------------------- /layers/+emacs/org/local/org-async-init.el: -------------------------------------------------------------------------------- 1 | (require 'package) 2 | (setq package-enable-at-startup nil) 3 | (package-initialize) 4 | 5 | (require 'org) 6 | (require 'ox) 7 | (require 'ox-beamer) 8 | (require 'ox-latex) 9 | (require 'cl) 10 | (setq org-export-async-debug nil) 11 | -------------------------------------------------------------------------------- /private/snippets/README.md: -------------------------------------------------------------------------------- 1 | # Private directory for Yasnippets snippets 2 | 3 | The content of this directory is ignored by Git. This is the default place 4 | where to store your private yasnippets. 5 | 6 | This path will be loaded automatically and used whenever Yasnippets loads. 7 | -------------------------------------------------------------------------------- /tests/layers/+distribution/spacemacs/dotspacemacs.el: -------------------------------------------------------------------------------- 1 | (defun dotspacemacs/layers () 2 | (setq-default 3 | dotspacemacs-distribution 'spacemacs)) 4 | (defun dotspacemacs/init ()) 5 | (defun dotspacemacs/user-init ()) 6 | (defun dotspacemacs/config ()) 7 | (defun dotspacemacs/user-config ()) 8 | -------------------------------------------------------------------------------- /tests/layers/+distribution/spacemacs-base/dotspacemacs.el: -------------------------------------------------------------------------------- 1 | (defun dotspacemacs/layers () 2 | (setq-default 3 | dotspacemacs-distribution 'spacemacs)) 4 | (defun dotspacemacs/init ()) 5 | (defun dotspacemacs/user-init ()) 6 | (defun dotspacemacs/config ()) 7 | (defun dotspacemacs/user-config ()) 8 | -------------------------------------------------------------------------------- /layers/+chat/jabber/img/attribution.md: -------------------------------------------------------------------------------- 1 | This image (jabber-logo.gif) is a derivative of an image owned and 2 | copyrighted by the Jabber Software Foundation and released under the 3 | [CC-BY 2.5 license](http://creativecommons.org/licenses/by/2.5/), 4 | which is available at 5 | [at Wikimedia Commons](http://commons.wikimedia.org/wiki/File:Jabber_logo.png). 6 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE: -------------------------------------------------------------------------------- 1 | If you are posting about a *bug* please close this issue and open a new one 2 | using [SPC h I] or [M-m h I] (I = capital i) from within Spacemacs. If the 3 | bug makes Spacemacs unusable, you can find the bug report template [here](https://github.com/syl20bnr/spacemacs/blob/develop/core/templates/REPORTING.template) 4 | You can delete this message to start typing. 5 | -------------------------------------------------------------------------------- /layers/+frameworks/react/layers.el: -------------------------------------------------------------------------------- 1 | ;;; layers.el --- react Layer layers File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Andrea Moretti 6 | ;; URL: https://github.com/axyz 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (configuration-layer/declare-layers '(html javascript)) 13 | -------------------------------------------------------------------------------- /layers/+lang/elm/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- elm Layer packages File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (spacemacs|defvar-company-backends elm-mode) 13 | -------------------------------------------------------------------------------- /layers/+lang/java/config.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- Java configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Lukasz Klich 6 | ;; 7 | ;; This file is not part of GNU Emacs. 8 | ;; 9 | ;;; License: GPLv3 10 | 11 | (spacemacs|defvar-company-backends java-mode) 12 | 13 | (spacemacs|define-jump-handlers java-mode) 14 | -------------------------------------------------------------------------------- /layers/+tools/ansible/layers.el: -------------------------------------------------------------------------------- 1 | ;;; layers.el --- Ansible Layer layers File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Brian Hicks 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (configuration-layer/declare-layers '(yaml)) 13 | -------------------------------------------------------------------------------- /layers/+tools/puppet/layers.el: -------------------------------------------------------------------------------- 1 | ;;; layers.el --- Puppet layer layers File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (configuration-layer/declare-layer 'ruby) 13 | -------------------------------------------------------------------------------- /layers/+tools/tmux/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Tmux layer 2 | 3 | * Table of Contents :TOC_4_gh:noexport: 4 | - [[#what-is-this][What is this]] 5 | 6 | * What is this 7 | This is an extension to support [[https://github.com/Keithbsmiley/evil-tmux-navigator][evil-tmux-navigator]]. It requires a little 8 | configuration for tmux, so check the upstream documentation. 9 | 10 | -------------------------------------------------------------------------------- /layers/+tools/cfengine/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- CFEgine Layer configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Nick Anderson 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (spacemacs|defvar-company-backends cfengine3-mode) 13 | -------------------------------------------------------------------------------- /core/core-emacs-backports.el: -------------------------------------------------------------------------------- 1 | ;;; core-emacs-backports.el --- Spacemacs Core File 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; nothing for now 13 | 14 | (provide 'core-emacs-backports) 15 | -------------------------------------------------------------------------------- /layers/+frameworks/django/layers.el: -------------------------------------------------------------------------------- 1 | ;;; layers.el --- Django Layer layers File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Andrea Moretti 6 | ;; URL: https://github.com/axyz 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; Prerequisites 13 | 14 | (configuration-layer/declare-layer 'python) 15 | -------------------------------------------------------------------------------- /layers/+lang/lua/config.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- Lua Layer packages File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; variables 13 | 14 | (spacemacs|define-jump-handlers lua-mode) 15 | -------------------------------------------------------------------------------- /layers/+frameworks/ruby-on-rails/layers.el: -------------------------------------------------------------------------------- 1 | ;;; layers.el --- Ruby on Rails Layer layers File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Andrea Moretti 6 | ;; URL: https://github.com/axyz 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; Prerequisites 13 | 14 | (configuration-layer/declare-layer 'ruby) 15 | -------------------------------------------------------------------------------- /layers/+completion/auto-completion/local/snippets/emacs-lisp-mode/micro-state: -------------------------------------------------------------------------------- 1 | # -*- mode: snippet; require-final-newline: nil -*- 2 | # name: micro-state 3 | # key: micro 4 | # binding: direct-keybinding 5 | # -- 6 | (spacemacs|define-micro-state ${1:micro-state-name} 7 | ${2::doc (spacemacs//$1-ms-documentation)} 8 | ${3::use-minibuffer t} 9 | ${4::evil-leader "${5:Leader-key}"} 10 | :bindings 11 | ${} 12 | ) -------------------------------------------------------------------------------- /layers/+lang/erlang/config.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- Erlang Layer packages File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; variables 13 | 14 | (spacemacs|define-jump-handlers erlang-mode) 15 | -------------------------------------------------------------------------------- /layers/+lang/fsharp/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- fsharp Layer config File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (spacemacs|define-jump-handlers fsharp-mode fsharp-ac/gotodefn-at-point) 13 | -------------------------------------------------------------------------------- /layers/+lang/octave/config.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- Octave Layer packages File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; variables 13 | 14 | (spacemacs|define-jump-handlers octave-mode) 15 | -------------------------------------------------------------------------------- /layers/+lang/yaml/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- YAML Layer configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; variables 13 | 14 | (spacemacs|defvar-company-backends yaml-mode) 15 | -------------------------------------------------------------------------------- /layers/+lang/vimscript/config.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- Vimscript Layer packages File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; variables 13 | 14 | (spacemacs|define-jump-handlers vimrc-mode) 15 | -------------------------------------------------------------------------------- /layers/+lang/scheme/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- scheme Layer Configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (spacemacs|define-jump-handlers scheme-mode geiser-edit-symbol-at-point) 13 | -------------------------------------------------------------------------------- /layers/+tools/finance/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- Finance Layer configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; Variables 13 | 14 | (spacemacs|defvar-company-backends ledger-mode) 15 | -------------------------------------------------------------------------------- /layers/+tools/puppet/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- Puppet layer configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; Variables 13 | 14 | (spacemacs|defvar-company-backends puppet-mode) 15 | -------------------------------------------------------------------------------- /layers/+lang/idris/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- Idris Layer config File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Timothy Jones 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (spacemacs|defvar-company-backends idris-mode) 13 | (spacemacs|defvar-company-backends idris-repl-mode) 14 | -------------------------------------------------------------------------------- /layers/+lang/windows-scripts/config.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- Windows Scripts Layer packages File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; variables 13 | 14 | (spacemacs|define-jump-handlers dos-mode) 15 | -------------------------------------------------------------------------------- /core/banners/001-banner.txt: -------------------------------------------------------------------------------- 1 | 2 | ┏━━━┓ 3 | ┃┏━┓┃ Welcome to 4 | ┃┗━━┓╋╋╋╋┏━━┓╋╋╋╋┏━━┓╋╋╋╋┏━━┓╋╋╋╋┏━━┓╋╋╋╋┏┓┏┓╋╋╋╋┏━━┓╋╋╋╋┏━━┓╋╋╋╋┏━━┓ b 5 | ┗━━┓┃┏━━┓┃┏┓┃┏━━┓┃┏┓┃┏━━┓┃┏━┛┏━━┓┃┃━┫┏━━┓┃┗┛┃┏━━┓┃┏┓┃┏━━┓┃┏━┛┏━━┓┃━━┫ e 6 | ┃┗━┛┃┗━━┛┃┗┛┃┗━━┛┃┏┓┃┗━━┛┃┗━┓┗━━┛┃┃━┫┗━━┛┃┃┃┃┗━━┛┃┏┓┃┗━━┛┃┗━┓┗━━┛┣━━┃ t 7 | ┗━━━┛╋╋╋╋┃┏━┛╋╋╋╋┗┛┗┛╋╋╋╋┗━━┛╋╋╋╋┗━━┛╋╋╋╋┗┻┻┛╋╋╋╋┗┛┗┛╋╋╋╋┗━━┛╋╋╋╋┗━━┛ a 8 | ╋╋╋╋╋╋╋╋╋┃┃[The best editor is neither Emacs nor Vim, it's Emacs+Vim] 9 | ╋╋╋╋╋╋╋╋╋┗┛ 10 | -------------------------------------------------------------------------------- /layers/+tools/dash/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- Dash Layer configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (defvar helm-dash-docset-newpath "~/.docsets" 13 | "Path containing dash docsets.") 14 | -------------------------------------------------------------------------------- /layers/+lang/extra-langs/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Extra Languages 2 | 3 | * Table of Contents :TOC_4_gh:noexport: 4 | - [[#description][Description]] 5 | 6 | * Description 7 | 8 | Adds many more language modes for less common languages, some more niche than others. 9 | 10 | These include: 11 | - Arduino 12 | - Julia 13 | - MATLAB 14 | - QML 15 | - OpenScad 16 | - Stan 17 | - Thrift 18 | - Wolfram Language / Mathematica 19 | -------------------------------------------------------------------------------- /layers/+lang/racket/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- Racket Layer Configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; variables 13 | 14 | (spacemacs|define-jump-handlers racket-mode racket-visit-definition) 15 | -------------------------------------------------------------------------------- /layers/+tools/restclient/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- restclient configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (defvar restclient-use-org nil 13 | "If non-nil use `ob-http' instead of `restclient'.") 14 | -------------------------------------------------------------------------------- /layers/+lang/ocaml/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- ocaml Layer Configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (spacemacs|defvar-company-backends merlin-mode) 13 | 14 | (spacemacs|define-jump-handlers tuareg-mode) 15 | -------------------------------------------------------------------------------- /tests/core/data/framed-text.txt: -------------------------------------------------------------------------------- 1 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 2 | -------------------------------------------------------------------------------- /layers/+emacs/typography/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- typography Layer configuration 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sebastian Wiesner 6 | ;; URL: https://github.com/axyz 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; Variables 13 | 14 | (spacemacs|defvar-company-backends react-mode) 15 | 16 | (spacemacs|define-jump-handlers react-mode) 17 | -------------------------------------------------------------------------------- /layers/+lang/ess/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- ESS Layer configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; Variables 13 | 14 | (defvar ess-enable-smart-equals nil 15 | "If non-nil smart-equal support is enabled") 16 | -------------------------------------------------------------------------------- /layers/+lang/php/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- PHP Layer config File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Kosta Harlan 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; variables 13 | 14 | (spacemacs|defvar-company-backends php-mode) 15 | 16 | (spacemacs|define-jump-handlers php-mode) 17 | -------------------------------------------------------------------------------- /layers/+lang/rust/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- Rust Layer packages File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Chris Hoeppner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; Variables 13 | 14 | (spacemacs|defvar-company-backends rust-mode) 15 | 16 | (spacemacs|define-jump-handlers rust-mode) 17 | -------------------------------------------------------------------------------- /layers/+lang/d/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- d Layer configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; Variables 13 | 14 | (spacemacs|defvar-company-backends d-mode) 15 | 16 | (spacemacs|define-jump-handlers d-mode) 17 | -------------------------------------------------------------------------------- /layers/+tools/rebox/config.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- rebox layer configuration file for Spacemacs. 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Christian E. Hopps 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (defvar rebox-enable-in-text-mode nil 13 | "If non nil then `rebox-mode' in enabled in `text-mode' buffers.") 14 | -------------------------------------------------------------------------------- /layers/+web-services/wakatime/packages.el: -------------------------------------------------------------------------------- 1 | (setq wakatime-packages '(wakatime-mode)) 2 | 3 | (defun wakatime/init-wakatime-mode () 4 | (use-package wakatime-mode 5 | :defer t 6 | :init 7 | (add-hook 'prog-mode-hook 'wakatime-mode) 8 | :config 9 | (defun spacemacs/wakatime-dashboard () 10 | (interactive) 11 | (browse-url "https://wakatime.com/dashboard")) 12 | (spacemacs/set-leader-keys 13 | "aW" 'spacemacs/wakatime-dashboard))) 14 | -------------------------------------------------------------------------------- /core/info/release-notes/0.101.txt: -------------------------------------------------------------------------------- 1 | New layers: 2 | company-mode layer has been replaced by the new layer auto-completion. 3 | Org packages have been moved to the new layer org. 4 | Flycheck has been moved to the new layer syntax-checking. 5 | Be sure to update your dotfile to add these layers. 6 | 7 | Init functions: 8 | The init function /init- is now mandatory. Any package 9 | without an explicit init function will be ignored and uninstalled by 10 | Spacemacs. 11 | -------------------------------------------------------------------------------- /layers/+lang/faust/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- faust Layer configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Bart Brouns 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; Variables 13 | 14 | (spacemacs|defvar-company-backends faust-mode) 15 | 16 | (spacemacs|define-jump-handlers faust-mode) 17 | -------------------------------------------------------------------------------- /layers/+tools/restclient/funcs.el: -------------------------------------------------------------------------------- 1 | ;;; funcs.el --- restclient Layer functions File 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | 13 | (defun restclient-http-send-current-raw-stay-in-window () 14 | (interactive) 15 | (restclient-http-send-current t t)) 16 | -------------------------------------------------------------------------------- /layers/+tools/vagrant/Vagrantfile: -------------------------------------------------------------------------------- 1 | # -*- mode: ruby -*- 2 | # vi: set ft=ruby : 3 | 4 | # This file is provided for testing this layer - it doesn't really do 5 | # very much! 6 | 7 | # Vagrantfile API/syntax version. Don't touch unless you know what you're doing! 8 | VAGRANTFILE_API_VERSION = "2" 9 | 10 | Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| 11 | config.vm.box = "ubuntu/trusty64" 12 | 13 | config.vm.provision :shell, inline: "echo provisioned" 14 | end 15 | -------------------------------------------------------------------------------- /layers/+lang/csharp/config.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- C# Layer packages File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; variables 13 | 14 | (spacemacs|defvar-company-backends csharp-mode) 15 | 16 | (spacemacs|define-jump-handlers csharp-mode) 17 | -------------------------------------------------------------------------------- /layers/+tools/nginx/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- nginx layer packages file for Spacemacs. 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Nathaniel Waisbrot 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (defconst nginx-packages '(nginx-mode)) 13 | 14 | (defun nginx/init-nginx-mode () 15 | (use-package nginx-mode :defer t)) 16 | -------------------------------------------------------------------------------- /layers/+vim/vinegar/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- Vinegar Layer Configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; Variables 13 | 14 | (defvar vinegar-reuse-dired-buffer nil 15 | "If non-nil, reuses one dired buffer for navigation.") 16 | -------------------------------------------------------------------------------- /layers/+lang/common-lisp/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- common-lisp Layer Configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (spacemacs|define-jump-handlers lisp-mode slime-inspect-definition) 13 | (spacemacs|define-jump-handlers common-lisp-mode) 14 | -------------------------------------------------------------------------------- /layers/+lang/nim/config.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- Nim Configuration Layer for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Max Gonzih 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; Variables 13 | 14 | (spacemacs|defvar-company-backends nim-mode) 15 | (spacemacs|defvar-company-backends nimscript-mode) 16 | 17 | (spacemacs|define-jump-handlers nim-mode) 18 | -------------------------------------------------------------------------------- /layers/+lang/asm/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- Asm Layer config File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Tu, Do Hoang 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; variables 13 | (spacemacs|defvar-company-backends asm-mode) 14 | (spacemacs|defvar-company-backends nasm-mode) 15 | 16 | (spacemacs|define-jump-handlers asm-mode) 17 | -------------------------------------------------------------------------------- /layers/+vim/vim-powerline/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: vim-powerline layer 2 | 3 | * Table of Contents :TOC_4_gh:noexport: 4 | - [[#description][Description]] 5 | - [[#install][Install]] 6 | 7 | * Description 8 | A powerline theme modeled after the vim powerline theme. 9 | 10 | * Install 11 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 12 | add =vim-powerline= to the existing =dotspacemacs-configuration-layers= list in this 13 | file. 14 | -------------------------------------------------------------------------------- /layers/+tools/terraform/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- terraform Layer packages File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Brian Hicks 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (setq terraform-packages '(terraform-mode)) 13 | 14 | (defun terraform/init-terraform-mode () 15 | (use-package terraform-mode 16 | :defer t)) 17 | -------------------------------------------------------------------------------- /core/banners/000-banner.txt: -------------------------------------------------------------------------------- 1 | 2 | Welcome to 3 | ███████╗██████╗**█████╗**██████╗███████╗███╗***███╗*█████╗**██████╗███████╗ B 4 | ██╔════╝██╔══██╗██╔══██╗██╔════╝██╔════╝████╗*████║██╔══██╗██╔════╝██╔════╝ E 5 | ███████╗██████╔╝███████║██║*****█████╗**██╔████╔██║███████║██║*****███████╗ T 6 | ╚════██║██╔═══╝*██╔══██║██║*****██╔══╝**██║╚██╔╝██║██╔══██║██║*****╚════██║ A 7 | ███████║██║*****██║**██║╚██████╗███████╗██║*╚═╝*██║██║**██║╚██████╗███████║ 8 | ╚══════╝╚═╝*****╚═╝**╚═╝*╚═════╝╚══════╝╚═╝*****╚═╝╚═╝**╚═╝*╚═════╝╚══════╝ 9 | -------------------------------------------------------------------------------- /layers/+tools/pandoc/funcs.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- pandoc Layer functions File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Christoph Paulik 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (defun spacemacs/run-pandoc () 13 | "Start pandoc for the buffer and open the menu" 14 | (interactive) 15 | (pandoc-mode) 16 | (pandoc-main-hydra/body)) 17 | -------------------------------------------------------------------------------- /layers/+web-services/elfeed/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- elfeed Layer configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;;; Variables 13 | 14 | (defvar elfeed-enable-web-interface nil 15 | "If non nil start a web server to consult the database in a web browser.") 16 | -------------------------------------------------------------------------------- /layers/+emacs/better-defaults/keybindings.el: -------------------------------------------------------------------------------- 1 | ;;; keybindings.el --- Better Emacs Defaults Layer key bindings File 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (global-set-key (kbd "C-w") 'spacemacs/backward-kill-word-or-region) 13 | (global-set-key [remap fill-paragraph] #'spacemacs/fill-or-unfill) 14 | -------------------------------------------------------------------------------- /layers/+vim/evil-snipe/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- evil-snipe Layer configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; Variables 13 | 14 | (defvar evil-snipe-enable-alternate-f-and-t-behaviors nil 15 | "if non nil f/F/t/T behaviors are replaced by evil-snipe behavior.") 16 | -------------------------------------------------------------------------------- /tests/layers/+distribution/spacemacs/Makefile: -------------------------------------------------------------------------------- 1 | ## Makefile --- Spacemacs Core 2 | ## 3 | ## Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ## 5 | ## Author: Sylvain Benner 6 | ## URL: https://github.com/syl20bnr/spacemacs 7 | ## 8 | ## This file is not part of GNU Emacs. 9 | ## 10 | ## License: GPLv3 11 | 12 | TEST_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) 13 | 14 | LOAD_FILES = init.el 15 | UNIT_TEST_FILES = 16 | FUNC_TEST_FILES = 17 | 18 | include ../../../../spacemacs.mk 19 | -------------------------------------------------------------------------------- /layers/+lang/shell-scripts/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- Shell Scripts Layer Configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; variables 13 | (spacemacs|defvar-company-backends sh-mode) 14 | (spacemacs|defvar-company-backends fish-mode) 15 | 16 | (spacemacs|define-jump-handlers sh-mode) 17 | -------------------------------------------------------------------------------- /layers/+lang/html/funcs.el: -------------------------------------------------------------------------------- 1 | ;;; funcs.el --- HTML Layer functions File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (defun spacemacs/emmet-expand () 13 | (interactive) 14 | (if (bound-and-true-p yas-minor-mode) 15 | (call-interactively 'emmet-expand-yas) 16 | (call-interactively 'emmet-expand-line))) 17 | -------------------------------------------------------------------------------- /layers/+lang/shaders/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- shaders layer packages File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Alan Love 6 | ;; URL: https://github.com/ell 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GLPv3 11 | (setq shaders-packages '(glsl-mode)) 12 | 13 | (defun shaders/init-glsl-mode () 14 | "Initialize GLSL mode" 15 | (use-package glsl-mode 16 | :mode (("\\.fsh\\'" . glsl-mode) 17 | ("\\.vsh\\'" . glsl-mode)))) 18 | -------------------------------------------------------------------------------- /layers/+completion/auto-completion/local/snippets/emacs-lisp-mode/new-package: -------------------------------------------------------------------------------- 1 | # -*- mode: snippet; require-final-newline: nil -*- 2 | # contributor: Diego Berrocal (cestdiego 4t gm4il d0t com) 3 | # name: new-package 4 | # key: newp 5 | # binding: direct-keybinding 6 | # -- 7 | (defun `(spacemacs/get-parent-dir)`/init-${2:package-name} () 8 | ${3:(use-package $2 9 | ${4::defer t 10 | }${5::init 11 | ${;; This block executes before the package has been loaded} 12 | }${:config 13 | ${;; This block executes after the package has been loaded} 14 | })}) 15 | $0 -------------------------------------------------------------------------------- /layers/+completion/ivy/layers.el: -------------------------------------------------------------------------------- 1 | ;;; layers.el --- Ivy Layer layers File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; smex is handled by the `ivy' layer and we don't want 13 | ;; to use the ownership mechanism of layers because it is dependent 14 | ;; on the order of layer declaration 15 | (configuration-layer/remove-layer 'smex) 16 | -------------------------------------------------------------------------------- /layers/+lang/vimscript/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Vimscript language layer 2 | 3 | * Table of Contents :TOC_4_gh:noexport: 4 | - [[#description][Description]] 5 | - [[#install][Install]] 6 | 7 | * Description 8 | 9 | This layer adds syntax highlighting support for vim filetypes, in addition to 10 | the pentadactyl firefox extension. 11 | 12 | * Install 13 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 14 | add =vimscript= to the existing =dotspacemacs-configuration-layers= list in this 15 | file. 16 | -------------------------------------------------------------------------------- /core/templates/REPORTING.template: -------------------------------------------------------------------------------- 1 | <> 2 | #### Description :octocat: 3 | <> 4 | 5 | #### Reproduction guide :beetle: 6 | - Start Emacs 7 | - <> 8 | 9 | *Observed behaviour:* :eyes: :broken_heart: 10 | <> 11 | 12 | *Expected behaviour:* :heart: :smile: 13 | <> 14 | 15 | (%LAST_KEYS%) 16 | %SYSTEM_INFO% 17 | 18 | #### Backtrace :paw_prints: 19 | ``` 20 | %BACKTRACE% 21 | ``` 22 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: generic 2 | sudo: false 3 | 4 | branches: 5 | only: 6 | - master 7 | - develop 8 | 9 | before_install: 10 | - curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > x.sh && source ./x.sh 11 | - evm install $EVM_EMACS --use --skip 12 | 13 | env: 14 | - EVM_EMACS=emacs-24.4-travis 15 | - EVM_EMACS=emacs-24.5-travis 16 | - EVM_EMACS=emacs-git-snapshot-travis 17 | 18 | matrix: 19 | fast_finish: true 20 | allow_failures: 21 | env: 22 | - EVM_EMACS=emacs-git-snapshot-travis 23 | 24 | script: 25 | - ./.travis-build.sh 26 | -------------------------------------------------------------------------------- /layers/+chat/erc/local/erc-yank/README.md: -------------------------------------------------------------------------------- 1 | # erc-yank 2 | 3 | Automagically create a Gist if pasting more than 5 lines 4 | 5 | Hook in as follows: 6 | 7 | (add-hook 'erc-mode-hook 8 | (lambda () (define-key erc-mode-map [(control ?y)] 'erc-yank))) 9 | 10 | Or, if you want to use my `use-package' macro: 11 | 12 | (use-package erc 13 | :commands erc 14 | :config 15 | (use-package erc-yank 16 | :init 17 | (bind-key "C-y" 'erc-yank erc-mode-map))) 18 | 19 | This module requires gist.el, from: https://github.com/defunkt/gist.el 20 | -------------------------------------------------------------------------------- /layers/+lang/markdown/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- Markdown Layer Configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; variables 13 | 14 | (spacemacs|defvar-company-backends markdown-mode) 15 | 16 | (defvar markdown-live-preview-engine 'eww 17 | "Possibe values are `eww' (built-in browser) or `vmd' (installed with `npm').") 18 | -------------------------------------------------------------------------------- /layers/+emacs/ibuffer/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- ibuffer configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Aleksandr Guljajev 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (defvar ibuffer-group-buffers-by 'modes 13 | "If non nil ibuffer will group the buffers according to the passed symbol. 14 | The supported values are `modes' to group by major-modes and `projects' to 15 | group by projectile projects.") 16 | -------------------------------------------------------------------------------- /layers/+lang/erlang/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Erlang layer 2 | 3 | [[file:img/erlang.png]] 4 | 5 | * Table of Contents :TOC_4_gh:noexport: 6 | - [[#description][Description]] 7 | - [[#install][Install]] 8 | 9 | * Description 10 | 11 | Very basic layer for Erlang with support for basic =syntax-checking= and 12 | =auto-completion= with the corresponding layers. 13 | 14 | * Install 15 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 16 | add =erlang= to the existing =dotspacemacs-configuration-layers= list in this 17 | file. 18 | -------------------------------------------------------------------------------- /layers/+lang/javascript/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- Javascript Layer configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; Variables 13 | 14 | (spacemacs|defvar-company-backends js2-mode) 15 | 16 | (spacemacs|define-jump-handlers js2-mode) 17 | 18 | (defvar javascript-disable-tern-port-files t 19 | "Stops tern from creating tern port files.") 20 | -------------------------------------------------------------------------------- /layers/+source-control/git/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- Git Layer configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; Variables 13 | 14 | (defvar git-enable-magit-svn-plugin nil 15 | "If non nil `magit-svn' plugin is enabled.") 16 | 17 | (defvar git-magit-status-fullscreen nil 18 | "If non nil magit-status buffer is displayed in fullscreen.") 19 | -------------------------------------------------------------------------------- /layers/+lang/emacs-lisp/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- Emacs Lisp Layer configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; Variables 13 | 14 | (spacemacs|defvar-company-backends emacs-lisp-mode) 15 | (spacemacs|defvar-company-backends ielm-mode) 16 | 17 | (spacemacs|define-jump-handlers emacs-lisp-mode) 18 | (spacemacs|define-jump-handlers lisp-interaction-mode) 19 | -------------------------------------------------------------------------------- /layers/+tools/ansible/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- Ansible Layer functions File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Brian Hicks 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; detect filenames compatible with Ansible's recommended layout. 13 | ;; http://docs.ansible.com/playbooks_best_practices.html#directory-layout 14 | (setq ansible/ansible-filename-re 15 | "\\(site\.yml\\|roles/.+\.yml\\|group_vars/.+\\|host_vars/.+\\)") 16 | -------------------------------------------------------------------------------- /layers/+tools/dash/funcs.el: -------------------------------------------------------------------------------- 1 | ;;; funcs.el --- Dash Layer functions File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; URL: https://github.com/syl20bnr/spacemacs 6 | ;; 7 | ;; This file is not part of GNU Emacs. 8 | ;; 9 | ;;; License: GPLv3 10 | 11 | (defun dash//activate-package-docsets (path) 12 | "Add dash docsets from specified PATH." 13 | (setq helm-dash-docsets-path path 14 | helm-dash-common-docsets (helm-dash-installed-docsets)) 15 | (message (format "activated %d docsets from: %s" 16 | (length helm-dash-common-docsets) path))) 17 | -------------------------------------------------------------------------------- /layers/+tools/terraform/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Terraform layer 2 | 3 | [[file:img/terraform.png]] 4 | 5 | * Table of Contents :TOC_4_gh:noexport: 6 | - [[#description][Description]] 7 | - [[#install][Install]] 8 | 9 | * Description 10 | This layer provides syntax support for Terraform =.tf= files using 11 | [[https://github.com/syohex/emacs-terraform-mode][terraform-mode]]. 12 | 13 | * Install 14 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 15 | add =terraform= to the existing =dotspacemacs-configuration-layers= list in this 16 | file. 17 | -------------------------------------------------------------------------------- /tests/layers/+distribution/spacemacs-base/Makefile: -------------------------------------------------------------------------------- 1 | ## Makefile --- Spacemacs Core 2 | ## 3 | ## Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ## 5 | ## Author: Sylvain Benner 6 | ## URL: https://github.com/syl20bnr/spacemacs 7 | ## 8 | ## This file is not part of GNU Emacs. 9 | ## 10 | ## License: GPLv3 11 | 12 | TEST_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) 13 | 14 | LOAD_FILES = init.el 15 | UNIT_TEST_FILES = \ 16 | evil-evilified-state-utest.el 17 | FUNC_TEST_FILES = \ 18 | evil-evilified-state-ftest.el 19 | 20 | include ../../../../spacemacs.mk 21 | -------------------------------------------------------------------------------- /core/banners/003-banner.txt: -------------------------------------------------------------------------------- 1 | 2 | ⠀⠀⠀⢀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ 3 | ⠀⣠⣾⣿⣿⣿⣷⣶⣤⣀⡤⣤⡒⢖⠖⢖⢒⠢⠤⢄⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀ 4 | ⠠⣿⠛⠉⠁⢉⣹⢿⣿⣿⣿⣷⣼⢸⢸⢨⠢⡡⢑⡠⠀⠑⠢⢄⠀⠀⠀⠀⠀⠀ 5 | ⠨⡃⠀⢀⡴⡣⣗⢵⣣⢟⣟⣿⣿⣿⣎⡎⡎⡜⡐⢽⣾⡄⠀⠈⠑⢄⠀⠀⠀⠀ 6 | ⠀⢇⣠⢯⡪⣯⣺⢽⢾⣽⡽⣾⣺⣝⢿⣿⣼⢨⠢⡑⢿⣷⠀⠀⠀⠀⠳⡀⠀⠀ 7 | ⠀⡸⡪⡪⣿⣾⣺⡽⣿⣳⢯⡿⣵⢷⣝⢼⢻⣯⣎⠢⢹⣿⣇⠀⠀⠀⠀⠱⡀⠀ 8 | ⢰⡫⢪⢪⡘⠿⣿⣿⣿⣾⣯⣿⢽⡳⣕⢇⢗⢜⢻⣧⡡⣿⣿⡄⠀⠀⠀⠀⢣⠀ Welcome to 9 | ⣞⢨⢊⢎⢆⠀⠀⠉⢿⣿⣿⣿⣿⣿⣷⣯⣮⣮⣦⣽⣿⣿⣿⣇⠀⠀⠀⠀⠈⡆ 10 | ⡧⢑⠔⡡⢣⠂⠀⠀⠀⢓⢝⢟⡻⡿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡀⠀⠀⠀⠀⡇ [ S p a c e m a c s ] 11 | ⡏⠄⠡⢊⢂⢅⠀⠀⠀⠀⠇⡇⠎⢎⠢⡩⠛⠻⢿⣿⣿⣿⣿⣿⡆⠀⠀⠀⢀⠇ 12 | ⢸⡀⡁⢁⠂⡂⠀⠀⠀⠀⠈⠔⡑⠡⢊⠐⡈⠌⢀⠀⠙⠻⢿⣿⣷⠀⠀⠀⡸⠀ 13 | ⠀⢣⠀⠀⠠⠈⠀⠀⠀⠀⠀⠀⠂⠌⠐⠠⠀⠀⠀⠀⠀⠀⠀⠈⠙⠀⠀⢠⠃⠀ 14 | ⠀⠀⢣⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡠⠃⠀⠀ 15 | ⠀⠀⠀⠑⢄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠔⠁⠀⠀⠀ 16 | ⠀⠀⠀⠀⠀⠙⠤⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡠⠔⠁⠀⠀⠀⠀⠀ 17 | ⠀⠀⠀⠀⠀⠀⠀⠙⠒⠤⠤⣀⣀⣀⣀⣀⡠⠤⠔⠒⠉⠀⠀⠀⠀⠀⠀⠀⠀ 18 | -------------------------------------------------------------------------------- /core/banners/004-banner.txt: -------------------------------------------------------------------------------- 1 | 2 | ⠀⠀⠀⣀⣀⣀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ 3 | ⠀⢀⠎⠁⠀⠀⠈⠉⠒⠦⢀⡀⡄⡤⡤⡤⡤⡤⣄⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ 4 | ⠀⡎⡠⠒⠉⠉⢑⢲⢀⠀⠀⠈⠪⢣⢫⡺⣹⡹⣝⠾⣻⣶⣤⡀⠀⠀⠀⠀⠀⠀ 5 | ⠀⢿⡅⠀⠠⡰⡊⡎⡪⢊⠢⡠⢀⠀⠘⠜⣜⢎⡯⣳⠀⠳⣻⣿⣷⡄⠀⠀⠀⠀ 6 | ⠀⢹⣇⡠⠫⡪⡊⡢⢊⠨⠨⡂⢕⢐⠄⡀⠈⢺⢸⣝⡆⠀⢻⣷⣿⣿⣦⡀⠀⠀ 7 | ⠀⠈⣟⢪⢇⠀⠑⠌⠢⠡⡃⠢⡑⡐⢅⢇⢆⠀⠑⢕⣯⡀⠀⢿⣿⣿⣿⣷⡀⠀ 8 | ⠀⣐⢵⢣⢻⣦⣀⠀⠀⠁⠈⠌⠢⡊⡜⡔⡕⡭⢆⠈⠺⡄⠀⠸⣿⣿⣿⣿⣧⠀ Welcome to 9 | ⠀⣵⡫⡮⡣⣿⣿⣿⣦⡀⠀⠀⠀⠀⠀⠈⠘⠘⠙⠑⠀⠀⠀⠀⢿⣿⣿⣿⣿⡀ 10 | ⠀⣗⡯⣞⢵⢽⣿⣿⣿⣟⡕⡕⡤⡠⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢹⣿⣿⣿⣿⡆ [ S p a c e m a c s ] 11 | ⠀⣯⢿⣺⣝⢮⣿⣿⣿⣿⣿⡪⡮⣳⢝⡽⣲⢤⣄⡀⠀⠀⠀⠀⠈⣿⣿⣿⣿⠂ 12 | ⠀⢸⣿⡽⣾⣳⣻⣿⣿⣿⣿⣾⡽⣺⢵⡯⣯⣿⣳⡿⣷⣦⣄⠀⠀⢿⣿⣿⡟⠀ 13 | ⠀⠀⢺⣿⣯⣿⣽⣿⣿⣿⣿⣿⣿⣽⣯⣟⣿⣾⣿⣿⣿⣿⣿⣿⣶⣼⣿⡿⠁⠀ 14 | ⠀⠀⠀⠻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡟⠁⠀⠀ 15 | ⠀⠀⠀⠀⠘⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠋⠀⠀⠀⠀ 16 | ⠀⠀⠀⠀⠀⠀⠉⠻⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠟⠋⠀⠀⠀⠀⠀⠀ 17 | ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠛⠻⠻⠿⠿⠿⠛⠛⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀ 18 | -------------------------------------------------------------------------------- /layers/+os/osx/funcs.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- OSX Layer packages File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Boris Buliga 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (defun osx/list-available-dictionaries () 13 | "Get list of available dictionaries. 14 | 15 | Useful when setting `osx-dictionary-dictionary-choice'." 16 | (interactive) 17 | (message (shell-command-to-string 18 | (format "%s -l" (osx-dictionary-cli-find-or-recompile))))) 19 | -------------------------------------------------------------------------------- /layers/+tools/nginx/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: nginx layer 2 | 3 | [[file:img/nginx.png]] 4 | 5 | * Table of Contents :TOC_4_gh:noexport: 6 | - [[#description][Description]] 7 | - [[#install][Install]] 8 | 9 | * Description 10 | [[https://github.com/ajc/nginx-mode][nginx-mode]] for editing [[http://nginx.org][nginx]] configuration files. 11 | It adds basic syntax highlighting and syntax-aware tabbing. 12 | 13 | * Install 14 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 15 | add =nginx= to the existing =dotspacemacs-configuration-layers= list in this 16 | file. 17 | -------------------------------------------------------------------------------- /layers/+lang/shell-scripts/funcs.el: -------------------------------------------------------------------------------- 1 | ;;; funcs.el --- Shell Scripts Layer functions File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | 13 | ;; shebang 14 | 15 | (defun spacemacs/insert-shebang () 16 | "Insert shebang line at the top of the file." 17 | (interactive) 18 | (require 'insert-shebang) 19 | (insert-shebang-get-extension-and-insert 20 | (file-name-nondirectory (buffer-file-name)))) 21 | -------------------------------------------------------------------------------- /layers/+lang/python/local/pylookup/makefile: -------------------------------------------------------------------------------- 1 | VER := $(shell python --version 2>&1 | grep -o "[0-9].[0-9].[0-9]*") 2 | MAJOR_VERSION = $(shell python --version 2>&1 | grep -o "Python [0-9]" | grep -o "[0-9]") 3 | ZIP := python-${VER}-docs-html.zip 4 | URL := https://docs.python.org/2/archives/${ZIP} 5 | URL2:= https://docs.python.org/3/archives/${ZIP} 6 | 7 | ifneq (2,${MAJOR_VERSION}) 8 | URL := ${URL2} 9 | endif 10 | 11 | download: 12 | @if [ ! -e ${ZIP} ] ; then \ 13 | echo "Downloading ${URL}"; \ 14 | wget ${URL}; \ 15 | unzip ${ZIP}; \ 16 | fi 17 | ./pylookup.py -u $(ZIP:.zip=) 18 | 19 | .PHONY: download 20 | -------------------------------------------------------------------------------- /core/banners/002-banner.txt: -------------------------------------------------------------------------------- 1 | 2 | ╭─┏━━━┓───────────────────────────────────────────────────────────────────╮ 3 | │ ┃┏━┓┃ Welcome to │ 4 | │ ┃┗━━┓ ┏━━┓ ┏━━┓ ┏━━┓ ┏━━┓ ┏┓┏┓ ┏━━┓ ┏━━┓ ┏━━┓ b │ 5 | │ ┗━━┓┃┏━━┓┃┏┓┃┏━━┓┃┏┓┃┏━━┓┃┏━┛┏━━┓┃┃━┫┏━━┓┃┗┛┃┏━━┓┃┏┓┃┏━━┓┃┏━┛┏━━┓┃━━┫ e │ 6 | │ ┃┗━┛┃┗━━┛┃┗┛┃┗━━┛┃┏┓┃┗━━┛┃┗━┓┗━━┛┃┃━┫┗━━┛┃┃┃┃┗━━┛┃┏┓┃┗━━┛┃┗━┓┗━━┛┣━━┃ t │ 7 | │ ┗━━━┛ ┃┏━┛ ┗┛┗┛ ┗━━┛ ┗━━┛ ┗┻┻┛ ┗┛┗┛ ┗━━┛ ┗━━┛ a │ 8 | │ ┃┃[The best editor is neither Emacs nor Vim, it's Emacs+Vim] │ 9 | ╰──────────┗┛─────────────────────────────────────────────────────────────╯ 10 | -------------------------------------------------------------------------------- /layers/+lang/purescript/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- Purescript Layer config File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Ryan L. Bell 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (spacemacs|defvar-company-backends purescript-mode) 13 | 14 | (spacemacs|define-jump-handlers purescript-mode) 15 | 16 | (defvar purescript-add-import-on-completion t 17 | "If non-nil adds imports for completed identifiers") 18 | 19 | (defvar purescript-enable-rebuild-on-save nil 20 | "If non-nil rebuild on save is enabled") 21 | -------------------------------------------------------------------------------- /layers/+lang/shaders/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Shaders layer 2 | 3 | [[file:img/shaders.png]] 4 | 5 | * Table of Contents :TOC_4_gh:noexport: 6 | - [[#description][Description]] 7 | - [[#install][Install]] 8 | 9 | * Description 10 | This layer provides syntax highlighting for shader files. By default it will 11 | provide highlighting for files ending in: 12 | - =.fsh= 13 | - =.vsh= 14 | - =.glsl= 15 | - =.vert= 16 | - =.frag= 17 | - =.geom= 18 | 19 | * Install 20 | To use this configuration layer, add it to your =~.spacemacs=. You will need to 21 | add =shaders= to the existing =dotspacemacs-configuration-layers= list in this 22 | file. 23 | -------------------------------------------------------------------------------- /layers/+tools/geolocation/extensions.el: -------------------------------------------------------------------------------- 1 | ;;; extensions.el --- geolocation configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2014 Sylvain Benner 4 | ;; Copyright (c) 2014-2015 Uri Sharf & Contributors 5 | ;; 6 | ;; Author: Uri Sharf 7 | ;; URL: https://github.com/usharf/spacemacs 8 | ;; 9 | ;; This file is not part of GNU Emacs. 10 | ;; 11 | ;;; License: GPLv3 12 | 13 | (setq geolocation-post-extensions '(theme-changer)) 14 | 15 | (defun geolocation/init-theme-changer () 16 | "Initialize theme-changer" 17 | (use-package theme-changer 18 | :if (and geolocation-enable-automatic-theme-changer 19 | (> (length dotspacemacs-themes) 1)))) 20 | -------------------------------------------------------------------------------- /core/info/release-notes/0.200.txt: -------------------------------------------------------------------------------- 1 | The Autumnal Cleanup 2016 is complete! Thank you to everyone 2 | who helped keep the issue tracker clean. In particular 3 | 4 | 1. gilbertw1 (230 issues, 27.09%) 5 | 2. NJBS (98 issues, 11.54%) 6 | 3. mahinshaw (90 issues, 10.60%) 7 | 4. smile13241324 (75 issues, 8.83%) 8 | 5. deb0ch (66 issues, 7.77%) 9 | 10 | as well as bleggett, jredville, lazywithclass, rgrinberg, 11 | kdelwat, cmr, bmag, ksjogo, ekmecic, cro, inirudebwoy, 12 | mwillsey, robbyoconnor and alimoeeny. And of course, last but 13 | not least, the hard working organizer d12frosted! 14 | 15 | For more info on release 0.200.x see the newsletter #01 at 16 | [[http://spacemacs.org/news/news01.html]] 17 | -------------------------------------------------------------------------------- /layers/+checkers/spell-checking/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- Spell Checking Layer configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (defvar spell-checking-enable-by-default t 13 | "Enable spell checking by default.") 14 | 15 | (defvar spell-checking-enable-auto-dictionary nil 16 | "Specify if auto-dictionary should be enabled or not.") 17 | 18 | (defvar enable-flyspell-auto-completion nil 19 | "If not nil, show speeling suggestions in popups.") 20 | -------------------------------------------------------------------------------- /layers/+lang/html/config.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- HTML Layer packages File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; Variables 13 | 14 | (spacemacs|defvar-company-backends css-mode) 15 | (spacemacs|defvar-company-backends jade-mode) 16 | (spacemacs|defvar-company-backends slim-mode) 17 | (spacemacs|defvar-company-backends web-mode) 18 | ;;TODO: when this becomes available -- uncomment. -@robbyoconnor 19 | ;; (spacemacs|defvar-company-backends haml-mode) 20 | 21 | -------------------------------------------------------------------------------- /layers/+checkers/syntax-checking/funcs.el: -------------------------------------------------------------------------------- 1 | ;;; funcs.el --- Syntax Checking Layer functions File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (defun spacemacs/add-flycheck-hook (mode) 13 | "Use flycheck in MODE by default, if `syntax-checking-enable-by-default' is 14 | true." 15 | (when (and syntax-checking-enable-by-default 16 | (listp flycheck-global-modes) 17 | (not (eq 'not (car flycheck-global-modes)))) 18 | (push mode flycheck-global-modes))) 19 | -------------------------------------------------------------------------------- /layers/+fun/games/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- Games Layer configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; Variable 13 | 14 | (defvar spacemacs-games-cache-directory 15 | (concat spacemacs-cache-directory "games/") 16 | "Directory where to store games data.") 17 | 18 | ;; create the game cache directory 19 | (unless (file-exists-p spacemacs-games-cache-directory) 20 | (make-directory spacemacs-games-cache-directory)) 21 | 22 | (setq helm-games-list nil) 23 | -------------------------------------------------------------------------------- /layers/+tags/gtags/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- gtags configuration File 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (defvar gtags-enable-by-default t 13 | "Whether or not to enable ggtags-mode.") 14 | 15 | (spacemacs|define-jump-handlers tcl-mode) 16 | (spacemacs|define-jump-handlers vhdl-mode) 17 | (spacemacs|define-jump-handlers awk-mode) 18 | (spacemacs|define-jump-handlers dired-mode) 19 | (spacemacs|define-jump-handlers compilation-mode) 20 | (spacemacs|define-jump-handlers shell-mode) 21 | -------------------------------------------------------------------------------- /layers/+fun/selectric/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- selectric Layer packages File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Gergely Nagy 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (setq selectric-packages '(selectric-mode)) 13 | 14 | (defun selectric/init-selectric-mode () 15 | (use-package selectric-mode 16 | ;; at the moment of adding this layer, selectric-mode is not 17 | ;; autoloaded. 18 | :commands selectric-mode 19 | :init (spacemacs/set-leader-keys "C-t t" 'selectric-mode) 20 | :config (spacemacs|diminish selectric-mode "♬" "Tw"))) 21 | -------------------------------------------------------------------------------- /layers/+tools/ansible/funcs.el: -------------------------------------------------------------------------------- 1 | ;;; funcs.el --- Ansible Layer functions File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Brian Hicks 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | (defun ansible/ansible-should-enable? () 12 | (and (stringp buffer-file-name) 13 | (string-match ansible/ansible-filename-re buffer-file-name))) 14 | 15 | (defun ansible/ansible-maybe-enable () 16 | (when (ansible/ansible-should-enable?) (ansible 1))) 17 | 18 | (defun ansible/ansible-doc-maybe-enable () 19 | (when (ansible/ansible-should-enable?) (ansible-doc-mode 1))) 20 | -------------------------------------------------------------------------------- /layers/+themes/theming/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- Theming Layer packages File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (defconst theming-packages 13 | '((theming :location local))) 14 | 15 | (defun theming/init-theming () 16 | ;; Apply theme customizations after any call to load-theme 17 | (advice-add 'load-theme :after 'spacemacs//theming) 18 | ;; Apply the initial customizations now, because load-theme has already been called 19 | (spacemacs//theming spacemacs--cur-theme)) 20 | -------------------------------------------------------------------------------- /layers/+emacs/semantic/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- semantic Layer configuration 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sebastian Wiesner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (defvar agda-mode-path 'use-helper 13 | "Indicates the location of the agda-mode package (the file 14 | `agda2.el') If `nil', it is assumed to be already available by 15 | Emacs. If `use-helper', the `agda-mode' executable is used to 16 | find its location.") 17 | 18 | (spacemacs|define-jump-handlers agda2-mode agda2-goto-definition-keyboard) 19 | (spacemacs|defvar-company-backends agda2-mode) 20 | -------------------------------------------------------------------------------- /layers/+tools/geolocation/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- geolocation configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (defvar geolocation-enable-automatic-theme-changer nil 13 | "If non nil enable the automatic change of theme based on the current time.") 14 | 15 | (defvar geolocation-enable-location-service nil 16 | "If non nil enable the OS X location service support.") 17 | 18 | (defvar geolocation-enable-weather-forecast nil 19 | "If non nil enable the weather forecast service.") 20 | 21 | -------------------------------------------------------------------------------- /tests/core/Makefile: -------------------------------------------------------------------------------- 1 | ## Makefile --- Spacemacs Core 2 | ## 3 | ## Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ## 5 | ## Author: Sylvain Benner 6 | ## URL: https://github.com/syl20bnr/spacemacs 7 | ## 8 | ## This file is not part of GNU Emacs. 9 | ## 10 | ## License: GPLv3 11 | 12 | TEST_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) 13 | 14 | LOAD_FILES = core/core-load-paths.el 15 | UNIT_TEST_FILES = \ 16 | core-configuration-layer-utest.el \ 17 | core-funcs-utest.el 18 | FUNC_TEST_FILES = \ 19 | core-spacemacs-ftest.el \ 20 | core-spacemacs-buffer-ftest.el \ 21 | core-configuration-layer-ftest.el \ 22 | core-release-management-ftest.el 23 | 24 | include ../../spacemacs.mk 25 | -------------------------------------------------------------------------------- /layers/+emacs/smex/funcs.el: -------------------------------------------------------------------------------- 1 | ;;; funcs.el --- Smex Layer functions File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (defun spacemacs/smex () 13 | "Execute smex with a better prompt." 14 | (interactive) 15 | (let ((smex-prompt-string "Emacs commands: ")) 16 | (smex))) 17 | 18 | (defun spacemacs/smex-major-mode-commands () 19 | "Reexecute smex with major mode commands only." 20 | (interactive) 21 | (let ((smex-prompt-string (format "%s commands: " major-mode))) 22 | (smex-major-mode-commands))) 23 | -------------------------------------------------------------------------------- /layers/+chat/jabber/funcs.el: -------------------------------------------------------------------------------- 1 | ;;; funcs.el --- Jabber layer functions File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (defun spacemacs/jabber-connect-hook (jc) 13 | (jabber-send-presence "" "Online" 10) 14 | (jabber-whitespace-ping-start) 15 | ;; Disable the minibuffer getting jabber messages when active 16 | ;; See http://www.emacswiki.org/JabberEl 17 | (define-jabber-alert echo "Show a message in the echo area" 18 | (lambda (msg) 19 | (unless (minibuffer-prompt) 20 | (message "%s" msg))))) 21 | -------------------------------------------------------------------------------- /layers/+vim/evil-commentary/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- evil-commentary Layer packages File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (setq evil-commentary-packages 13 | '(evil-commentary 14 | (evil-nerd-commenter :excluded t) 15 | )) 16 | 17 | (defun evil-commentary/init-evil-commentary () 18 | (use-package evil-commentary 19 | :diminish evil-commentary-mode 20 | :init 21 | (progn 22 | (evil-commentary-mode) 23 | (spacemacs/set-leader-keys ";" 'evil-commentary)))) 24 | -------------------------------------------------------------------------------- /layers/+checkers/syntax-checking/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- Syntax Checking Layer configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; Variables 13 | 14 | (defvar syntax-checking-enable-tooltips t 15 | "If non nil some feedback are displayed in tooltips.") 16 | 17 | (defvar syntax-checking-enable-by-default t 18 | "Enable syntax-checking by default.") 19 | 20 | (defvar syntax-checking-use-original-bitmaps nil 21 | "If non-nil, use the original bitmaps from flycheck.") 22 | 23 | ;; Command Prefixes 24 | 25 | -------------------------------------------------------------------------------- /layers/+lang/typescript/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- Typescript Layer Configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (spacemacs|defvar-company-backends typescript-mode) 13 | 14 | (defvar typescript-fmt-on-save nil 15 | "Run formatter on buffer save.") 16 | 17 | (defvar typescript-fmt-tool 'tide 18 | "The name of the tool to be used 19 | for TypeScript source code formatting. 20 | Currently avaliable 'tide (default) 21 | and 'typescript-formatter .") 22 | 23 | (spacemacs|define-jump-handlers typescript-mode) 24 | -------------------------------------------------------------------------------- /layers/+tools/rebox/funcs.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- rebox layer function file for Spacemacs. 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Christian E. Hopps 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (defun rebox-enable-hook () 13 | "Until rebox is fixed for C style comments we have to disable" 14 | (and (not (or (eq major-mode 'c-mode) 15 | (eq major-mode 'c++-mode) 16 | (eq major-mode 'objc-mode))) 17 | (rebox-mode))) 18 | 19 | (defun spacemacs/rebox-dwim-previous () 20 | "Cycle to previous style in `rebox-style-loop'." 21 | (interactive) 22 | (rebox-dwim '(4))) 23 | -------------------------------------------------------------------------------- /tests/core/core-spacemacs-ftest.el: -------------------------------------------------------------------------------- 1 | ;;; core-spacemacs-ftest.el --- Spacemacs Functional Test File 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Alberto Zaccagni 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | (require 'mocker) 12 | (require 'core-spacemacs) 13 | 14 | (ert-deftest assertion-library-should-work () 15 | "the assertion library should works" 16 | (mocker-let ((foo (n) 17 | ((:input '(1) :output 1))) 18 | (bar (n m) 19 | ((:input '(2 2) :output 2)))) 20 | (should (equal (foo 1) 1)) 21 | (should (equal (bar 2 2) 2)))) 22 | 23 | -------------------------------------------------------------------------------- /layers/+lang/elixir/funcs.el: -------------------------------------------------------------------------------- 1 | ;;; funcs.el --- Elixir Layer functions File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (defun spacemacs//elixir-do-end-close-action (id action context) 13 | (when (eq action 'insert) 14 | (newline-and-indent) 15 | (forward-line -1) 16 | (indent-according-to-mode))) 17 | 18 | (defun spacemacs//elixir-enable-compilation-checking () 19 | "Enable compile checking if `elixir-enable-compilation-checking' is non nil." 20 | (when (or elixir-enable-compilation-checking) 21 | (flycheck-mix-setup))) 22 | -------------------------------------------------------------------------------- /layers/+themes/themes-megapack/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Themes Megapack layer 2 | 3 | * Table of Contents :TOC_4_gh:noexport: 4 | - [[#what-is-this][What is this?]] 5 | - [[#install][Install]] 6 | 7 | * What is this? 8 | This simple contribution layer is an example. It installs around 100 themes 9 | for Emacs. You can try them easily by invoking helm-themes with: ~SPC T s~. 10 | 11 | You can see samples of all included themes in this [[http://themegallery.robdor.com][theme gallery]] from [[http://www.twitter.com/robmerrell][Rob Merrell]]. 12 | 13 | * Install 14 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 15 | add =themes-megapack= to the existing =dotspacemacs-configuration-layers= list in this 16 | file. 17 | -------------------------------------------------------------------------------- /layers/+spacemacs/spacemacs-ui-visual/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- Spacemacs UI Visual Layer configuration File 2 | ;; 3 | ;; Copyright (c) 2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Riccardo Murri 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (defcustom spacemacs-spaceline-additional-segments 13 | '((new-version :when active)) 14 | "Additional segments for the Spacemacs modeline. 15 | 16 | They are inserted in the modeline between `global' and 17 | `buffer-position'. 18 | 19 | Must be a list of valid segments; see `spaceline-install' for 20 | more information on what constitutes a valid segment." 21 | :type '(repeat sexp) 22 | :group 'spacemacs) 23 | -------------------------------------------------------------------------------- /layers/+tools/salt/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Saltstack layer 2 | 3 | [[file:img/saltstack.png]] 4 | 5 | * Table of Contents :TOC_4_gh:noexport: 6 | - [[#description][Description]] 7 | - [[#install][Install]] 8 | - [[#key-bindings][Key bindings]] 9 | 10 | * Description 11 | This layer provides syntax highlighting for Saltstack files. 12 | 13 | * Install 14 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 15 | add =salt= to the existing =dotspacemacs-configuration-layers= list in this 16 | file. 17 | 18 | * Key bindings 19 | 20 | | Key Binding | Description | 21 | |-------------+----------------------------------------------| 22 | | ~SPC m p b~ | mmm-mode parse buffer via =mmm-parse-buffer= | 23 | -------------------------------------------------------------------------------- /layers/+lang/c-c++/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- C/C++ Layer config File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; variables 13 | 14 | (defvar c-c++-enable-clang-support nil 15 | "If non nil Clang related packages and configuration are enabled.") 16 | 17 | (spacemacs|defvar-company-backends c-mode-common) 18 | (spacemacs|defvar-company-backends cmake-mode) 19 | 20 | (spacemacs|define-jump-handlers c++-mode) 21 | (spacemacs|define-jump-handlers c-mode) 22 | 23 | (defvar c-c++-default-mode-for-headers 'c-mode 24 | "Default mode to open header files. Can be `c-mode' or `c++-mode'.") 25 | -------------------------------------------------------------------------------- /layers/+lang/autohotkey/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- autohotkey Layer packages File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; Author: Rich Alesi 7 | ;; URL: https://github.com/syl20bnr/spacemacs 8 | ;; 9 | ;; This file is not part of GNU Emacs. 10 | ;; 11 | ;;; License: GPLv3 12 | 13 | (setq autohotkey-packages 14 | '(ahk-mode)) 15 | 16 | (defun autohotkey/init-ahk-mode () 17 | (use-package ahk-mode 18 | :mode "\\.ahk\\'" 19 | :defer t 20 | :init 21 | (spacemacs/set-leader-keys-for-major-mode 'ahk-mode 22 | "cb" 'ahk-comment-block-dwim 23 | "cc" 'ahk-comment-dwim 24 | "eb" 'ahk-run-script 25 | "hh" 'ahk-lookup-web 26 | "hH" 'ahk-lookup-chm))) 27 | -------------------------------------------------------------------------------- /layers/+tools/chrome/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- Chrome Layer packages File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Ben Hayden 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (setq chrome-packages '( 13 | edit-server 14 | gmail-message-mode 15 | )) 16 | 17 | (defun chrome/init-edit-server () 18 | (use-package edit-server 19 | :init 20 | (progn 21 | (edit-server-start)) 22 | :config 23 | (progn 24 | (setq edit-server-default-major-mode 'markdown-mode)) 25 | )) 26 | 27 | (defun chrome/init-gmail-message-mode ( ) 28 | (use-package gmail-message-mode)) 29 | -------------------------------------------------------------------------------- /layers/+chat/erc/funcs.el: -------------------------------------------------------------------------------- 1 | ;;; funcs.el --- Spacemacs ERC Layer functions File 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (defun erc//servers (server-list) 13 | (dolist (s server-list) 14 | (setq s (copy-list s)) 15 | (apply (if 16 | (plist-get (cdr s) :ssl) 17 | (progn 18 | (remf (cdr s) :ssl) 19 | 'erc-tls) 20 | 'erc) 21 | :server s))) 22 | 23 | (defun erc/default-servers () 24 | (interactive) 25 | (if erc-server-list 26 | (erc//servers erc-server-list) 27 | (message "You must define erc-server-list"))) 28 | -------------------------------------------------------------------------------- /layers/+themes/colors/local/nyan-mode/img/rainbow.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char *rainbow[] = { 3 | /* columns rows colors chars-per-pixel */ 4 | "8 15 21 1 ", 5 | " c #522244", 6 | ". c #BF1119", 7 | "X c #F52A02", 8 | "o c #FC7800", 9 | "O c #FBA500", 10 | "+ c #FCA500", 11 | "@ c #F0D300", 12 | "# c #B4BF00", 13 | "$ c #B5BF00", 14 | "% c #4D9801", 15 | "& c #4E9802", 16 | "* c #4E9801", 17 | "= c #2CCB13", 18 | "- c #20D15C", 19 | "; c #0EA7CB", 20 | ": c #0EA6CB", 21 | "> c #1E7FF7", 22 | ", c #1E80F7", 23 | "< c #5247F7", 24 | "1 c #5536D9", 25 | "2 c #263498", 26 | /* pixels */ 27 | " ", 28 | "........", 29 | "XXXXXXXX", 30 | "oooooooo", 31 | "OOOOO+O+", 32 | "@@@@@@@@", 33 | "#####$##", 34 | "%&&*&&&&", 35 | "========", 36 | "--------", 37 | ";;;:;;:;", 38 | ">,,>,,,,", 39 | "<<<<<<<<", 40 | "11111111", 41 | "22222222" 42 | }; 43 | -------------------------------------------------------------------------------- /layers/+vim/evil-cleverparens/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- evil-cleverparens Layer packages File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (setq evil-cleverparens-packages 13 | '(evil-cleverparens)) 14 | 15 | (defun evil-cleverparens/init-evil-cleverparens () 16 | (use-package evil-cleverparens 17 | :defer t 18 | :diminish evil-cleverparens-mode 19 | :init 20 | (progn 21 | (setq evil-cleverparens-use-regular-insert t) 22 | (spacemacs|add-toggle evil-cleverparens 23 | :mode evil-cleverparens-mode 24 | :documentation "Enable evil-cleverparens.")))) 25 | -------------------------------------------------------------------------------- /layers/+email/mu4e/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- mu4e Layer configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (defvar mu4e-installation-path nil 13 | "Installation path for mu4e.") 14 | 15 | (defvar mu4e-account-alist nil 16 | "Account alist for custom multi-account compose.") 17 | 18 | (defvar mu4e-enable-notifications nil 19 | "If non-nil, enable desktop notifications for unread emails.") 20 | 21 | (defvar mu4e-enable-mode-line nil 22 | "If non-nil, enable display of unread emails in mode-line.") 23 | 24 | (when mu4e-installation-path 25 | (push mu4e-installation-path load-path)) 26 | -------------------------------------------------------------------------------- /layers/+lang/common-lisp/funcs.el: -------------------------------------------------------------------------------- 1 | ;;; funcs.el --- Slime Layer functions File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | 13 | ;; Helm integration 14 | 15 | (defun spacemacs//slime-helm-source (&optional table) 16 | (or table (setq table slime-lisp-implementations)) 17 | `((name . "Slime") 18 | (candidates . ,(mapcar #'car table)) 19 | (action . (lambda (candidate) 20 | (car (helm-marked-candidates)))))) 21 | 22 | (defun spacemacs/helm-slime () 23 | (interactive) 24 | (let ((command (helm :sources (spacemacs//slime-helm-source)))) 25 | (and command (slime (intern command))))) 26 | -------------------------------------------------------------------------------- /layers/+lang/elixir/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- Elixir Layer configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; Variables 13 | 14 | (defvar elixir-enable-compilation-checking nil 15 | "If non-nil syntax checking is enable for compilation. 16 | Default is nil because Elixir compilation is based on macros and thus it 17 | is unsafe. Activate this option only for trusted code, usage of a 18 | directory variable is recommended.") 19 | 20 | (spacemacs|defvar-company-backends elixir-mode) 21 | (spacemacs|defvar-company-backends alchemist-iex-mode) 22 | 23 | (spacemacs|define-jump-handlers elixir-mode) 24 | -------------------------------------------------------------------------------- /layers/+tools/ansible/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Ansible layer 2 | 3 | [[file:img/ansible.png]] 4 | 5 | * Table of Contents :TOC_4_gh:noexport: 6 | - [[#description][Description]] 7 | - [[#install][Install]] 8 | - [[#key-bindings][Key bindings]] 9 | 10 | * Description 11 | This layer adds support for Ansible-flavored YAML buffers and Jinja2 templates. 12 | 13 | * Install 14 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 15 | add =ansible= to the existing =dotspacemacs-configuration-layers= list in this 16 | file. 17 | 18 | * Key bindings 19 | 20 | | Key Binding | Description | 21 | |-------------+------------------------------------------| 22 | | ~SPC m h a~ | looks up documentation using [[https://github.com/lunaryorn/ansible-doc.el][ansible-doc]] | 23 | -------------------------------------------------------------------------------- /layers/+os/osx/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- OSX Layer config File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (defvar osx-use-option-as-meta t 13 | "If non nil the option key is mapped to meta. Set to `nil` if you need the 14 | option key to type common characters.") 15 | 16 | (defvar osx-use-dictionary-app t 17 | "If non nil use osx dictionary app instead of wordnet") 18 | 19 | ;; Use the OS X Emoji font for Emoticons 20 | (when (fboundp 'set-fontset-font) 21 | (set-fontset-font "fontset-default" 22 | '(#x1F600 . #x1F64F) 23 | (font-spec :name "Apple Color Emoji") nil 'prepend)) 24 | -------------------------------------------------------------------------------- /layers/+themes/colors/local/nyan-mode/img/rainbow-start.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char *rainbow[] = { 3 | /* columns rows colors chars-per-pixel */ 4 | "8 15 22 1 ", 5 | " c #522244", 6 | ". c #BF1119", 7 | "X c #F52A02", 8 | "o c #FC7800", 9 | "O c #FBA500", 10 | "+ c #FCA500", 11 | "@ c #F0D300", 12 | "# c #B4BF00", 13 | "$ c #B5BF00", 14 | "% c #4D9801", 15 | "& c #4E9802", 16 | "* c #4E9801", 17 | "= c #2CCB13", 18 | "- c #20D15C", 19 | "; c #0EA7CB", 20 | ": c #0EA6CB", 21 | "> c #1E7FF7", 22 | ", c #1E80F7", 23 | "< c #5247F7", 24 | "1 c #5536D9", 25 | "2 c #263498", 26 | "T c None", 27 | /* pixels */ 28 | "TTT ", 29 | "TTTT....", 30 | "TTTXXXXX", 31 | "TToooooo", 32 | "TTTOO+O+", 33 | "TTTT@@@@", 34 | "TTT##$##", 35 | "TT&*&&&&", 36 | "TTT=====", 37 | "TTTT----", 38 | "TTT:;;:;", 39 | "TT,>,,,,", 40 | "TTT<<<<<", 41 | "TTTT1111", 42 | "TTT22222" 43 | }; 44 | -------------------------------------------------------------------------------- /layers/+lang/yaml/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: YAML layer 2 | 3 | * Table of Contents :TOC_4_gh:noexport: 4 | - [[#description][Description]] 5 | - [[#install][Install]] 6 | - [[#syntax-checking-with-flycheck][Syntax checking with flycheck]] 7 | 8 | * Description 9 | This layer provides syntax highlighting and syntax checking via [[http://www.flycheck.org/en/latest/languages.html#yaml][flycheck]] for YAML files. 10 | 11 | * Install 12 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 13 | add =yaml= to the existing =dotspacemacs-configuration-layers= list in this 14 | file. 15 | 16 | * Syntax checking with flycheck 17 | Flycheck checks YAML with yaml-jsyaml or yaml-ruby. The flycheck YAML 18 | documentation can be found at the [[http://www.flycheck.org/en/latest/languages.html#yaml][flycheck website]]. 19 | -------------------------------------------------------------------------------- /layers/+chat/rcirc/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- rcirc Layer configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; Variables 13 | 14 | (defvar rcirc-enable-authinfo-support nil 15 | "if non nil then authentication uses authinfo.") 16 | 17 | (defvar rcirc-enable-znc-support nil 18 | "if non nil then znc is enabled.") 19 | 20 | (defvar rcirc-spacemacs-layout-name "@RCIRC" 21 | "Name used in the setup for `spacemacs-layouts' micro-state") 22 | 23 | (defvar rcirc-spacemacs-layout-binding "i" 24 | "Binding used in the setup for `spacemacs-layouts' micro-state") 25 | 26 | (spacemacs|defvar-company-backends rcirc-mode) 27 | -------------------------------------------------------------------------------- /layers/+tools/systemd/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- systemd layer packages file for Spacemacs. 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Fabien Dubosson 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (defconst systemd-packages 13 | '(systemd) 14 | "The list of Lisp packages required by the systemd layer.") 15 | 16 | (defun systemd/init-systemd () 17 | (use-package systemd 18 | :defer t 19 | :init (setq systemd-use-company-p 20 | (configuration-layer/package-usedp 'company)) 21 | :config (spacemacs/set-leader-keys-for-major-mode 'systemd-mode 22 | "hd" 'systemd-doc-directives 23 | "ho" 'systemd-doc-open))) 24 | 25 | ;;; packages.el ends here 26 | -------------------------------------------------------------------------------- /layers/+chat/erc/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- erc Layer configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (defvar erc-enable-sasl-auth nil 13 | "If non nil then use SASL authenthication with ERC.") 14 | 15 | (defvar erc-spacemacs-layout-name "@ERC" 16 | "Name used in the setup for `spacemacs-layouts' micro-state") 17 | 18 | (defvar erc-spacemacs-layout-binding "E" 19 | "Binding used in the setup for `spacemacs-layouts' micro-state") 20 | 21 | (defvar erc-server-list nil 22 | "If non nil, connect automatically to the specified servers with the given credentials.") 23 | 24 | (spacemacs|defvar-company-backends erc-mode) 25 | -------------------------------------------------------------------------------- /layers/+tools/speed-reading/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Speed Reading layer 2 | 3 | * Table of Contents :TOC_4_gh:noexport: 4 | - [[#description][Description]] 5 | - [[#install][Install]] 6 | - [[#key-bindings][Key bindings]] 7 | 8 | * Description 9 | A speed reading mode for Emacs. 10 | 11 | * Install 12 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 13 | add =speed-reading= to the existing =dotspacemacs-configuration-layers= list in this 14 | file. 15 | 16 | * Key bindings 17 | 18 | | Key Binding | Description | 19 | |-------------+---------------| 20 | | ~SPC a R~ | Start Spray | 21 | | ~SPC~ | Pause Spray | 22 | | ~h~ | Backward word | 23 | | ~l~ | Forward word | 24 | | ~f~ | Faster speed | 25 | | ~s~ | Slower speed | 26 | | ~q~ | Quit Spray | 27 | -------------------------------------------------------------------------------- /private/README.md: -------------------------------------------------------------------------------- 1 | # Private directory 2 | 3 | The content of this directory is ignored by Git. This is the default place 4 | where to store your private configuration layers. 5 | 6 | To create a new configuration layer: 7 | 8 | SPC SPC configuration-layer/create-layer RET 9 | 10 | Then enter the name of your configuration in the prompt. 11 | 12 | A directory named after the created configuration layer will be created here 13 | along with template files within it (packages.el and extensions.el, more info 14 | on the meaning of those files can be found in the [documentation][conf_layers]). 15 | 16 | Each created file has further guidance written in them. 17 | 18 | Once the configuration is done, restart Emacs to load, install and configure 19 | your layer. 20 | 21 | [conf_layers]: https://github.com/syl20bnr/spacemacs/blob/master/doc/DOCUMENTATION.org#extensions-and-packages 22 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | auto-save-list/ 2 | elpa/ 3 | export/ 4 | ac-comphist.dat 5 | eproject.lst 6 | .smex-items 7 | \#* 8 | .places 9 | .cache 10 | /eww-bookmarks 11 | eshell/history 12 | .emacs.desktop 13 | .emacs.desktop.lock 14 | eshell/alias 15 | eshell/lastdir 16 | /url/cookies 17 | my-org/ 18 | org-files/ 19 | semanticdb/ 20 | edts/ 21 | .recentf 22 | .recentf~ 23 | projectile.cache 24 | projectile-bookmarks.eld 25 | tramp 26 | elnode/ 27 | var/ 28 | crown/ 29 | *.stackdump 30 | bookmarks 31 | /.my-keybindings.el.swp 32 | .DS_Store 33 | tmp/ 34 | /history 35 | .python-environments/ 36 | server/ 37 | /network-security.data 38 | *.elc 39 | *.pyc 40 | /*.zip 41 | *.db 42 | python-*-docs-html 43 | /.cask/ 44 | /session.* 45 | /srecode-map.el 46 | /recentf 47 | 48 | # Private directory 49 | private/ 50 | !private/README.md 51 | !private/snippets/README.md 52 | !private/local/README.md 53 | /games/ 54 | -------------------------------------------------------------------------------- /layers/+lang/go/config.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- Go Layer packages File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; variables 13 | 14 | (spacemacs|defvar-company-backends go-mode) 15 | 16 | (spacemacs|define-jump-handlers go-mode godef-jump) 17 | 18 | (defvar go-use-gocheck-for-testing nil 19 | "If using gocheck for testing when running the tests -check.f will be used instead of -run to specify the test that will be ran. Gocheck is mandatory for testing suites.") 20 | 21 | (defvar go-tab-width 8 22 | "Set the `tab-width' in Go mode. Default is 8.") 23 | 24 | (defvar go-use-gometalinter nil 25 | "Use gometalinter if the variable has non-nil value.") 26 | -------------------------------------------------------------------------------- /layers/+tools/command-log/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: command-log layer 2 | 3 | * Table of Contents :TOC_4_gh:noexport: 4 | - [[#description][Description]] 5 | - [[#install][Install]] 6 | - [[#key-bindings][Key bindings]] 7 | 8 | * Description 9 | command-log can be used to demo Emacs to an audience. When activated, 10 | keystrokes get logged into a designated buffer, along with the command 11 | bound to them. For more info check [[https://github.com/lewang/command-log-mode][command-log-mode]]. 12 | 13 | * Install 14 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 15 | add =command-log= to the existing =dotspacemacs-configuration-layers= list in this 16 | file. 17 | 18 | * Key bindings 19 | 20 | | Key Binding | Description | 21 | |-------------+------------------------| 22 | | ~SPC a L~ | Toggle the command log | 23 | -------------------------------------------------------------------------------- /layers/+tools/fasd/packages.el: -------------------------------------------------------------------------------- 1 | (setq fasd-packages 2 | '( 3 | fasd 4 | )) 5 | 6 | (defun fasd-find-file-only () 7 | (interactive) 8 | (fasd-find-file -1)) 9 | 10 | (defun fasd-find-directory-only () 11 | (interactive) 12 | (fasd-find-file 1)) 13 | 14 | (defun fasd/init-fasd () 15 | "initializes fasd-emacs and adds a key binding to `SPC f z'" 16 | (use-package fasd 17 | :init 18 | (progn 19 | (global-fasd-mode 1) 20 | (spacemacs/declare-prefix "fa" "fasd-find") 21 | (spacemacs/set-leader-keys "fad" 'fasd-find-directory-only) 22 | (spacemacs/set-leader-keys "faf" 'fasd-find-file-only) 23 | (spacemacs/set-leader-keys "fas" 'fasd-find-file) 24 | 25 | ;; we will fall back to using the default completing-read function, which is helm once helm is loaded. 26 | (setq fasd-completing-read-function 'nil) 27 | ) 28 | ) 29 | ) 30 | -------------------------------------------------------------------------------- /layers/+tools/tmux/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- tmux Layer packages File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | (setq tmux-packages 12 | '( 13 | golden-ratio 14 | (tmux :location local) 15 | )) 16 | 17 | (defun tmux/post-init-golden-ratio () 18 | (with-eval-after-load 'golden-ratio 19 | (add-to-list 'golden-ratio-extra-commands 'tmux-nav-left) 20 | (add-to-list 'golden-ratio-extra-commands 'tmux-nav-right) 21 | (add-to-list 'golden-ratio-extra-commands 'tmux-nav-up) 22 | (add-to-list 'golden-ratio-extra-commands 'tmux-nav-down))) 23 | 24 | (defun tmux/init-tmux () 25 | "Initialize tmux" 26 | (use-package tmux)) 27 | -------------------------------------------------------------------------------- /layers/+fun/xkcd/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- xkcd Layer packages File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (setq xkcd-packages '(xkcd)) 13 | 14 | (defun xkcd/init-xkcd () 15 | (use-package xkcd-mode 16 | :defer t 17 | :init 18 | (progn 19 | (setq xkcd-cache-dir (concat spacemacs-cache-directory "xkcd/")) 20 | (when (not (file-directory-p xkcd-cache-dir)) 21 | (make-directory xkcd-cache-dir)) 22 | (spacemacs/set-leader-keys 23 | "ax" 'xkcd) 24 | (evilified-state-evilify xkcd-mode xkcd-mode-map 25 | "h" 'xkcd-prev 26 | "j" 'xkcd-next 27 | "k" 'xkcd-prev 28 | "l" 'xkcd-next)))) 29 | -------------------------------------------------------------------------------- /layers/+lang/php/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: PHP layer 2 | 3 | [[file:img/php.png]] 4 | 5 | * Table of Contents :TOC_4_gh:noexport: 6 | - [[#description][Description]] 7 | - [[#features][Features:]] 8 | - [[#install][Install]] 9 | - [[#key-bindings][Key bindings]] 10 | 11 | * Description 12 | 13 | This layer adds PHP language support to Spacemacs. 14 | 15 | ** Features: 16 | - Edit PHP files using [[https://github.com/ejmr/php-mode][php-mode]] 17 | - Edit Drupal files 18 | - Run tests with PHPUnit 19 | - Reformat code with PHP CBF 20 | 21 | The =gtags= layer is recommended to benefit from better =eldoc= and 22 | =helm-gtags=. 23 | 24 | * Install 25 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 26 | add =php= to the existing =dotspacemacs-configuration-layers= list in this 27 | file. 28 | 29 | * Key bindings 30 | 31 | TODO ! :-) 32 | -------------------------------------------------------------------------------- /layers/+checkers/spell-checking/funcs.el: -------------------------------------------------------------------------------- 1 | ;;; funcs.el --- Spell Checking Layer functions File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (defun spell-checking/add-flyspell-hook (hook) 13 | "Add `flyspell-mode' to the given HOOK, if 14 | `spell-checking-enable-by-default' is true." 15 | (when spell-checking-enable-by-default 16 | (add-hook hook 'flyspell-mode))) 17 | 18 | (defun spell-checking/change-dictionary () 19 | "Change the dictionary. Use the ispell version if 20 | auto-dictionary is not used, use the adict version otherwise." 21 | (interactive) 22 | (if (fboundp 'adict-change-dictionary) 23 | (adict-change-dictionary) 24 | (call-interactively 'ispell-change-dictionary))) 25 | -------------------------------------------------------------------------------- /layers/+fun/selectric/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: selectric layer 2 | 3 | [[file:img/typewriter.jpg]] 4 | 5 | * Table of Contents :TOC_4_gh:noexport: 6 | - [[#description][Description]] 7 | - [[#install][Install]] 8 | - [[#key-bindings][Key Bindings]] 9 | 10 | * Description 11 | This layer makes your Emacs sound like an IBM Selectric typewriter, for those 12 | moments when your loud, clicky mechanical keyboard is not at hand, yet, you'd 13 | still wish to enjoy the sound. 14 | 15 | * Install 16 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 17 | add =selectric= to the existing =dotspacemacs-configuration-layers= list in this 18 | file. 19 | 20 | * Key Bindings 21 | 22 | | Key Binding | Description | 23 | |-------------+--------------------------| 24 | | ~SPC C-t t~ | Toggle clicky key sounds | 25 | 26 | * Notes 27 | 28 | IBM Selectric image by Oliver Kurmis 29 | -------------------------------------------------------------------------------- /layers/+lang/scala/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- Scala Layer configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (spacemacs|define-jump-handlers scala-mode) 13 | 14 | (spacemacs|define-jump-handlers scala-mode) 15 | 16 | (defvar scala-enable-eldoc nil 17 | "If non nil then eldoc-mode is enabled in the scala layer.") 18 | 19 | (defvar scala-auto-insert-asterisk-in-comments nil 20 | "If non-nil automatically insert leading asterisk in multi-line comments.") 21 | 22 | (defvar scala-use-unicode-arrows nil 23 | "If non-nil then `->`, `=>` and `<-` are replaced with unicode arrows.") 24 | 25 | (defvar scala-auto-start-ensime nil 26 | "If non nil then ensime will be started when a scala file is opened.") 27 | -------------------------------------------------------------------------------- /layers/+web-services/spotify/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Spotify layer 2 | 3 | [[file:img/spotify.png]] 4 | 5 | * Table of Contents :TOC_4_gh:noexport: 6 | - [[#description][Description]] 7 | - [[#install][Install]] 8 | - [[#key-bindings][Key bindings]] 9 | 10 | * Description 11 | 12 | This layer adds key bindings for controlling Spotify from inside Emacs. 13 | 14 | * Install 15 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 16 | add =spotify= to the existing =dotspacemacs-configuration-layers= list in this 17 | file. 18 | 19 | * Key bindings 20 | 21 | | Key Binding | Description | 22 | |---------------+--------------------------| 23 | | ~SPC a m s p~ | Play or pause Spotify | 24 | | ~SPC a m s n~ | Go to the next track | 25 | | ~SPC a m s N~ | Go to the previous track | 26 | | ~SPC a m s g~ | Search for a new track | 27 | | ~SPC a m s Q~ | Quit Spotify | 28 | -------------------------------------------------------------------------------- /layers/+vim/evil-cleverparens/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Evil-Cleverparens layer 2 | 3 | * Table of Contents :TOC_4_gh:noexport: 4 | - [[#description][Description]] 5 | - [[#install][Install]] 6 | 7 | * Description 8 | 9 | This simple layer adds the [[https://github.com/luxbock/evil-cleverparens][evil-cleverparens]] package, which overrides common 10 | normal-mode vim commands like D, dd, c, etc. to keep parentheses balanced. See 11 | the repository for more details. 12 | 13 | * Install 14 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 15 | add =evil-cleverparens= to the existing =dotspacemacs-configuration-layers= list 16 | in this file. 17 | 18 | Then enable it in your =user-config= function and add your desired hooks, for 19 | example: 20 | 21 | #+BEGIN_SRC emacs-lisp 22 | (spacemacs/toggle-evil-cleverparens-on) 23 | (add-hook 'clojure-mode-hook #'evil-cleverparens-mode) 24 | #+END_SRC 25 | -------------------------------------------------------------------------------- /layers/+emacs/better-defaults/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- Better Emacs Defaults Layer configuration variables File 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Thomas de Beauchêne 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (defvar better-defaults-move-to-beginning-of-code-first t 13 | "when t, first stroke of C-a will move the cursor to the beginning of code. 14 | When nil, first stroke will go to the beginning of line. 15 | Subsequent strokes will toggle between beginning of line and beginning of code.") 16 | 17 | (defvar better-defaults-move-to-end-of-code-first nil 18 | "when t, first stroke of C-e will move the cursor to the end of code (before comments). 19 | When nil, first stroke will go to the end of line (after comments). 20 | Subsequent strokes will toggle between end of line and end of code.") 21 | -------------------------------------------------------------------------------- /layers/+tools/prodigy/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- Prodigy Layer packages File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (setq prodigy-packages '(prodigy)) 13 | 14 | (defun prodigy/init-prodigy () 15 | (use-package prodigy 16 | :init 17 | (spacemacs/set-leader-keys "aS" 'prodigy) 18 | :config 19 | (evilified-state-evilify prodigy-mode prodigy-mode-map 20 | "h" 'prodigy-first 21 | "j" 'prodigy-next 22 | "k" 'prodigy-prev 23 | "l" 'prodigy-last 24 | "H" 'prodigy-display-process 25 | "J" 'prodigy-next-with-status 26 | "K" 'prodigy-prev-with-status 27 | "L" 'prodigy-start 28 | "d" 'prodigy-jump-dired 29 | "g" 'prodigy-jump-magit 30 | "Y" 'prodigy-copy-cmd))) 31 | -------------------------------------------------------------------------------- /layers/+emacs/better-defaults/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- Better Emacs Defaults Layer functions File 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Thomas de Beauchêne 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (defconst better-defaults-packages 13 | '(mwim) 14 | "The list of Lisp packages required by the mwim layer.") 15 | 16 | (defun better-defaults/init-mwim () 17 | (use-package mwim 18 | :defer t 19 | :init 20 | (progn 21 | (if better-defaults-move-to-beginning-of-code-first 22 | (global-set-key (kbd "C-a") 'mwim-beginning-of-code-or-line) 23 | (global-set-key (kbd "C-a") 'mwim-beginning-of-line-or-code)) 24 | 25 | (if better-defaults-move-to-end-of-code-first 26 | (global-set-key (kbd "C-e") 'mwim-end-of-code-or-line) 27 | (global-set-key (kbd "C-e") 'mwim-end-of-line-or-code))))) 28 | -------------------------------------------------------------------------------- /layers/+tools/salt/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- Salt Layer packages File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Ben Hayden 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; Salt mode URL: https://github.com/beardedprojamz/salt-mode 8 | ;; 9 | ;; This file is not part of GNU Emacs. 10 | ;; 11 | ;;; License: GPLv3 12 | (setq salt-packages '(salt-mode 13 | smartparens)) 14 | 15 | (defun salt/init-salt-mode () 16 | (use-package salt-mode 17 | :defer t 18 | :config (spacemacs/set-leader-keys-for-major-mode 'salt-mode "pb" 'mmm-parse-buffer))) 19 | 20 | (defun salt/pre-init-smartparens () 21 | (add-hook 'salt-mode-hook 'smartparens-mode) 22 | (spacemacs|use-package-add-hook smartparens 23 | :post-config 24 | (progn 25 | (sp-local-pair 'salt-mode "{{" " }}") 26 | (sp-local-pair 'salt-mode "{%" " %}") 27 | (sp-local-pair 'salt-mode "{#" " #}")))) 28 | -------------------------------------------------------------------------------- /layers/+lang/ruby/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- Ruby Layer configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; Variables 13 | 14 | (spacemacs|defvar-company-backends enh-ruby-mode) 15 | (spacemacs|defvar-company-backends ruby-mode) 16 | 17 | (spacemacs|define-jump-handlers enh-ruby-mode) 18 | (spacemacs|define-jump-handlers ruby-mode) 19 | 20 | (defvar ruby-enable-enh-ruby-mode nil 21 | "If non-nil, use `enh-ruby-mode' package instead of the built-in Ruby Mode.") 22 | 23 | (defvar ruby-version-manager nil 24 | "If non nil, defines the Ruby version manager. 25 | Possible values are `rbenv', `rvm' or `chruby'.)") 26 | 27 | (defvar ruby-test-runner 'ruby-test 28 | "Test runner to use. Possible values are `ruby-test', `minitest' or `rspec'.") 29 | -------------------------------------------------------------------------------- /layers/+lang/yaml/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- YAML Layer packages File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | (setq yaml-packages '(company 12 | flycheck 13 | yaml-mode)) 14 | 15 | (defun yaml/post-init-company () 16 | (spacemacs|add-company-hook yaml-mode)) 17 | 18 | (defun yaml/post-init-flycheck () 19 | (spacemacs/add-flycheck-hook 'yaml-mode)) 20 | 21 | (defun yaml/init-yaml-mode () 22 | "Initialize YAML mode" 23 | (use-package yaml-mode 24 | :mode (("\\.\\(yml\\|yaml\\)\\'" . yaml-mode) 25 | ("Procfile\\'" . yaml-mode)) 26 | :config (add-hook 'yaml-mode-hook 27 | '(lambda () 28 | (define-key yaml-mode-map "\C-m" 'newline-and-indent))))) 29 | -------------------------------------------------------------------------------- /layers/+tools/systemd/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: systemd layer 2 | 3 | * Table of Contents :TOC_4_gh:noexport: 4 | - [[#description][Description]] 5 | - [[#install][Install]] 6 | - [[#key-bindings][Key bindings]] 7 | 8 | * Description 9 | This layer provides syntax highlighting for systemd files and completion through 10 | =company= if the =auto-completion= layer is used. 11 | 12 | * Install 13 | To use this contribution add it to your =~/.spacemacs= 14 | 15 | #+begin_src emacs-lisp 16 | (setq-default dotspacemacs-configuration-layers '(systemd)) 17 | #+end_src 18 | 19 | * Key bindings 20 | 21 | | Key Binding | Description | 22 | |-------------+--------------------------------------------------------------------------| 23 | | ~SPC m h d~ | Systemd open the directives documentation | 24 | | ~SPC m h o~ | Systemd open documentation (if a =\=Documentation= directive is provided | 25 | -------------------------------------------------------------------------------- /layers/+emacs/org/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- Org configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; Variables 13 | 14 | (defvar org-enable-bootstrap-support nil 15 | "If non-nil Twitter Bootstrap related packages are configured.") 16 | 17 | (defvar org-enable-github-support nil 18 | "If non-nil Github related packages are configured.") 19 | 20 | (defvar org-enable-reveal-js-support nil 21 | "If non-nil, enable export to reveal.js.") 22 | 23 | (defvar org-projectile-file "TODOs.org" 24 | "The file to store project TODOs in. If this is a relative 25 | path, one file per project is used (and the path is relative to 26 | the project root). If it an absolute path, one global file is 27 | used.") 28 | 29 | (spacemacs|defvar-company-backends org-mode) 30 | -------------------------------------------------------------------------------- /layers/+lang/faust/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- faust layer packages file for Spacemacs. 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Bart Brouns 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;;; Code: 13 | 14 | (defconst faust-packages 15 | '(company 16 | faust-mode 17 | yasnippet)) 18 | 19 | (defun faust/post-init-company () 20 | (spacemacs|add-company-hook faust-mode)) 21 | 22 | (defun faust/init-faust-mode () 23 | (use-package faust-mode 24 | :defer t 25 | :mode "\\.\\(dsp\\|lib\\)\\'" 26 | :init 27 | (progn 28 | (spacemacs/set-leader-keys-for-major-mode 'faust-mode 29 | "cf" 'spacemacs/faust-to-firefox 30 | "cg" 'spacemacs/faust-to-jack-gtk 31 | "cq" 'spacemacs/faust-to-jack-qt)))) 32 | 33 | (defun faust/post-init-yasnippet () 34 | (add-hook 'faust-mode-hook 'spacemacs/load-yasnippet)) 35 | -------------------------------------------------------------------------------- /layers/+vim/vim-empty-lines/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Vim-empty-lines layer 2 | 3 | * Table of Contents :TOC_4_gh:noexport: 4 | - [[#description][Description]] 5 | - [[#install][Install]] 6 | 7 | * Description 8 | 9 | This layer is a drop-in replacement for the =vi-tilde-fringe= mode, for those 10 | who desire behaviour closer to =vim='s. 11 | 12 | It has better compatibility with retina displays, as it uses a text overlay 13 | using your font, rather than a pixel-art tilde. The empty line indicators are 14 | overlaid in within the buffer as in =vim=, and not in the fringe. The indicator 15 | behaviour with trailing empty lines matches =vim='s behaviour. 16 | 17 | For details, see the [[https://github.com/jmickelin/vim-empty-lines-mode][vim-empty-lines-mode]] repository. 18 | 19 | * Install 20 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 21 | add =vim-empty-lines= to the existing =dotspacemacs-configuration-layers= list in this 22 | file. 23 | -------------------------------------------------------------------------------- /layers/+tools/pandoc/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- pandoc Layer packages File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Christoph Paulik 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (setq pandoc-packages 13 | '(pandoc-mode 14 | ox-pandoc 15 | )) 16 | 17 | (defun pandoc/init-pandoc-mode () 18 | "Initialize my package" 19 | (use-package pandoc-mode 20 | :defer t 21 | :commands spacemacs/run-pandoc 22 | :config 23 | (progn 24 | (setq pandoc-data-dir (concat spacemacs-cache-directory "pandoc/")) 25 | (add-hook 'pandoc-mode-hook 'pandoc-load-default-settings)) 26 | :init 27 | (spacemacs/set-leader-keys "P/" 'spacemacs/run-pandoc))) 28 | 29 | (defun pandoc/init-ox-pandoc () 30 | (use-package ox-pandoc 31 | :defer t 32 | :init 33 | (with-eval-after-load 'org (require 'ox-pandoc)))) 34 | -------------------------------------------------------------------------------- /layers/+os/nixos/packages.el: -------------------------------------------------------------------------------- 1 | (setq nixos-packages 2 | '( 3 | company 4 | (company-nixos-options :toggle (configuration-layer/package-usedp 'company)) 5 | (helm-nixos-options :toggle (configuration-layer/package-usedp 'helm)) 6 | nix-mode 7 | nixos-options 8 | )) 9 | 10 | (defun nixos/post-init-company () 11 | (spacemacs|add-company-hook nix-mode) 12 | (push 'company-capf company-backends-nix-mode)) 13 | 14 | (defun nixos/init-company-nixos-options () 15 | (use-package company-nixos-options 16 | :defer t 17 | :init 18 | (push 'company-nixos-options company-backends-nix-mode))) 19 | 20 | (defun nixos/init-helm-nixos-options () 21 | (use-package helm-nixos-options 22 | :config 23 | (spacemacs/set-leader-keys 24 | "h>" 'helm-nixos-options))) 25 | 26 | (defun nixos/init-nix-mode () 27 | (use-package nix-mode) 28 | (add-to-list 'spacemacs-indent-sensitive-modes 'nix-mode)) 29 | 30 | (defun nixos/init-nixos-options () 31 | (use-package nixos-options)) 32 | -------------------------------------------------------------------------------- /layers/+emacs/smex/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Smex layer 2 | 3 | [[file:img/smex.png]] 4 | 5 | * Table of Contents :TOC_4_gh:noexport: 6 | - [[#description][Description]] 7 | - [[#install][Install]] 8 | - [[#key-bindings][Key bindings]] 9 | 10 | * Description 11 | This layer replaces =helm-M-x= by [[https://github.com/nonsequitur/smex][smex]] which is built on top of =ido=. 12 | =ido= can perform flex matching with the [[https://github.com/lewang/flx][flx-ido]] mode which is already 13 | activated in the Spacemacs layer. 14 | 15 | * Install 16 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 17 | add =smex= to the existing =dotspacemacs-configuration-layers= list in this 18 | file. 19 | 20 | * Key bindings 21 | 22 | | Key Binding | Description | 23 | |-------------+--------------------------------------------| 24 | | ~SPC :~ | all Emacs commands (interactive functions) | 25 | | ~SPC m :~ | current major mode commands | 26 | -------------------------------------------------------------------------------- /layers/+lang/clojure/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- Clojure Layer configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; --------------------------------------------------------------------------- 13 | ;; Prefixes 14 | ;; --------------------------------------------------------------------------- 15 | 16 | ;; Variables 17 | 18 | (spacemacs|defvar-company-backends cider-mode) 19 | (spacemacs|defvar-company-backends cider-repl-mode) 20 | 21 | (spacemacs|define-jump-handlers clojure-mode) 22 | (spacemacs|define-jump-handlers clojurec-mode) 23 | (spacemacs|define-jump-handlers clojurescript-mode) 24 | (spacemacs|define-jump-handlers clojurex-mode) 25 | (spacemacs|define-jump-handlers cider-repl-mode) 26 | 27 | (defvar clojure-enable-fancify-symbols nil 28 | "If non nil the `fancify-symbols' function is enabled.") 29 | -------------------------------------------------------------------------------- /layers/+lang/plantuml/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- plantuml layer packages file for Spacemacs. 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Robert O'Connor 6 | ;; Contributor: Carlo Sciolla 7 | ;; URL: https://github.com/robbyoconnor 8 | ;; 9 | ;;; Commentary: 10 | ;; 11 | ;; Adds PlantUML support to Spacemacs using plantuml-mode. 12 | ;; This file is not part of GNU Emacs. 13 | ;; 14 | ;;; License: GPLv3 15 | 16 | 17 | ;;; Code: 18 | (defconst plantuml-packages 19 | '(org 20 | plantuml-mode)) 21 | 22 | (defun plantuml/post-init-org () 23 | (spacemacs|use-package-add-hook org 24 | :post-config (add-to-list 'org-babel-load-languages '(plantuml . t)))) 25 | 26 | (defun plantuml/init-plantuml-mode () 27 | (use-package plantuml-mode 28 | :defer t 29 | :mode ("\\.pum\\'" . plantuml-mode) 30 | :config (spacemacs/set-leader-keys-for-major-mode 'plantuml-mode 31 | "cc" 'plantuml-preview 32 | "co" 'plantuml-set-output-type))) 33 | -------------------------------------------------------------------------------- /layers/+tools/cfengine/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- cfengine layer packages file for Spacemacs. 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Nick Anderson 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (defconst cfengine-packages 13 | '( 14 | (cfengine3-mode :location built-in) 15 | company 16 | eldoc 17 | flycheck 18 | )) 19 | 20 | (defun cfengine/init-cfengine3-mode () 21 | (use-package cfengine3-mode 22 | :defer t 23 | :mode ("\\.cf\\'" . cfengine3-mode) 24 | :init (spacemacs/set-leader-keys-for-major-mode 'cfengine3-mode 25 | "j" 'cfengine3-reformat-json-string))) 26 | 27 | (defun cfengine/post-init-company () 28 | (spacemacs|add-company-hook cfengine3-mode)) 29 | 30 | (defun cfengine/post-init-eldoc () 31 | (add-hook 'cfengine3-mode-hook 'eldoc-mode)) 32 | 33 | (defun cfengine/post-init-flycheck () 34 | (spacemacs/add-flycheck-hook 'cfengine3-mode-hook)) 35 | -------------------------------------------------------------------------------- /layers/+lang/haskell/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- Haskell Layer configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Bjarke Vad Andersen 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; Variables 13 | 14 | (setq haskell-modes '(haskell-mode literate-haskell-mode)) 15 | 16 | (spacemacs|defvar-company-backends haskell-mode) 17 | (spacemacs|defvar-company-backends haskell-cabal-mode) 18 | (spacemacs|defvar-company-backends intero-repl-mode) 19 | 20 | (spacemacs|define-jump-handlers haskell-mode haskell-mode-jump-to-def-or-tag) 21 | 22 | (defvar haskell-completion-backend 'ghci 23 | "Completion backend used by company. 24 | Available options are `ghci', `intero' and `ghc-mod'. Default is 25 | `ghci'.") 26 | 27 | (defvar haskell-enable-hindent-style nil 28 | "Style to use for formatting with hindent; available are: fundamental johan-tibell chris-done gibiansky. If nil hindent is disabled.") 29 | -------------------------------------------------------------------------------- /layers/+lang/javascript/funcs.el: -------------------------------------------------------------------------------- 1 | ;;; funcs.el --- Javascript Layer functions File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Muneeb Shaikh 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | 13 | ;; tern 14 | 15 | (defun spacemacs//set-tern-key-bindings (mode) 16 | "Set the key bindings for tern and the given MODE." 17 | (add-to-list (intern (format "spacemacs-jump-handlers-%S" mode)) 18 | 'tern-find-definition) 19 | (spacemacs/set-leader-keys-for-major-mode mode 20 | "rrV" 'tern-rename-variable 21 | "hd" 'tern-get-docs 22 | "gG" 'tern-find-definition-by-name 23 | (kbd "C-g") 'tern-pop-find-definition 24 | "ht" 'tern-get-type)) 25 | 26 | (defun spacemacs//tern-detect () 27 | "Detect tern binary and warn if not found." 28 | (let ((found (executable-find "tern"))) 29 | (unless found 30 | (spacemacs-buffer/warning "tern binary not found!")) 31 | found)) 32 | -------------------------------------------------------------------------------- /layers/+lang/lua/packages.el: -------------------------------------------------------------------------------- 1 | (setq lua-packages 2 | '( 3 | company 4 | flycheck 5 | ggtags 6 | helm-gtags 7 | lua-mode 8 | )) 9 | 10 | (defun lua/post-init-flycheck () 11 | (spacemacs/add-flycheck-hook 'lua-mode)) 12 | 13 | (defun lua/init-lua-mode () 14 | (use-package lua-mode 15 | :defer t 16 | :mode ("\\.lua\\'" . lua-mode) 17 | :interpreter ("lua" . lua-mode) 18 | :init 19 | (progn 20 | (setq lua-indent-level 2 21 | lua-indent-string-contents t) 22 | (spacemacs/set-leader-keys-for-major-mode 'lua-mode 23 | "d" 'lua-search-documentation 24 | "sb" 'lua-send-buffer 25 | "sf" 'lua-send-defun 26 | "sl" 'lua-send-current-line 27 | "sr" 'lua-send-region)))) 28 | 29 | (defun lua/post-init-company () 30 | (add-hook 'lua-mode-hook 'company-mode)) 31 | 32 | (defun lua/post-init-ggtags () 33 | (add-hook 'lua-mode-local-vars-hook #'spacemacs/ggtags-mode-enable)) 34 | 35 | (defun lua/post-init-helm-gtags () 36 | (spacemacs/helm-gtags-define-keys-for-mode 'lua-mode)) 37 | -------------------------------------------------------------------------------- /layers/+web-services/spotify/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- spotify Layer packages File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Brian Hicks 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (setq spotify-packages 13 | '( 14 | spotify 15 | (helm-spotify :toggle (configuration-layer/package-usedp 'helm)) 16 | )) 17 | 18 | (defun spotify/init-spotify () 19 | (use-package spotify 20 | :defer t 21 | :init 22 | (progn 23 | (spacemacs/declare-prefix "am" "music") 24 | (spacemacs/declare-prefix "ams" "Spotify") 25 | (spacemacs/set-leader-keys 26 | "amsp" 'spotify-playpause 27 | "amsn" 'spotify-next 28 | "amsN" 'spotify-previous 29 | "amsQ" 'spotify-quit)))) 30 | 31 | (defun spotify/init-helm-spotify () 32 | (use-package helm-spotify 33 | :defer t 34 | :init (spacemacs/set-leader-keys "amsg" 'helm-spotify))) 35 | -------------------------------------------------------------------------------- /core/info/quickhelp.txt: -------------------------------------------------------------------------------- 1 | Press [TAB] or [J] to move to next button. 2 | 3 | Press [Shift-TAB] or [K] to move to previous button. 4 | 5 | Press [r] to jump to recent file list if it is enabled. 6 | 7 | Press [p] to jump to project list if it is enabled. 8 | 9 | Press [b] to jump to bookmark list if it is enabled. 10 | 11 | Press [o] to jump to any link or button. 12 | 13 | Press [m] to jump to the top menu. 14 | 15 | Press [SPC] (in Vim editing style) or [Alt-m] (in Emacs editing style) to access 16 | Spacemacs commands (will list only the Vim style ones for the rest of this 17 | help). 18 | 19 | Press [SPC f e d] (or [Alt-m f e d] in Emacs style) to access .spacemacs file. 20 | 21 | Press [SPC h SPC] to access a list of documentation and supported layers. You 22 | can type anything to narrow to a specific feature i.e. "python" for Python 23 | layer. There are multiple lists and you can press [Ctrl-o] to switch between 24 | them. 25 | 26 | When reading a document, you can use [SPC s j] to jump to a heading. 27 | 28 | Please consult Spacemacs documentation from [SPC h SPC] for more details. 29 | -------------------------------------------------------------------------------- /layers/+lang/faust/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: faust layer 2 | 3 | [[file:img/faust.png]] 4 | 5 | * Table of Contents :TOC_4_gh:noexport: 6 | - [[#description][Description]] 7 | - [[#install][Install]] 8 | - [[#key-bindings][Key bindings]] 9 | 10 | * Description 11 | This simple layer adds support for the [[http://faust.grame.fr/][faust language]]. 12 | It adds =faust-mode= as well as integrating it with =auto-completion= layer. 13 | 14 | * Install 15 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 16 | add =faust= to the existing =dotspacemacs-configuration-layers= list in this 17 | file. 18 | 19 | * Key bindings 20 | 21 | | Key Binding | Description | 22 | |-------------+---------------------------------------| 23 | | ~SPC m c f~ | Compile to SVG and open in Firefox | 24 | | ~SPC m c g~ | Compile a jack-gtk program and run it | 25 | | ~SPC m c q~ | Compile a jack-qt program and run it | 26 | | ~SPC m g b~ | Jump back to previous location | 27 | | ~SPC m g g~ | Jump to definition around point | 28 | -------------------------------------------------------------------------------- /layers/+emacs/smex/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- smex Layer packages File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (setq smex-packages '(smex)) 13 | 14 | (defun smex/init-smex () 15 | (use-package smex 16 | :defer t 17 | :init 18 | (progn 19 | (setq-default smex-history-length 32 20 | smex-save-file (concat spacemacs-cache-directory 21 | ".smex-items")) 22 | ;; define the key binding at the very end in order to allow the user 23 | ;; to overwrite any key binding 24 | (add-hook 'emacs-startup-hook 25 | (lambda () (spacemacs/set-leader-keys 26 | dotspacemacs-emacs-command-key 'spacemacs/smex))) 27 | (spacemacs/set-leader-keys ":" 'spacemacs/smex-major-mode-commands) 28 | (global-set-key (kbd "M-x") 'spacemacs/smex)))) 29 | -------------------------------------------------------------------------------- /layers/+tools/ycmd/packages.el: -------------------------------------------------------------------------------- 1 | (setq ycmd-packages 2 | '( 3 | (company-ycmd :toggle (configuration-layer/package-usedp 'company)) 4 | (flycheck-ycmd :toggle (configuration-layer/package-usedp 'flycheck)) 5 | ycmd 6 | )) 7 | 8 | (unless (boundp 'ycmd-server-command) 9 | (message (concat "YCMD won't work unless you set the ycmd-server-command " 10 | "variable to the path to a ycmd install."))) 11 | 12 | (defun ycmd/init-company-ycmd () 13 | (use-package company-ycmd 14 | :defer t 15 | :commands company-ycmd)) 16 | 17 | (defun ycmd/init-flycheck-ycmd () 18 | (use-package flycheck-ycmd 19 | :defer t 20 | :init (add-hook 'ycmd-mode-hook 'flycheck-ycmd-setup))) 21 | 22 | (defun ycmd/init-ycmd () 23 | (use-package ycmd 24 | :defer t 25 | :init 26 | (progn 27 | (unless (boundp 'ycmd-global-config) 28 | (setq-default ycmd-global-config 29 | (concat (configuration-layer/get-layer-path 'ycmd) 30 | "global_conf.py"))) 31 | (setq-default ycmd-parse-conditions '(save mode-enabled))))) 32 | -------------------------------------------------------------------------------- /layers/+themes/colors/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- Colors Layer configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; Variables 13 | 14 | (defvar colors-colorize-identifiers nil 15 | "If `variables' colorize variables, if `all' colorize all identifiers in 16 | programming language buffers.") 17 | 18 | (defvar colors-enable-nyan-cat-progress-bar nil 19 | "If non nil all nyan cat packages are enabled (for now only `nyan-mode').") 20 | 21 | (defvar colors-theme-identifiers-sat&light 22 | '((jazz . (50 55)) 23 | (gotham . (45 60)) 24 | (leuven . (100 40)) 25 | (material . (95 105)) 26 | (monokai . (55 60)) 27 | (solarized-dark . (65 55)) 28 | (solarized-light . (60 55)) 29 | (spacemacs-light . (65 45)) 30 | (spacemacs-dark . (125 100)) 31 | (zenburn . (40 65))) 32 | "alist of theme symbols and pair of saturation and lightness values.") 33 | -------------------------------------------------------------------------------- /layers/+web-services/evernote/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- Evernote Layer packages File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | (setq evernote-packages 12 | '( 13 | geeknote 14 | )) 15 | 16 | (defun evernote/init-geeknote () 17 | "Initializes geeknote and adds keybindings for its exposed functionalities." 18 | (use-package geeknote 19 | :commands (geeknote-create 20 | geeknote-edit 21 | geeknote-find 22 | geeknote-show 23 | geeknote-remove 24 | geeknote-move) 25 | :init 26 | (progn 27 | (spacemacs/declare-prefix "ae" "applications-evernote") 28 | (spacemacs/set-leader-keys 29 | "aec" 'geeknote-create 30 | "aee" 'geeknote-edit 31 | "aef" 'geeknote-find 32 | "aes" 'geeknote-show 33 | "aer" 'geeknote-remove 34 | "aem" 'geeknote-move)))) 35 | -------------------------------------------------------------------------------- /layers/+lang/elm/funcs.el: -------------------------------------------------------------------------------- 1 | ;;; funcs.el --- Elm Layer functions File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | 13 | ;; elm-mode 14 | 15 | (defun spacemacs//elm-find-root () 16 | (setq default-directory (elm--find-dependency-file-path))) 17 | 18 | (defun spacemacs/elm-compile-buffer-output () 19 | (interactive) 20 | (let* ((fname (format "%s.js" (downcase (file-name-base (buffer-file-name)))))) 21 | (elm-compile--file (elm--buffer-local-file-name) fname))) 22 | 23 | (defun spacemacs/elm-repl-push-decl-focus () 24 | "Send current function to the REPL and focus it in insert state." 25 | (interactive) 26 | (elm-repl-push-decl) 27 | (run-elm-interactive) 28 | (evil-insert-state)) 29 | 30 | (defun spacemacs/elm-repl-push-focus () 31 | "Send current region to the REPL and focus it in insert state." 32 | (elm-repl-push) 33 | (run-elm-interactive) 34 | (evil-insert-state)) 35 | -------------------------------------------------------------------------------- /layers/+lang/ipython-notebook/matplotlibrc: -------------------------------------------------------------------------------- 1 | # -*- conf-unix -*- 2 | 3 | text.color : dcdccc 4 | 5 | patch.facecolor : 8cd0d3 # blue 6 | patch.edgecolor : eeeeee 7 | 8 | axes.facecolor : 383838 # axes background color 9 | axes.edgecolor : bcbcbc # axes edge color 10 | axes.grid : True # display grid or not 11 | axes.labelcolor : dcdccc 12 | axes.prop_cycle : 8cd0d3, 7f9f7f, cc9393, 93e0e3, dc8cc3, f0dfaf, dcdccc 13 | # (system default) blue, green, red, cyan, magenta, yellow, black 14 | 15 | xtick.color : dcdccc # color of the tick labels 16 | xtick.direction : in # direction: in or out 17 | ytick.color : dcdccc # color of the tick labels 18 | ytick.direction : in # direction: in or out 19 | 20 | legend.fancybox : True # if True, use a rounded box for the 21 | 22 | figure.facecolor : 3f3f3f # figure facecolor; 0.75 is scalar gray 23 | figure.edgecolor : 383838 # figure edgecolor 24 | 25 | # See also: 26 | # * Sane color scheme for Matplotlib 27 | # http://www.huyng.com/posts/sane-color-scheme-for-matplotlib/ 28 | -------------------------------------------------------------------------------- /layers/+lang/emacs-lisp/funcs.el: -------------------------------------------------------------------------------- 1 | ;;; funcs.el --- Emacs Lisp functions File 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | 13 | 14 | ;; idea from http://www.reddit.com/r/emacs/comments/312ge1/i_created_this_function_because_i_was_tired_of/ 15 | (defun spacemacs/eval-current-form () 16 | "Looks for the current def* or set* command then evaluates, unlike `eval-defun', does not go to topmost function" 17 | (interactive) 18 | (save-excursion 19 | (search-backward-regexp "(def\\|(set") 20 | (forward-list) 21 | (call-interactively 'eval-last-sexp))) 22 | 23 | (defun spacemacs/nav-find-elisp-thing-at-point-other-window () 24 | "Find thing under point and go to it another window." 25 | (interactive) 26 | (let ((symb (variable-at-point))) 27 | (if (and symb 28 | (not (equal symb 0)) 29 | (not (fboundp symb))) 30 | (find-variable-other-window symb) 31 | (find-function-at-point)))) 32 | -------------------------------------------------------------------------------- /layers/+lang/nim/packages.el: -------------------------------------------------------------------------------- 1 | (setq nim-packages 2 | '(company 3 | flycheck 4 | flycheck-nim 5 | nim-mode)) 6 | 7 | (defun nim/post-init-company () 8 | (spacemacs|add-company-hook nim-mode) 9 | (spacemacs|add-company-hook nimscript-mode)) 10 | 11 | (defun nim/post-init-flycheck () 12 | (spacemacs/add-flycheck-hook 'nim-mode)) 13 | 14 | (defun nim/init-flycheck-nim () 15 | (use-package flycheck-nim 16 | :if (configuration-layer/package-usedp 'flycheck))) 17 | 18 | (defun nim/init-nim-mode () 19 | (use-package nim-mode 20 | :defer t 21 | :init 22 | (progn 23 | (when (configuration-layer/package-usedp 'company) 24 | (push 'company-capf company-backends-nim-mode)) 25 | (add-hook 'nim-mode-hook 'nimsuggest-mode) 26 | (push 'nimsuggest-find-definition spacemacs-jump-handlers-nim-mode)) 27 | :config 28 | (progn 29 | (defun spacemacs/nim-compile-run () 30 | (interactive) 31 | (shell-command "nim compile --run main.nim")) 32 | 33 | (spacemacs/set-leader-keys-for-major-mode 'nim-mode 34 | "cr" 'spacemacs/nim-compile-run 35 | "gb" 'pop-tag-mark)))) 36 | -------------------------------------------------------------------------------- /layers/+spacemacs/spacemacs-completion/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- Spacemacs Completion Layer configuration File 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | 13 | ;; Helm 14 | 15 | (defface spacemacs-helm-navigation-ms-face 16 | `((t :background ,(face-attribute 'error :foreground) 17 | :foreground "black")) 18 | "Face for helm header when helm transient-state is activated." 19 | :group 'spacemacs) 20 | 21 | ;; from https://www.reddit.com/r/emacs/comments/2z7nbv/lean_helm_window/ 22 | (with-eval-after-load 'helm 23 | (defvar helm-source-header-default-background 24 | (face-attribute 'helm-source-header :background)) 25 | (defvar helm-source-header-default-foreground 26 | (face-attribute 'helm-source-header :foreground)) 27 | (defvar helm-source-header-default-box 28 | (face-attribute 'helm-source-header :box)) 29 | (defvar helm-source-header-default-height 30 | (face-attribute 'helm-source-header :height) )) 31 | -------------------------------------------------------------------------------- /layers/+tools/imenu-list/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- imenu-list Layer packages File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (defconst imenu-list-packages 13 | '( 14 | golden-ratio 15 | imenu-list 16 | )) 17 | 18 | (defun imenu-list/pre-init-golden-ratio () 19 | (spacemacs|use-package-add-hook golden-ratio 20 | :post-config 21 | (add-to-list 'golden-ratio-exclude-buffer-regexp "^\\*Ilist\\*"))) 22 | 23 | (defun imenu-list/init-imenu-list () 24 | (use-package imenu-list 25 | :defer t 26 | :init 27 | (progn 28 | (setq imenu-list-focus-after-activation t 29 | imenu-list-auto-resize t) 30 | (spacemacs/set-leader-keys "bi" #'imenu-list-minor-mode)) 31 | :config 32 | (evilified-state-evilify-map imenu-list-major-mode-map 33 | :mode imenu-list-major-mode 34 | :bindings 35 | "d" #'imenu-list-display-entry 36 | "q" #'imenu-list-minor-mode))) 37 | -------------------------------------------------------------------------------- /layers/+lang/latex/config.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- Latex Layer Configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; variables 13 | 14 | (spacemacs|defvar-company-backends LaTeX-mode) 15 | 16 | (spacemacs|define-jump-handlers latex-mode) 17 | 18 | (defvar latex-build-command (if (executable-find "latexmk") "LatexMk" "LaTeX") 19 | "The default command to use with `SPC m b'") 20 | 21 | (defvar latex-enable-auto-fill t 22 | "Whether to use auto-fill-mode or not in tex files.") 23 | 24 | (defvar latex-enable-folding nil 25 | "Whether to use `TeX-fold-mode' or not in tex/latex buffers.") 26 | 27 | (defvar latex-nofill-env '("equation" 28 | "equation*" 29 | "align" 30 | "align*" 31 | "tabular" 32 | "tikzpicture") 33 | "List of environment names in which `auto-fill-mode' will be inhibited.") 34 | -------------------------------------------------------------------------------- /layers/+lang/csv/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- csharp Layer packages File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: William Casarin 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (setq csv-packages '(csv-mode)) 13 | 14 | (defun csv/init-csv-mode () 15 | (use-package csv-mode 16 | :defer t 17 | :init 18 | (progn 19 | (spacemacs/declare-prefix-for-mode 'csv-mode "ms" "sort") 20 | (spacemacs/declare-prefix-for-mode 'csv-mode "mv" "yank") 21 | (spacemacs/set-leader-keys-for-major-mode 'csv-mode 22 | "a" 'csv-align-fields 23 | "d" 'csv-kill-fields 24 | "i" 'csv-toggle-invisibility 25 | "n" 'csv-forward-field 26 | "p" 'csv-backward-field 27 | "r" 'csv-reverse-region 28 | "sf" 'csv-sort-fields 29 | "sn" 'csv-sort-numeric-fields 30 | "so" 'csv-toggle-descending 31 | "t" 'csv-transpose 32 | "u" 'csv-unalign-fields 33 | "vf" 'csv-yank-fields 34 | "vt" 'csv-yank-as-new-table)))) 35 | -------------------------------------------------------------------------------- /layers/+tools/puppet/packages.el: -------------------------------------------------------------------------------- 1 | ;;; layers.el --- Puppet layer packages File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (setq puppet-packages 13 | '( 14 | company 15 | flycheck 16 | puppet-mode 17 | )) 18 | 19 | (defun puppet/init-puppet-mode () 20 | (use-package puppet-mode 21 | :defer t 22 | :init 23 | (progn 24 | (spacemacs/set-leader-keys-for-major-mode 'puppet-mode 25 | "{" 'beginning-of-defun 26 | "}" 'end-of-defun 27 | "$" 'puppet-interpolate 28 | "a" 'puppet-align-block 29 | "'" 'puppet-toggle-string-quotes 30 | ";" 'puppet-clear-string 31 | "j" 'imenu 32 | "c" 'puppet-apply 33 | "v" 'puppet-validate 34 | "l" 'puppet-lint 35 | )))) 36 | 37 | (defun puppet/post-init-company () 38 | (spacemacs|add-company-hook puppet-mode)) 39 | 40 | (defun puppet/post-init-flycheck () 41 | (spacemacs/add-flycheck-hook 'puppet-mode)) 42 | -------------------------------------------------------------------------------- /core/info/release-notes/0.103.txt: -------------------------------------------------------------------------------- 1 | 1. Magit 2.1 2 | 3 | Spacemacs is now compatible only with Magit 2.1 and later, be 4 | sure to *update your packages* (at least Magit). 5 | 6 | 2. Helm 7 | 8 | Helm input pattern is now displayed in its header instead of the 9 | minibuffer. 10 | 11 | 3. Git layer 12 | 13 | The `git` layer has been split into two layers: `git` and `github` so 14 | the layer variable `git-enabled-github-support` is deprecated, you 15 | have to *add the layer `github` in your dotfile*. 16 | 17 | The `git-gutter` has been replaced by `diff-hl`. This package is in 18 | the new layer `version-control`, be sure to *add this new layer to 19 | your dotfile*. 20 | 21 | 4. Auctex layer 22 | 23 | The `auctex` layer has been renamed `latex`, be sure to *update your 24 | dotfile* if you use this layer. 25 | 26 | 5. Erlang/Elixir layer 27 | 28 | The erlang/elixir layer has been split into two layers `erlang` and 29 | `elixir`, be sure to *update your dotfile* if you use these layers. 30 | 31 | 6. Key bindings changes 32 | 33 | Projectile key bindings changes: 34 | ~SPC p e~ is now ~SPC p r~ (recent files), 35 | ~SPC p R~ is now ~SPC p G~ (regenerate tags), 36 | ~SPC p r~ is now ~SPC p R~ (replace). 37 | -------------------------------------------------------------------------------- /core/templates/README.org.template: -------------------------------------------------------------------------------- 1 | #+TITLE: %LAYER_NAME% layer 2 | 3 | # The maximum height of the logo should be 200 pixels. 4 | [[img/%LAYER_NAME%.png]] 5 | 6 | # TOC links should be GitHub style anchors. 7 | * Table of Contents :TOC_4_gh:noexport: 8 | - [[#decsription][Description]] 9 | - [[#install][Install]] 10 | - [[#key-bindings][Key bindings]] 11 | 12 | * Description 13 | This layer does wonderful things: 14 | - thing01 15 | 16 | * Install 17 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 18 | add =%LAYER_NAME%= to the existing =dotspacemacs-configuration-layers= list in this 19 | file. 20 | 21 | * Key bindings 22 | 23 | | Key Binding | Description | 24 | |-------------+----------------| 25 | | ~SPC x x x~ | Does thing01 | 26 | # Use GitHub URLs if you wish to link a Spacemacs documentation file or its heading. 27 | # Examples: 28 | # [[https://github.com/syl20bnr/spacemacs/blob/master/doc/VIMUSERS.org#sessions]] 29 | # [[https://github.com/syl20bnr/spacemacs/blob/master/layers/%2Bfun/emoji/README.org][Link to Emoji layer README.org]] 30 | # If space-doc-mode is enabled, Spacemacs will open a local copy of the linked file. 31 | -------------------------------------------------------------------------------- /layers/+emacs/org/funcs.el: -------------------------------------------------------------------------------- 1 | ;;; funcs.el --- Org Layer functions File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (defun org-projectile/capture (&optional arg) 13 | (interactive "P") 14 | (if arg 15 | (org-projectile:project-todo-completing-read nil :empty-lines 1) 16 | (org-projectile:capture-for-current-project nil :empty-lines 1))) 17 | 18 | (defun org-projectile/goto-todos () 19 | (interactive) 20 | (org-projectile:location-for-project (projectile-project-name))) 21 | 22 | 23 | 24 | (defun spacemacs/ob-fix-inline-images () 25 | "Fix redisplay of inline images after a code block evaluation." 26 | (when org-inline-image-overlays 27 | (org-redisplay-inline-images))) 28 | 29 | 30 | 31 | (defun spacemacs//surround-drawer () 32 | (let ((dname (read-from-minibuffer "" ""))) 33 | (cons (format ":%s:" (upcase (or dname ""))) ":END:"))) 34 | 35 | (defun spacemacs//surround-code () 36 | (let ((dname (read-from-minibuffer "" ""))) 37 | (cons (format "#+BEGIN_SRC %s" (or dname "")) "#+END_SRC"))) 38 | -------------------------------------------------------------------------------- /layers/+lang/go/funcs.el: -------------------------------------------------------------------------------- 1 | ;;; funcs.el --- Go Layer functions File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (defun load-gopath-file(gopath name) 13 | "Search for NAME file in all paths referenced in GOPATH." 14 | (let* ((sep (if (spacemacs/system-is-mswindows) ";" ":")) 15 | (paths (split-string gopath sep)) 16 | found) 17 | (loop for p in paths 18 | for file = (concat p name) when (file-exists-p file) 19 | do 20 | (load-file file) 21 | (setq found t) 22 | finally return found))) 23 | 24 | (defun spacemacs//go-enable-gometalinter () 25 | "Enable `flycheck-gometalinter' and disable overlapping `flycheck' linters." 26 | (setq flycheck-disabled-checkers '(go-gofmt 27 | go-golint 28 | go-vet 29 | go-build 30 | go-test 31 | go-errcheck)) 32 | (flycheck-gometalinter-setup)) 33 | -------------------------------------------------------------------------------- /layers/+lang/ocaml/funcs.el: -------------------------------------------------------------------------------- 1 | ;;; funcs.el --- ocaml Layer functions File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (defun spacemacs//init-ocaml-opam () 13 | (if (executable-find "opam") 14 | (let* ((output (shell-command-to-string 15 | "opam config var share 2> /dev/null")) 16 | (share (when (< 0 (length output)) 17 | (substring output 0 -1)))) 18 | (when share 19 | (setq opam-share share 20 | opam-load-path (concat share "/emacs/site-lisp"))) 21 | (add-to-list 'load-path opam-load-path)) 22 | (spacemacs-buffer/warning 23 | (concat "Cannot find \"opam\" executable. " 24 | "The ocaml layer won't work properly.")))) 25 | 26 | (defun spacemacs/merlin-locate () 27 | (interactive) 28 | (let ((merlin-locate-in-new-window 'never)) 29 | (merlin-locate))) 30 | 31 | (defun spacemacs/merlin-locate-other-window () 32 | (interactive) 33 | (let ((merlin-locate-in-new-window 'always)) 34 | (merlin-locate))) 35 | -------------------------------------------------------------------------------- /layers/+spacemacs/spacemacs-layouts/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- Spacemacs Layouts Layer configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; Variables 13 | 14 | (defvar spacemacs-layouts-directory 15 | (expand-file-name (concat spacemacs-cache-directory "layouts/")) 16 | "Save layouts in this directory.") 17 | 18 | (defvar layouts-enable-autosave nil 19 | "If true, saves perspectives to file per `layouts-autosave-delay'") 20 | 21 | (defvar layouts-autosave-delay 900 22 | "Delay in seconds between each layouts auto-save.") 23 | 24 | (defvar spacemacs--ts-full-hint-toggle 0 25 | "Toggle display of transient states documentations.") 26 | 27 | (defvar spacemacs--last-selected-layout dotspacemacs-default-layout-name 28 | "Previously selected layout.") 29 | 30 | (defvar spacemacs--custom-layout-alist nil 31 | "List of custom layouts with their bound keys. 32 | Do not modify directly, use provided `spacemacs|define-custom-layout'") 33 | 34 | (defvar spacemacs--layouts-autosave-timer nil 35 | "Timer for layouts auto-save.") 36 | -------------------------------------------------------------------------------- /layers/+os/nixos/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: NixOS layer 2 | 3 | [[file:img/nixos.jpg]] 4 | 5 | * Table of Contents :TOC_4_gh:noexport: 6 | - [[#description][Description]] 7 | - [[#features][Features:]] 8 | - [[#install][Install]] 9 | - [[#layer][Layer]] 10 | - [[#key-bindings][Key Bindings]] 11 | - [[#nixos-options][NixOS Options]] 12 | 13 | * Description 14 | 15 | This layer adds tools for better integration of emacs in NixOS. 16 | 17 | ** Features: 18 | - Nix-mode using [[https://github.com/NixOS/nix/blob/master/misc/emacs/nix-mode.el][nix-mode]] 19 | - Auto-completion of NixOS Options using [[https://github.com/travisbhartwell/nix-emacs/blob/master/company-nixos-options.el][company-nixos-options]] 20 | - Helm Lookup for NixOS Options [[https://github.com/travisbhartwell/nix-emacs/blob/master/helm-nixos-options.el][helm-nixos-options]] 21 | 22 | * Install 23 | ** Layer 24 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 25 | add =nixos= to the existing =dotspacemacs-configuration-layers= list in this 26 | file. 27 | 28 | * Key Bindings 29 | 30 | ** NixOS Options 31 | 32 | | Key Binding | Description | 33 | |-------------+-------------------------| 34 | | ~SPC h >~ | Call helm-nixos-options | 35 | -------------------------------------------------------------------------------- /layers/+spacemacs/spacemacs-misc/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- Spacemacs Misc. Layer packages File 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (setq spacemacs-misc-packages 13 | '( 14 | dumb-jump 15 | request 16 | )) 17 | 18 | (defun spacemacs-misc/init-dumb-jump () 19 | (use-package dumb-jump 20 | :defer t 21 | :init 22 | (progn 23 | ;; not activating `dumb-jump-mode' because it only adds key bindings, and 24 | ;; they conflict with existing bindings (see 25 | ;; https://github.com/syl20bnr/spacemacs/issues/7107) 26 | 27 | (spacemacs/set-leader-keys "jq" #'dumb-jump-quick-look) 28 | ;; Since it's dumb, we add it to the end of the default jump handlers. At 29 | ;; the time of writing it is the only default jump handler. (gtags remains 30 | ;; mode-local) 31 | (add-to-list 'spacemacs-default-jump-handlers 'dumb-jump-go 'append)))) 32 | 33 | (defun spacemacs-misc/init-request () 34 | (setq request-storage-directory 35 | (concat spacemacs-cache-directory "request/"))) 36 | -------------------------------------------------------------------------------- /core/info/release-notes/0.105.txt: -------------------------------------------------------------------------------- 1 | 1. Key binding changes 2 | 3 | - `SPC l` for `avy-goto-line` is now under `SPC y`. `SPC l` is now for 4 | spacemacs layouts. 5 | 6 | - `SPC a p` is now for `list-processes` and `SPC a P` for `proced`, 7 | `paradox` to list ELPA packages is now on `SPC a k`. 8 | 9 | - `SPC s l` is now used to bring back last search buffer and `SPC s j` 10 | is for jumping into a file using `imenu` (was `SPC s l`). 11 | 12 | - In home buffer, jumping to bookmark list is now on ~b~. 13 | 14 | 2. Magit 15 | 16 | Magit key bindings have been revamped thanks to the official `evil-magit` 17 | package. `evil-magit` provides a faithful port of Magit UX using Vim key 18 | bindings. If you want to continue to use the old evilified bindings add 19 | `evil-magit` package to the `dotspacemacs-excluded-packages` variable 20 | of your dotfile. 21 | 22 | 3. Projectile 23 | 24 | Caching is now disabled by default, while it should not break anything, 25 | if you have some functions relying on caching being enabled be sure to 26 | activate it explicitly with `(setq projectile-enable-caching t)`. 27 | 28 | 4. Ruby 29 | 30 | The default major mode is now the Emacs built-in `ruby-mode`. If you want 31 | to continue to use `enh-ruby-mode` set the layer variable 32 | `ruby-enable-enh-ruby-mode` to `t`. 33 | -------------------------------------------------------------------------------- /layers/+distributions/spacemacs/layers.el: -------------------------------------------------------------------------------- 1 | ;;; layers.el --- Spacemacs Layer layers File 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (configuration-layer/declare-layers '(spacemacs-base 13 | spacemacs-completion 14 | spacemacs-layouts 15 | spacemacs-editing 16 | spacemacs-editing-visual 17 | spacemacs-evil 18 | spacemacs-language 19 | spacemacs-misc 20 | spacemacs-ui 21 | spacemacs-ui-visual 22 | spacemacs-org)) 23 | ;; If the user has not explicitly declared `helm' or `ivy' 24 | ;; and they are using the standard distribution, assume they 25 | ;; want `helm' completion. 26 | (unless (or (configuration-layer/layer-usedp 'ivy) 27 | (configuration-layer/layer-usedp 'helm)) 28 | (configuration-layer/declare-layers '(helm))) 29 | -------------------------------------------------------------------------------- /layers/+emacs/better-defaults/funcs.el: -------------------------------------------------------------------------------- 1 | ;;; funcs.el --- Better Emacs Defaults Layer functions File 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (defun spacemacs/backward-kill-word-or-region (&optional arg) 13 | "Calls `kill-region' when a region is active and 14 | `backward-kill-word' otherwise. ARG is passed to 15 | `backward-kill-word' if no region is active." 16 | (interactive "p") 17 | (if (region-active-p) 18 | ;; call interactively so kill-region handles rectangular selection 19 | ;; correctly (see https://github.com/syl20bnr/spacemacs/issues/3278) 20 | (call-interactively #'kill-region) 21 | (backward-kill-word arg))) 22 | 23 | ;; http://endlessparentheses.com/fill-and-unfill-paragraphs-with-a-single-key.html 24 | (defun spacemacs/fill-or-unfill () 25 | "Like `fill-paragraph', but unfill if used twice." 26 | (interactive) 27 | (let ((fill-column 28 | (if (eq last-command 'spacemacs/fill-or-unfill) 29 | (progn (setq this-command nil) 30 | (point-max)) 31 | fill-column))) 32 | (call-interactively #'fill-paragraph))) 33 | -------------------------------------------------------------------------------- /layers/+lang/nim/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Nim layer 2 | 3 | [[file:img/logo.png]] 4 | 5 | * Table of Contents :TOC_4_gh:noexport: 6 | - [[#description][Description]] 7 | - [[#install][Install]] 8 | - [[#working-with-nim][Working with Nim]] 9 | - [[#nim-commands-start-with-m][Nim commands (start with =m=):]] 10 | 11 | * Description 12 | This layer provides the following features for Nim: 13 | 14 | - Code completion. 15 | - Jump to definition. 16 | - Syntax checking. 17 | 18 | * Install 19 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 20 | add =nim= to the existing =dotspacemacs-configuration-layers= list in this 21 | file. 22 | 23 | For syntax checking, the =syntax-checking= layer must also be added. 24 | 25 | For all the features to work properly, =nimsuggest= must be installed properly 26 | and =nimsuggest= binary must be in $PATH. 27 | 28 | * Working with Nim 29 | 30 | ** Nim commands (start with =m=): 31 | 32 | | Key Binding | Description | 33 | |----------------------+----------------------------| 34 | | ~SPC m c r~ | nim compile --run main.nim | 35 | | ~SPC m g g~ or ~M-.~ | Jump to definition | 36 | | ~SPC m g b~ or ~M-,~ | Jump back | 37 | |----------------------+----------------------------| 38 | -------------------------------------------------------------------------------- /layers/+lang/extra-langs/packages.el: -------------------------------------------------------------------------------- 1 | (setq extra-langs-packages 2 | '( 3 | arduino-mode 4 | julia-mode 5 | matlab-mode 6 | qml-mode 7 | scad-mode 8 | stan-mode 9 | thrift 10 | wolfram-mode 11 | )) 12 | 13 | (defun extra-langs/init-arduino-mode () 14 | (use-package arduino-mode :defer t)) 15 | 16 | (defun extra-langs/init-scad-mode () 17 | (use-package scad-mode :defer t)) 18 | 19 | (defun extra-langs/init-qml-mode () 20 | (use-package qml-mode :defer t :mode "\\.qml\\'")) 21 | 22 | (defun extra-langs/init-julia-mode () 23 | (use-package julia-mode :defer t)) 24 | 25 | (defun extra-langs/init-matlab-mode () 26 | (use-package matlab-mode 27 | :defer t 28 | :init 29 | ;; Explicitly run prog-mode hooks since matlab-mode does not derive from 30 | ;; prog-mode major-mode 31 | (add-hook 'matlab-mode-hook 'spacemacs/run-prog-mode-hooks))) 32 | 33 | (defun extra-langs/init-stan-mode () 34 | (use-package stan-mode :defer t)) 35 | 36 | (defun extra-langs/init-thrift () 37 | (use-package thrift :defer t)) 38 | 39 | ;; no associated extension because conflicts with more common Objective-C, manually invoke for .m files. 40 | (defun extra-langs/init-wolfram-mode () 41 | (use-package wolfram-mode 42 | :defer t 43 | :interpreter "\\(Wolfram\\|Mathematica\\)Script\\( -script\\)?")) 44 | -------------------------------------------------------------------------------- /layers/+lang/octave/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- Octave Layer packages File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (setq octave-packages 13 | '( 14 | ggtags 15 | helm-gtags 16 | (octave :location built-in) 17 | )) 18 | 19 | (defun octave/init-octave () 20 | (use-package octave 21 | :mode ("\\.m\\'" . octave-mode) 22 | :commands (run-octave) 23 | :init (spacemacs/register-repl 'octave 'run-octave "octave") 24 | :config (spacemacs/set-leader-keys-for-major-mode 'octave-mode 25 | ;; helpers 26 | "hh" 'octave-help 27 | "hi" 'octave-lookfor 28 | ;; REPL 29 | "'" 'run-octave 30 | "sb" 'octave-send-buffer 31 | "sf" 'octave-send-defun 32 | "si" 'run-octave 33 | "sl" 'octave-send-line 34 | "sr" 'octave-send-region))) 35 | 36 | (defun octave/post-init-ggtags () 37 | (add-hook 'octave-mode-local-vars-hook #'spacemacs/ggtags-mode-enable)) 38 | 39 | (defun octave/post-init-helm-gtags () 40 | (spacemacs/helm-gtags-define-keys-for-mode 'octave-mode)) 41 | -------------------------------------------------------------------------------- /tests/core/core-release-management-ftest.el: -------------------------------------------------------------------------------- 1 | ;;; core-release-management-ftest.el --- Spacemacs Functional Test File 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Alberto Zaccagni 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | (require 'core-spacemacs) 12 | 13 | ;; --------------------------------------------------------------------------- 14 | ;; spacemacs//git-has-remote 15 | ;; --------------------------------------------------------------------------- 16 | 17 | (ert-deftest test-git-has-remote--command-is-working () 18 | (should (numberp (spacemacs//git-has-remote "origin")))) 19 | 20 | (ert-deftest test-git-has-remote--input-is-not-a-remote () 21 | (should (equal (spacemacs//git-has-remote "clearly-not-a-R3M0T3!") nil))) 22 | 23 | ;; --------------------------------------------------------------------------- 24 | ;; spacemacs//git-fetch-tags 25 | ;; --------------------------------------------------------------------------- 26 | 27 | (ert-deftest test-git-fetch-tags--command-is-working () 28 | (should (equal t (spacemacs//git-fetch-tags "origin" "master")))) 29 | 30 | (ert-deftest test-git-fetch-tags--input-is-not-a-remote () 31 | (should (equal nil (spacemacs//git-fetch-tags "qwerty" "master")))) 32 | -------------------------------------------------------------------------------- /layers/+fun/games/funcs.el: -------------------------------------------------------------------------------- 1 | ;;; funcs.el --- Games Layer functions File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | 13 | 14 | (defun spacemacs/tetris-quit-game () 15 | "Correctly quit tetris by killng the game buffer." 16 | (interactive) 17 | (tetris-pause-game) 18 | (if (yes-or-no-p "Do you really want to quit ? ") 19 | (progn 20 | (tetris-end-game) 21 | (kill-buffer "*Tetris*")) 22 | (tetris-pause-game))) 23 | 24 | 25 | 26 | (defun spacemacs/games-start-typit-beginner () 27 | "Start `typit' game in beginner difficulty." 28 | (interactive) 29 | (spacemacs//games-start-typit 'basic)) 30 | 31 | (defun spacemacs/games-start-typit-expert () 32 | "Start `typit' game in expert difficulty." 33 | (interactive) 34 | (spacemacs//games-start-typit 'advanced)) 35 | 36 | (defun spacemacs//games-start-typit (type) 37 | "Start a `typit' game with TYPE difficulty." 38 | (with-current-buffer (get-buffer-create "*typit*") 39 | (let ((evil-escape-inhibit t) 40 | (golden-ratio-mode nil)) 41 | (evil-insert-state) 42 | (funcall (intern (format "typit-%S-test" type)))))) 43 | 44 | 45 | -------------------------------------------------------------------------------- /layers/+lang/python/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- Python Layer Configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; variables 13 | 14 | (spacemacs|defvar-company-backends python-mode) 15 | (spacemacs|defvar-company-backends inferior-python-mode) 16 | (spacemacs|defvar-company-backends pip-requirements-mode) 17 | 18 | (spacemacs|define-jump-handlers python-mode) 19 | (spacemacs|define-jump-handlers cython-mode anaconda-mode-goto) 20 | 21 | (defvar python-enable-yapf-format-on-save nil 22 | "If non-nil, automatically format code with YAPF on save.") 23 | 24 | (defvar python-test-runner 'nose 25 | "Test runner to use. Possible values are `nose' or `pytest'.") 26 | 27 | (defvar python-fill-column 79 28 | "Fill column value for python buffers") 29 | 30 | (defvar python-tab-width 4 31 | "Tab width value for python buffers") 32 | 33 | (defvar python-auto-set-local-pyenv-version 'on-visit 34 | "Automatically set pyenv version from \".python-version\". 35 | 36 | Possible values are `on-visit', `on-project-switch' or `nil'.") 37 | 38 | (defvar python-sort-imports-on-save nil 39 | "If non-nil, automatically sort imports on save.") 40 | -------------------------------------------------------------------------------- /layers/+tools/deft/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- deft Layer packages File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (setq deft-packages 13 | '(deft)) 14 | 15 | (defun deft/init-deft () 16 | (use-package deft 17 | :defer t 18 | :init 19 | (progn 20 | (setq deft-extensions '("org" "md" "txt") 21 | deft-text-mode 'org-mode 22 | deft-use-filename-as-title t 23 | deft-use-filter-string-for-filename t) 24 | (spacemacs/set-leader-keys "an" 'spacemacs/deft) 25 | 26 | (defun spacemacs/deft () 27 | "Helper to call deft and then fix things so that it is nice and works" 28 | (interactive) 29 | (deft) 30 | ;; Hungry delete wrecks deft's DEL override 31 | (when (fboundp 'hungry-delete-mode) 32 | (hungry-delete-mode -1)) 33 | ;; When opening it you always want to filter right away 34 | (evil-insert-state nil))) 35 | :config (spacemacs/set-leader-keys-for-major-mode 'deft-mode 36 | "d" 'deft-delete-file 37 | "i" 'deft-toggle-incremental-search 38 | "n" 'deft-new-file 39 | "r" 'deft-rename-file))) 40 | -------------------------------------------------------------------------------- /layers/+tools/geolocation/extensions/theme-changer/theme-changer.el: -------------------------------------------------------------------------------- 1 | ;;; theme-changer.el --- geolocation configuration File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2014 Sylvain Benner 4 | ;; Copyright (c) 2014-2015 Uri Sharf & Contributors 5 | ;; 6 | ;; Author: Uri Sharf 7 | ;; URL: https://github.com/usharf/spacemacs 8 | ;; 9 | ;; This file is not part of GNU Emacs. 10 | ;; 11 | ;;; License: GPLv3 12 | 13 | (require 'rase) 14 | 15 | (defun theme-changer/switch-themes (sun-event &optional first-run) 16 | "Switch first two themes in dotspacemacs-themes on sunrise and sunset." 17 | (if first-run ; set theme on initialization 18 | (cond ((memq sun-event '(sunrise midday)) 19 | (load-theme (nth 0 dotspacemacs-themes) t)) 20 | ((memq sun-event '(sunset midnight)) 21 | (load-theme (nth 1 dotspacemacs-themes) t))) 22 | (cond ((eq sun-event 'sunrise) ; after initialization deal only with 23 | ; sunrise and sunset 24 | (load-theme (nth 0 dotspacemacs-themes) t)) 25 | ((eq sun-event 'sunset) 26 | (load-theme (nth 1 dotspacemacs-themes) t)))) 27 | ) 28 | 29 | (with-eval-after-load 'rase ; probably redaundant because it's a post extension 30 | (add-hook 'rase-functions 'theme-changer/switch-themes) 31 | (rase-start t)) 32 | 33 | (provide 'theme-changer) 34 | -------------------------------------------------------------------------------- /layers/+chat/jabber/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- jabber Layer packages File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Tosh Lyons 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (setq jabber-packages '(jabber)) 13 | 14 | (defun jabber/init-jabber () 15 | (use-package jabber 16 | :defer t 17 | :init 18 | (progn 19 | (add-hook 'jabber-post-connect-hooks 'spacemacs/jabber-connect-hook) 20 | (spacemacs/set-leader-keys "aj" 'jabber-connect-all)) 21 | :config 22 | (progn 23 | (spacemacs/set-leader-keys-for-major-mode 'jabber-roster-mode 24 | "a" 'jabber-send-presence 25 | "b" 'jabber-get-browse 26 | "d" 'jabber-disconnect 27 | "e" 'jabber-roster-edit-action-at-point 28 | "g" 'jabber-display-roster 29 | "i" 'jabber-get-disco-items 30 | "j" 'jabber-muc-join 31 | "q" 'bury-buffer 32 | "r" 'jabber-roster-toggle-offline-display 33 | "s" 'jabber-send-subscription-request 34 | "v" 'jabber-get-version 35 | "RET" 'jabber-roster-ret-action-at-point) 36 | (evilified-state-evilify jabber-roster-mode jabber-roster-mode-map 37 | "j" 'jabber-go-to-next-roster-item 38 | "k" 'jabber-go-to-previous-roster-item)))) 39 | 40 | -------------------------------------------------------------------------------- /layers/+lang/lua/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Lua contribution layer for Spacemacs 2 | 3 | [[file:img/lua.gif]] 4 | 5 | * Table of Contents :TOC_4_gh:noexport: 6 | - [[#description][Description]] 7 | - [[#features][Features:]] 8 | - [[#install][Install]] 9 | - [[#key-bindings][Key Bindings]] 10 | - [[#commands][Commands]] 11 | 12 | * Description 13 | This layer adds support for editing Lua. 14 | 15 | ** Features: 16 | - Editing lua files using [[https://github.com/immerrr/lua-mode][lua-mode]] 17 | - Sending code to a lua REPL 18 | - Code linting using [[https://github.com/mpeterv/luacheck][Luacheck]] 19 | 20 | * Install 21 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 22 | add =lua= to the existing =dotspacemacs-configuration-layers= list in this 23 | file. 24 | 25 | In order to enable code linting, install [[https://github.com/mpeterv/luacheck][Luacheck]]. 26 | 27 | * Key Bindings 28 | ** Commands 29 | 30 | | Key Binding | Description | 31 | |-------------+--------------------------------------------| 32 | | ~SPC m d~ | lookup thing at point in lua documentation | 33 | | ~SPC m s b~ | send buffer contents to REPL | 34 | | ~SPC m s f~ | send current function to REPL | 35 | | ~SPC m s l~ | send current line to REPL | 36 | | ~SPC m s r~ | send current region to REPL | 37 | -------------------------------------------------------------------------------- /init.el: -------------------------------------------------------------------------------- 1 | ;;; init.el --- Spacemacs Initialization File 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; Without this comment emacs25 adds (package-initialize) here 13 | ;; (package-initialize) 14 | 15 | ;; Increase gc-cons-threshold, depending on your system you may set it back to a 16 | ;; lower value in your dotfile (function `dotspacemacs/user-config') 17 | (setq gc-cons-threshold 100000000) 18 | 19 | (defconst spacemacs-version "0.200.7" "Spacemacs version.") 20 | (defconst spacemacs-emacs-min-version "24.4" "Minimal version of Emacs.") 21 | 22 | (if (not (version<= spacemacs-emacs-min-version emacs-version)) 23 | (message (concat "Your version of Emacs (%s) is too old. " 24 | "Spacemacs requires Emacs version %s or above.") 25 | emacs-version spacemacs-emacs-min-version) 26 | (load-file (concat (file-name-directory load-file-name) 27 | "core/core-load-paths.el")) 28 | (require 'core-spacemacs) 29 | (spacemacs/init) 30 | (spacemacs/maybe-install-dotfile) 31 | (configuration-layer/sync) 32 | (spacemacs-buffer/display-info-box) 33 | (spacemacs/setup-startup-hook) 34 | (require 'server) 35 | (unless (server-running-p) (server-start))) 36 | -------------------------------------------------------------------------------- /layers/+fun/emoji/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Emoji layer 2 | 3 | [[file:img/emojis.png]] 4 | 5 | * Table of Contents :TOC_4_gh:noexport: 6 | - [[#description][Description]] 7 | - [[#features][Features]] 8 | - [[#install][Install]] 9 | - [[#key-bindings][Key bindings]] 10 | - [[#emoji-dedicated-buffer][Emoji dedicated buffer]] 11 | 12 | * Description 13 | This layer adds support for Emoji emoticons from [[http://www.emoji-cheat-sheet.com/][emoji-cheat-sheet.com]]. 14 | 15 | ** Features 16 | - Browse Emoji in a dedicated buffer 17 | - Display Emoji images in buffer 18 | - Insert one or several Emoji with an helm front-end 19 | - Completion of Emojis using [[https://github.com/dunn/company-emoji][company-emoji]] 20 | 21 | * Install 22 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 23 | add =emoji= to the existing =dotspacemacs-configuration-layers= list in this 24 | file. 25 | 26 | * Key bindings 27 | 28 | | Key Binding | Description | 29 | |-------------+-----------------------------------------| 30 | | ~SPC a E~ | open a dedicated buffer to browse Emoji | 31 | | ~SPC i e~ | insert Emoji via an helm buffer | 32 | 33 | ** Emoji dedicated buffer 34 | 35 | | Key Binding | Description | 36 | |-------------+-------------------------| 37 | | ~RET~ | copy current Emoji code | 38 | | ~q~ | quit | 39 | -------------------------------------------------------------------------------- /layers/+misc/nlinum/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- nlinum Layer packages File 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Sylvain Benner 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (defconst nlinum-packages 13 | '( 14 | (linum :excluded t) 15 | (linum-relative :excluded t) 16 | nlinum 17 | nlinum-relative 18 | )) 19 | 20 | (defun nlinum/init-nlinum () 21 | (use-package nlinum 22 | :init 23 | (progn 24 | (when dotspacemacs-line-numbers 25 | (add-hook 'prog-mode-hook 'nlinum-mode) 26 | (add-hook 'text-mode-hook 'nlinum-mode)) 27 | (setq nlinum-format "%4d") 28 | (spacemacs|add-toggle line-numbers 29 | :mode nlinum-mode 30 | :documentation "Show the line numbers." 31 | :evil-leader "tn")))) 32 | 33 | (defun nlinum/init-nlinum-relative () 34 | (use-package nlinum-relative 35 | :commands (nlinum-relative-toggle nlinum-relative-on) 36 | :init 37 | (progn 38 | (setq nlinum-relative-current-symbol "" 39 | nlinum-relative-redisplay-delay 0) 40 | (when (eq dotspacemacs-line-numbers 'relative) 41 | (nlinum-relative-setup-evil) 42 | (add-hook 'nlinum-mode-hook 'nlinum-relative-on)) 43 | (spacemacs/set-leader-keys "tr" 'nlinum-relative-toggle)))) 44 | --------------------------------------------------------------------------------