├── layers ├── nixos │ ├── config.el │ ├── img │ │ └── nixos.jpg │ ├── packages.el │ └── README.org ├── auto-completion │ └── snippets │ │ └── emacs-lisp-mode │ │ ├── .yas-parents │ │ ├── .yas-setup.el │ │ ├── micro-state │ │ └── new-package ├── +lang │ ├── ocaml │ │ ├── config.el │ │ ├── img │ │ │ └── ocaml.png │ │ └── funcs.el │ ├── ess │ │ ├── img │ │ │ └── r.jpg │ │ └── config.el │ ├── go │ │ ├── img │ │ │ └── go.png │ │ └── config.el │ ├── python │ │ ├── local │ │ │ └── pylookup │ │ │ │ ├── .gitignore │ │ │ │ └── makefile │ │ ├── img │ │ │ └── python.png │ │ └── config.el │ ├── d │ │ ├── img │ │ │ └── dlogo.png │ │ ├── config.el │ │ ├── README.org │ │ └── packages.el │ ├── elm │ │ ├── img │ │ │ └── elm.png │ │ ├── config.el │ │ └── funcs.el │ ├── lua │ │ ├── img │ │ │ └── lua.gif │ │ ├── packages.el │ │ └── README.org │ ├── php │ │ ├── img │ │ │ └── php.png │ │ ├── config.el │ │ └── README.org │ ├── sml │ │ └── img │ │ │ └── sml.png │ ├── sql │ │ ├── img │ │ │ └── sql.png │ │ └── extensions.el │ ├── c-c++ │ │ ├── img │ │ │ ├── ccpp.jpg │ │ │ └── cmake.png │ │ └── config.el │ ├── html │ │ ├── img │ │ │ └── html.png │ │ └── config.el │ ├── java │ │ ├── img │ │ │ └── java.png │ │ ├── config.el │ │ └── funcs.el │ ├── nim │ │ ├── img │ │ │ └── logo.png │ │ ├── config.el │ │ ├── packages.el │ │ └── README.org │ ├── ruby │ │ ├── img │ │ │ └── ruby.png │ │ └── config.el │ ├── rust │ │ ├── img │ │ │ └── rust.png │ │ ├── config.el │ │ └── funcs.el │ ├── idris │ │ └── img │ │ │ └── idris.png │ ├── latex │ │ ├── img │ │ │ └── latex.png │ │ └── config.el │ ├── scala │ │ ├── img │ │ │ ├── ensime.png │ │ │ └── scala.png │ │ └── config.el │ ├── swift │ │ └── img │ │ │ └── swift.png │ ├── autohotkey │ │ ├── img │ │ │ └── ahk.png │ │ ├── packages.el │ │ └── README.org │ ├── clojure │ │ ├── img │ │ │ ├── cider.png │ │ │ └── clojure.png │ │ └── funcs.el │ ├── csharp │ │ ├── img │ │ │ ├── csharp.png │ │ │ └── dotnet.png │ │ ├── config.el │ │ └── extensions.el │ ├── elixir │ │ ├── img │ │ │ ├── elixir.png │ │ │ └── alchemist.png │ │ ├── alchemist-refcard.pdf │ │ └── config.el │ ├── erlang │ │ ├── img │ │ │ └── erlang.png │ │ ├── README.org │ │ └── packages.el │ ├── fsharp │ │ └── img │ │ │ └── fsharp.png │ ├── haskell │ │ ├── img │ │ │ └── haskell.png │ │ └── config.el │ ├── octave │ │ ├── img │ │ │ └── octave.png │ │ └── packages.el │ ├── racket │ │ └── img │ │ │ └── racket.png │ ├── common-lisp │ │ └── img │ │ │ └── slime.png │ ├── javascript │ │ ├── img │ │ │ ├── coffee.png │ │ │ └── javascript.png │ │ ├── funcs.el │ │ └── config.el │ ├── markdown │ │ ├── img │ │ │ └── markdown.png │ │ └── config.el │ ├── shell-scripts │ │ ├── img │ │ │ └── fish.png │ │ ├── README.org │ │ └── packages.el │ ├── windows-scripts │ │ ├── img │ │ │ └── ps.png │ │ ├── packages.el │ │ ├── extensions.el │ │ └── README.org │ ├── emacs-lisp │ │ ├── img │ │ │ └── emacs-lisp.png │ │ └── config.el │ ├── ipython-notebook │ │ ├── img │ │ │ ├── dark.png │ │ │ └── light.png │ │ └── matplotlibrc │ ├── typescript │ │ ├── img │ │ │ └── TypeScript.png │ │ └── packages.el │ ├── purescript │ │ ├── img │ │ │ └── purescript-logo.png │ │ └── config.el │ ├── extra-langs │ │ ├── README.org │ │ └── packages.el │ ├── yaml │ │ ├── README.org │ │ └── packages.el │ └── vimscript │ │ ├── README.org │ │ └── packages.el ├── org │ ├── img │ │ └── org.png │ ├── org-async-init.el │ └── config.el ├── osx │ ├── img │ │ ├── osx.png │ │ └── apple.png │ └── config.el ├── shell │ ├── img │ │ └── shell.png │ └── config.el ├── smex │ ├── img │ │ └── smex.png │ ├── README.org │ └── packages.el ├── +irc │ ├── rcirc │ │ ├── local │ │ │ └── helm-rcirc │ │ │ │ └── README.md │ │ ├── img │ │ │ └── irc.png │ │ ├── extensions.el │ │ └── config.el │ └── erc │ │ ├── config.el │ │ └── extensions │ │ └── erc-yank │ │ └── README.md ├── chinese │ └── img │ │ ├── China.png │ │ └── Chinese.png ├── chrome │ ├── img │ │ └── chrome.png │ └── packages.el ├── cscope │ └── img │ │ └── cscope.jpg ├── +email │ ├── gnus │ │ └── img │ │ │ └── gnus.gif │ └── mu4e │ │ ├── config.el │ │ ├── funcs.el │ │ └── packages.el ├── +fun │ ├── games │ │ ├── img │ │ │ └── games.png │ │ ├── config.el │ │ └── packages.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 │ │ └── packages.el │ ├── elfeed │ │ ├── img │ │ │ └── elfeed.png │ │ └── config.el │ ├── vagrant │ │ ├── img │ │ │ └── vagrant.png │ │ ├── Vagrantfile │ │ └── packages.el │ ├── evernote │ │ ├── img │ │ │ ├── evernote.png │ │ │ └── geeknote.png │ │ ├── config.el │ │ └── packages.el │ ├── wakatime │ │ ├── img │ │ │ └── wakatime.png │ │ └── packages.el │ ├── tmux │ │ ├── packages.el │ │ └── README.org │ ├── fasd │ │ ├── packages.el │ │ └── README.org │ ├── ranger │ │ └── packages.el │ ├── command-log │ │ └── README.org │ ├── ycmd │ │ └── packages.el │ └── pandoc │ │ ├── packages.el │ │ └── README.org ├── finance │ ├── img │ │ └── ledger.png │ └── config.el ├── prodigy │ ├── img │ │ └── prodigy.png │ └── packages.el ├── spotify │ ├── img │ │ └── spotify.png │ ├── extensions.el │ ├── config.el │ ├── packages.el │ └── README.org ├── floobits │ ├── img │ │ └── floobits.png │ └── packages.el ├── jabber │ ├── img │ │ ├── jabber-logo.gif │ │ └── attribution.md │ └── packages.el ├── better-defaults │ ├── img │ │ └── emacs.png │ └── keybindings.el ├── colors │ ├── img │ │ ├── rainbow-mode.png │ │ ├── rainbow_dash.png │ │ └── theme-tweaks-python.png │ ├── extensions │ │ └── nyan-mode │ │ │ ├── mus │ │ │ └── nyanlooped.mp3 │ │ │ └── img │ │ │ ├── rainbow.xpm │ │ │ └── rainbow-start.xpm │ ├── extensions.el │ └── config.el ├── +frameworks │ ├── react │ │ ├── img │ │ │ └── react.png │ │ └── config.el │ ├── django │ │ ├── img │ │ │ └── django.png │ │ └── config.el │ └── ruby-on-rails │ │ ├── img │ │ └── ror.png │ │ └── config.el ├── +source-control │ ├── git │ │ ├── img │ │ │ └── git.png │ │ └── config.el │ ├── perforce │ │ ├── img │ │ │ └── p4.png │ │ └── config.el │ └── github │ │ ├── img │ │ └── github.png │ │ └── config.el ├── geolocation │ ├── img │ │ ├── emacs-sunshine.jpg │ │ └── emacs-location-helper.jpg │ └── config.el ├── search-engine │ └── img │ │ └── searchengine.jpg ├── syntax-checking │ ├── img │ │ └── flycheck.png │ ├── funcs.el │ └── config.el ├── +config-files │ ├── puppet │ │ ├── img │ │ │ └── puppet.png │ │ ├── config.el │ │ └── packages.el │ ├── salt │ │ ├── img │ │ │ └── saltstack.png │ │ ├── README.org │ │ └── packages.el │ ├── ansible │ │ ├── img │ │ │ └── ansible.png │ │ ├── config.el │ │ ├── funcs.el │ │ ├── README.org │ │ └── packages.el │ ├── dockerfile │ │ ├── img │ │ │ └── docker.png │ │ ├── packages.el │ │ └── README.org │ └── terraform │ │ ├── img │ │ └── terraform.png │ │ ├── packages.el │ │ └── README.org ├── +keyboard-layouts │ └── bepo │ │ └── img │ │ ├── bepo.png │ │ └── keymap.png ├── +vim │ ├── evil-snipe │ │ ├── img │ │ │ └── Cat_With_Rifle.jpg │ │ ├── config.el │ │ └── packages.el │ ├── vinegar │ │ ├── keybindings.el │ │ └── config.el │ ├── vim-empty-lines │ │ ├── packages.el │ │ └── README.org │ ├── unimpaired │ │ ├── funcs.el │ │ └── README.org │ ├── vim-powerline │ │ └── README.org │ ├── evil-commentary │ │ ├── packages.el │ │ └── README.org │ └── evil-cleverparens │ │ ├── packages.el │ │ └── README.org ├── +window-management │ ├── eyebrowse │ │ ├── img │ │ │ ├── i3wm.png │ │ │ └── eyebrowse.gif │ │ └── config.el │ └── spacemacs-layouts │ │ └── config.el ├── typography │ └── config.el ├── +distribution │ └── spacemacs │ │ └── config.el ├── ibuffer │ ├── config.el │ └── README.org ├── spell-checking │ ├── config.el │ └── funcs.el ├── restclient │ ├── packages.el │ └── README.org ├── themes-megapack │ └── README.org ├── gtags │ └── extensions.el ├── speed-reading │ ├── README.org │ └── packages.el ├── semantic │ └── extensions.el └── deft │ └── 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 │ ├── spacemacs-ahs-micro-state.png │ ├── spacemacs-lisp-micro-state.png │ ├── crappy-powerline-separators.png │ └── spacemacs-scale-micro-state.png ├── core ├── banners │ ├── img │ │ ├── zemacs.png │ │ └── spacemacs.png │ ├── 001-banner.txt │ ├── 000-banner.txt │ ├── 002-banner.txt │ ├── 003-banner.txt │ ├── 004-banner.txt │ └── 999-banner.txt ├── info │ ├── release-notes │ │ ├── 0.101.txt │ │ ├── 0.103.txt │ │ ├── 0.105.txt │ │ ├── 0.102.txt │ │ └── 0.104.txt │ └── quickhelp.txt └── templates │ ├── REPORTING.template │ └── README.org.template ├── .projectile ├── .github ├── ISSUE_TEMPLATE └── PULL_REQUEST_TEMPLATE ├── private ├── local │ └── README.md ├── snippets │ └── README.md └── README.md ├── tests ├── layers │ └── +distribution │ │ ├── spacemacs │ │ ├── dotspacemacs.el │ │ └── Makefile │ │ └── spacemacs-base │ │ ├── dotspacemacs.el │ │ └── Makefile └── core │ ├── data │ └── framed-text.txt │ ├── Makefile │ ├── core-spacemacs-ftest.el │ ├── core-configuration-layer-ftest.el │ └── core-release-management-ftest.el ├── .travis.yml ├── .gitignore ├── .travis-build.sh ├── init.el └── spacemacs.mk /layers/nixos/config.el: -------------------------------------------------------------------------------- 1 | (spacemacs|defvar-company-backends nix-mode) 2 | -------------------------------------------------------------------------------- /layers/auto-completion/snippets/emacs-lisp-mode/.yas-parents: -------------------------------------------------------------------------------- 1 | prog-mode 2 | -------------------------------------------------------------------------------- /layers/+lang/ocaml/config.el: -------------------------------------------------------------------------------- 1 | (spacemacs|defvar-company-backends merlin-mode) 2 | -------------------------------------------------------------------------------- /doc/img/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/title.png -------------------------------------------------------------------------------- /doc/img/title2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/title2.png -------------------------------------------------------------------------------- /doc/img/dot-error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/dot-error.png -------------------------------------------------------------------------------- /doc/img/dot-info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/dot-info.png -------------------------------------------------------------------------------- /doc/img/which-key.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/which-key.png -------------------------------------------------------------------------------- /doc/img/dot-warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/dot-warning.png -------------------------------------------------------------------------------- /doc/img/update-red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/update-red.png -------------------------------------------------------------------------------- /layers/org/img/org.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/org/img/org.png -------------------------------------------------------------------------------- /layers/osx/img/osx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/osx/img/osx.png -------------------------------------------------------------------------------- /doc/img/flycheck-error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/flycheck-error.png -------------------------------------------------------------------------------- /doc/img/flycheck-info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/flycheck-info.png -------------------------------------------------------------------------------- /doc/img/powerline-anzu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/powerline-anzu.png -------------------------------------------------------------------------------- /doc/img/powerline-bar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/powerline-bar.png -------------------------------------------------------------------------------- /doc/img/powerline-box.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/powerline-box.png -------------------------------------------------------------------------------- /doc/img/powerline-butt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/powerline-butt.png -------------------------------------------------------------------------------- /doc/img/powerline-nil.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/powerline-nil.png -------------------------------------------------------------------------------- /doc/img/powerline-wave.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/powerline-wave.png -------------------------------------------------------------------------------- /doc/img/update-green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/update-green.png -------------------------------------------------------------------------------- /doc/img/update-orange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/update-orange.png -------------------------------------------------------------------------------- /layers/+lang/ess/img/r.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/ess/img/r.jpg -------------------------------------------------------------------------------- /layers/+lang/go/img/go.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/go/img/go.png -------------------------------------------------------------------------------- /layers/+lang/python/local/pylookup/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | *.elc 3 | /*.zip 4 | *.db 5 | python-*-docs-html 6 | -------------------------------------------------------------------------------- /layers/nixos/img/nixos.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/nixos/img/nixos.jpg -------------------------------------------------------------------------------- /layers/osx/img/apple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/osx/img/apple.png -------------------------------------------------------------------------------- /layers/shell/img/shell.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/shell/img/shell.png -------------------------------------------------------------------------------- /layers/smex/img/smex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/smex/img/smex.png -------------------------------------------------------------------------------- /core/banners/img/zemacs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/core/banners/img/zemacs.png -------------------------------------------------------------------------------- /doc/img/flycheck-warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/flycheck-warning.png -------------------------------------------------------------------------------- /doc/img/powerline-arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/powerline-arrow.png -------------------------------------------------------------------------------- /doc/img/powerline-brace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/powerline-brace.png -------------------------------------------------------------------------------- /doc/img/powerline-curve.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/powerline-curve.png -------------------------------------------------------------------------------- /doc/img/powerline-slant.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/powerline-slant.png -------------------------------------------------------------------------------- /doc/img/powerline-update.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/powerline-update.png -------------------------------------------------------------------------------- /doc/img/powerline-zigzag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/powerline-zigzag.png -------------------------------------------------------------------------------- /doc/img/spacemacs-python.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/spacemacs-python.png -------------------------------------------------------------------------------- /doc/img/spacemacs-urxvt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/spacemacs-urxvt.png -------------------------------------------------------------------------------- /layers/+irc/rcirc/local/helm-rcirc/README.md: -------------------------------------------------------------------------------- 1 | helm-rcirc 2 | ========== 3 | 4 | An Helm interface for rcirc 5 | -------------------------------------------------------------------------------- /layers/+lang/d/img/dlogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/d/img/dlogo.png -------------------------------------------------------------------------------- /layers/+lang/elm/img/elm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/elm/img/elm.png -------------------------------------------------------------------------------- /layers/+lang/lua/img/lua.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/lua/img/lua.gif -------------------------------------------------------------------------------- /layers/+lang/php/img/php.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/php/img/php.png -------------------------------------------------------------------------------- /layers/+lang/sml/img/sml.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/sml/img/sml.png -------------------------------------------------------------------------------- /layers/+lang/sql/img/sql.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/sql/img/sql.png -------------------------------------------------------------------------------- /layers/chinese/img/China.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/chinese/img/China.png -------------------------------------------------------------------------------- /layers/chrome/img/chrome.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/chrome/img/chrome.png -------------------------------------------------------------------------------- /layers/cscope/img/cscope.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/cscope/img/cscope.jpg -------------------------------------------------------------------------------- /core/banners/img/spacemacs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/core/banners/img/spacemacs.png -------------------------------------------------------------------------------- /doc/img/flycheck-mode-line.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/flycheck-mode-line.png -------------------------------------------------------------------------------- /doc/img/powerline-alternate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/powerline-alternate.png -------------------------------------------------------------------------------- /doc/img/powerline-chamfer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/powerline-chamfer.png -------------------------------------------------------------------------------- /doc/img/powerline-contour.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/powerline-contour.png -------------------------------------------------------------------------------- /doc/img/powerline-rounded.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/powerline-rounded.png -------------------------------------------------------------------------------- /doc/img/powerline-roundstub.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/powerline-roundstub.png -------------------------------------------------------------------------------- /doc/img/spacemacs-startup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/spacemacs-startup.png -------------------------------------------------------------------------------- /layers/+email/gnus/img/gnus.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+email/gnus/img/gnus.gif -------------------------------------------------------------------------------- /layers/+fun/games/img/games.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+fun/games/img/games.png -------------------------------------------------------------------------------- /layers/+fun/xkcd/img/xkcd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+fun/xkcd/img/xkcd.png -------------------------------------------------------------------------------- /layers/+irc/rcirc/img/irc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+irc/rcirc/img/irc.png -------------------------------------------------------------------------------- /layers/+lang/c-c++/img/ccpp.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/c-c++/img/ccpp.jpg -------------------------------------------------------------------------------- /layers/+lang/html/img/html.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/html/img/html.png -------------------------------------------------------------------------------- /layers/+lang/java/img/java.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/java/img/java.png -------------------------------------------------------------------------------- /layers/+lang/nim/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/nim/img/logo.png -------------------------------------------------------------------------------- /layers/+lang/ruby/img/ruby.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/ruby/img/ruby.png -------------------------------------------------------------------------------- /layers/+lang/rust/img/rust.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/rust/img/rust.png -------------------------------------------------------------------------------- /layers/+tools/dash/img/dash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+tools/dash/img/dash.png -------------------------------------------------------------------------------- /layers/+tools/dash/img/zeal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+tools/dash/img/zeal.png -------------------------------------------------------------------------------- /layers/chinese/img/Chinese.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/chinese/img/Chinese.png -------------------------------------------------------------------------------- /layers/finance/img/ledger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/finance/img/ledger.png -------------------------------------------------------------------------------- /layers/prodigy/img/prodigy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/prodigy/img/prodigy.png -------------------------------------------------------------------------------- /layers/spotify/img/spotify.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/spotify/img/spotify.png -------------------------------------------------------------------------------- /doc/img/powerline-arrow-fade.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/powerline-arrow-fade.png -------------------------------------------------------------------------------- /doc/img/powerline-fix-windows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/powerline-fix-windows.png -------------------------------------------------------------------------------- /layers/+fun/emoji/img/emojis.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+fun/emoji/img/emojis.png -------------------------------------------------------------------------------- /layers/+lang/c-c++/img/cmake.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/c-c++/img/cmake.png -------------------------------------------------------------------------------- /layers/+lang/idris/img/idris.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/idris/img/idris.png -------------------------------------------------------------------------------- /layers/+lang/latex/img/latex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/latex/img/latex.png -------------------------------------------------------------------------------- /layers/+lang/ocaml/img/ocaml.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/ocaml/img/ocaml.png -------------------------------------------------------------------------------- /layers/+lang/scala/img/ensime.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/scala/img/ensime.png -------------------------------------------------------------------------------- /layers/+lang/scala/img/scala.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/scala/img/scala.png -------------------------------------------------------------------------------- /layers/+lang/swift/img/swift.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/swift/img/swift.png -------------------------------------------------------------------------------- /layers/floobits/img/floobits.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/floobits/img/floobits.png -------------------------------------------------------------------------------- /layers/jabber/img/jabber-logo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/jabber/img/jabber-logo.gif -------------------------------------------------------------------------------- /layers/+lang/autohotkey/img/ahk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/autohotkey/img/ahk.png -------------------------------------------------------------------------------- /layers/+lang/clojure/img/cider.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/clojure/img/cider.png -------------------------------------------------------------------------------- /layers/+lang/clojure/img/clojure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/clojure/img/clojure.png -------------------------------------------------------------------------------- /layers/+lang/csharp/img/csharp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/csharp/img/csharp.png -------------------------------------------------------------------------------- /layers/+lang/csharp/img/dotnet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/csharp/img/dotnet.png -------------------------------------------------------------------------------- /layers/+lang/elixir/img/elixir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/elixir/img/elixir.png -------------------------------------------------------------------------------- /layers/+lang/erlang/img/erlang.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/erlang/img/erlang.png -------------------------------------------------------------------------------- /layers/+lang/fsharp/img/fsharp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/fsharp/img/fsharp.png -------------------------------------------------------------------------------- /layers/+lang/haskell/img/haskell.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/haskell/img/haskell.png -------------------------------------------------------------------------------- /layers/+lang/octave/img/octave.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/octave/img/octave.png -------------------------------------------------------------------------------- /layers/+lang/python/img/python.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/python/img/python.png -------------------------------------------------------------------------------- /layers/+lang/racket/img/racket.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/racket/img/racket.png -------------------------------------------------------------------------------- /layers/+tools/elfeed/img/elfeed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+tools/elfeed/img/elfeed.png -------------------------------------------------------------------------------- /layers/better-defaults/img/emacs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/better-defaults/img/emacs.png -------------------------------------------------------------------------------- /layers/colors/img/rainbow-mode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/colors/img/rainbow-mode.png -------------------------------------------------------------------------------- /layers/colors/img/rainbow_dash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/colors/img/rainbow_dash.png -------------------------------------------------------------------------------- /doc/img/spacemacs-ahs-micro-state.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/spacemacs-ahs-micro-state.png -------------------------------------------------------------------------------- /doc/img/spacemacs-lisp-micro-state.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/spacemacs-lisp-micro-state.png -------------------------------------------------------------------------------- /layers/+frameworks/react/img/react.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+frameworks/react/img/react.png -------------------------------------------------------------------------------- /layers/+lang/common-lisp/img/slime.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/common-lisp/img/slime.png -------------------------------------------------------------------------------- /layers/+lang/elixir/img/alchemist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/elixir/img/alchemist.png -------------------------------------------------------------------------------- /layers/+lang/javascript/img/coffee.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/javascript/img/coffee.png -------------------------------------------------------------------------------- /layers/+lang/markdown/img/markdown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/markdown/img/markdown.png -------------------------------------------------------------------------------- /layers/+source-control/git/img/git.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+source-control/git/img/git.png -------------------------------------------------------------------------------- /layers/+tools/vagrant/img/vagrant.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+tools/vagrant/img/vagrant.png -------------------------------------------------------------------------------- /doc/img/crappy-powerline-separators.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/crappy-powerline-separators.png -------------------------------------------------------------------------------- /doc/img/spacemacs-scale-micro-state.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/doc/img/spacemacs-scale-micro-state.png -------------------------------------------------------------------------------- /layers/+frameworks/django/img/django.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+frameworks/django/img/django.png -------------------------------------------------------------------------------- /layers/+fun/selectric/img/typewriter.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+fun/selectric/img/typewriter.jpg -------------------------------------------------------------------------------- /layers/+lang/elixir/alchemist-refcard.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/elixir/alchemist-refcard.pdf -------------------------------------------------------------------------------- /layers/+lang/shell-scripts/img/fish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/shell-scripts/img/fish.png -------------------------------------------------------------------------------- /layers/+lang/windows-scripts/img/ps.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/windows-scripts/img/ps.png -------------------------------------------------------------------------------- /layers/+tools/evernote/img/evernote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+tools/evernote/img/evernote.png -------------------------------------------------------------------------------- /layers/+tools/evernote/img/geeknote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+tools/evernote/img/geeknote.png -------------------------------------------------------------------------------- /layers/+tools/wakatime/img/wakatime.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+tools/wakatime/img/wakatime.png -------------------------------------------------------------------------------- /layers/colors/img/theme-tweaks-python.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/colors/img/theme-tweaks-python.png -------------------------------------------------------------------------------- /layers/geolocation/img/emacs-sunshine.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/geolocation/img/emacs-sunshine.jpg -------------------------------------------------------------------------------- /layers/search-engine/img/searchengine.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/search-engine/img/searchengine.jpg -------------------------------------------------------------------------------- /layers/syntax-checking/img/flycheck.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/syntax-checking/img/flycheck.png -------------------------------------------------------------------------------- /layers/+config-files/puppet/img/puppet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+config-files/puppet/img/puppet.png -------------------------------------------------------------------------------- /layers/+config-files/salt/img/saltstack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+config-files/salt/img/saltstack.png -------------------------------------------------------------------------------- /layers/+keyboard-layouts/bepo/img/bepo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+keyboard-layouts/bepo/img/bepo.png -------------------------------------------------------------------------------- /layers/+lang/emacs-lisp/img/emacs-lisp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/emacs-lisp/img/emacs-lisp.png -------------------------------------------------------------------------------- /layers/+lang/ipython-notebook/img/dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/ipython-notebook/img/dark.png -------------------------------------------------------------------------------- /layers/+lang/ipython-notebook/img/light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/ipython-notebook/img/light.png -------------------------------------------------------------------------------- /layers/+lang/javascript/img/javascript.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/javascript/img/javascript.png -------------------------------------------------------------------------------- /layers/+lang/typescript/img/TypeScript.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/typescript/img/TypeScript.png -------------------------------------------------------------------------------- /layers/+source-control/perforce/img/p4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+source-control/perforce/img/p4.png -------------------------------------------------------------------------------- /layers/+config-files/ansible/img/ansible.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+config-files/ansible/img/ansible.png -------------------------------------------------------------------------------- /layers/+config-files/dockerfile/img/docker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+config-files/dockerfile/img/docker.png -------------------------------------------------------------------------------- /layers/+frameworks/ruby-on-rails/img/ror.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+frameworks/ruby-on-rails/img/ror.png -------------------------------------------------------------------------------- /layers/+keyboard-layouts/bepo/img/keymap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+keyboard-layouts/bepo/img/keymap.png -------------------------------------------------------------------------------- /layers/+source-control/github/img/github.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+source-control/github/img/github.png -------------------------------------------------------------------------------- /layers/+vim/evil-snipe/img/Cat_With_Rifle.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+vim/evil-snipe/img/Cat_With_Rifle.jpg -------------------------------------------------------------------------------- /layers/+config-files/terraform/img/terraform.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+config-files/terraform/img/terraform.png -------------------------------------------------------------------------------- /layers/+lang/purescript/img/purescript-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+lang/purescript/img/purescript-logo.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/+window-management/eyebrowse/img/i3wm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+window-management/eyebrowse/img/i3wm.png -------------------------------------------------------------------------------- /layers/geolocation/img/emacs-location-helper.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/geolocation/img/emacs-location-helper.jpg -------------------------------------------------------------------------------- /layers/+vim/vim-empty-lines/packages.el: -------------------------------------------------------------------------------- 1 | (setq vim-empty-lines-packages '()) 2 | 3 | (setq vim-empty-lines-excluded-packages 4 | '(vi-tilde-fringe)) 5 | -------------------------------------------------------------------------------- /layers/+window-management/eyebrowse/img/eyebrowse.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/+window-management/eyebrowse/img/eyebrowse.gif -------------------------------------------------------------------------------- /layers/colors/extensions/nyan-mode/mus/nyanlooped.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerrypnz/spacemacs/master/layers/colors/extensions/nyan-mode/mus/nyanlooped.mp3 -------------------------------------------------------------------------------- /.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 -------------------------------------------------------------------------------- /.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. 3 | You can delete this message to start typing. -------------------------------------------------------------------------------- /layers/auto-completion/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 | -------------------------------------------------------------------------------- /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/+config-files/puppet/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- Puppet Layer configuration file for Spacemacs 2 | ;; 3 | ;; This file is not part of GNU Emacs. 4 | ;; 5 | ;;; License: GPLv3 6 | 7 | ;; Variables 8 | 9 | (spacemacs|defvar-company-backends puppet-mode) 10 | -------------------------------------------------------------------------------- /layers/org/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/+irc/rcirc/extensions.el: -------------------------------------------------------------------------------- 1 | (setq rcirc-post-extensions 2 | '( 3 | helm-rcirc 4 | )) 5 | 6 | (defun rcirc/init-helm-rcirc () 7 | (use-package helm-rcirc 8 | :commands helm-rcirc-auto-join-channels 9 | :init 10 | (spacemacs/set-leader-keys "irc" 'helm-rcirc-auto-join-channels))) 11 | -------------------------------------------------------------------------------- /layers/+vim/unimpaired/funcs.el: -------------------------------------------------------------------------------- 1 | ;; funcs.el file for unimpaired contribution layer 2 | 3 | (defun unimpaired/paste-above () 4 | (interactive) 5 | (evil-insert-newline-above) 6 | (evil-paste-after 1)) 7 | 8 | (defun unimpaired/paste-below () 9 | (interactive) 10 | (evil-insert-newline-below) 11 | (evil-paste-after 1)) 12 | -------------------------------------------------------------------------------- /layers/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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/auto-completion/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/+frameworks/django/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- Django Layer config 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/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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /layers/+frameworks/ruby-on-rails/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- Ruby on Rails Layer config 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/+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 | -------------------------------------------------------------------------------- /layers/osx/config.el: -------------------------------------------------------------------------------- 1 | (defvar osx-use-option-as-meta t 2 | "If non nil the option key is mapped to meta. Set to `nil` if you need the 3 | option key to type common characters.") 4 | 5 | ;; Use the OS X Emoji font for Emoticons 6 | (when (fboundp 'set-fontset-font) 7 | (set-fontset-font "fontset-default" 8 | '(#x1F600 . #x1F64F) 9 | (font-spec :name "Apple Color Emoji") nil 'prepend)) 10 | -------------------------------------------------------------------------------- /layers/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/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 dash-helm-dash-docset-path "" 13 | "Path containing dash docsets.") 14 | -------------------------------------------------------------------------------- /layers/spotify/extensions.el: -------------------------------------------------------------------------------- 1 | ;;; extensions.el --- spotify Layer extensions 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-pre-extensions '()) 13 | 14 | (setq spotify-post-extensions '()) 15 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /layers/spotify/config.el: -------------------------------------------------------------------------------- 1 | ;;; extensions.el --- sql Layer extensions 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/declare-prefix "am" "music") 13 | (spacemacs/declare-prefix "ams" "Spotify") 14 | -------------------------------------------------------------------------------- /layers/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/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | ;; Prerequisites 13 | 14 | (configuration-layer/declare-layers '(spacemacs-base spacemacs-layouts)) 15 | -------------------------------------------------------------------------------- /layers/+tools/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 | -------------------------------------------------------------------------------- /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/+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 | -------------------------------------------------------------------------------- /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/+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 | -------------------------------------------------------------------------------- /core/templates/REPORTING.template: -------------------------------------------------------------------------------- 1 | 2 | #### Description 3 | DESCRIPTION OF THE PROBLEM 4 | 5 | #### Reproduction guide 6 | - Start Emacs 7 | - REPRODUCTION STEPS 8 | 9 | *Observed behaviour:* 10 | DESCRIPTION OF THE OBSERVED BEHAVIOUR 11 | 12 | *Expected behaviour:* 13 | DESCRIPTION OF THE EXPECTED BEHAVIOUR 14 | 15 | (%LAST_KEYS%) 16 | 17 | %SYSTEM_INFO% 18 | 19 | #### Backtrace 20 | ``` 21 | %BACKTRACE% 22 | ``` 23 | -------------------------------------------------------------------------------- /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 '((tmux :location local))) 12 | 13 | (defun tmux/init-tmux () 14 | "Initialize tmux" 15 | (use-package tmux)) 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/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 | (spacemacs|defvar-company-backends elixir-mode) 15 | (spacemacs|defvar-company-backends alchemist-iex-mode) 16 | -------------------------------------------------------------------------------- /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 | (spacemacs|defvar-company-backends emacs-lisp-mode) 14 | (spacemacs|defvar-company-backends ielm-mode) 15 | -------------------------------------------------------------------------------- /layers/+frameworks/react/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- react Layer packages 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-layers '(html javascript)) 15 | 16 | ;; Variables 17 | 18 | (spacemacs|defvar-company-backends react-mode) 19 | -------------------------------------------------------------------------------- /layers/+irc/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 | (spacemacs|defvar-company-backends erc-mode) 16 | -------------------------------------------------------------------------------- /layers/+tools/elfeed/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- elfeed Layer extensions 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/+tools/tmux/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Tmux layer 2 | #+HTML_HEAD_EXTRA: 3 | 4 | * Table of Contents :TOC_4_org:noexport: 5 | - [[What is this][What is this]] 6 | 7 | * What is this 8 | This is an extension to support [[https://github.com/Keithbsmiley/evil-tmux-navigator][evil-tmux-navigator]]. It requires a little 9 | configuration for tmux, so check the upstream documentation. 10 | 11 | 12 | -------------------------------------------------------------------------------- /layers/better-defaults/keybindings.el: -------------------------------------------------------------------------------- 1 | ;;; funcs.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-a") 'spacemacs/smart-move-beginning-of-line) 13 | (global-set-key (kbd "C-w") 'spacemacs/backward-kill-word-or-region) 14 | -------------------------------------------------------------------------------- /core/banners/000-banner.txt: -------------------------------------------------------------------------------- 1 | 2 | Welcome to 3 | ███████╗██████╗**█████╗**██████╗███████╗███╗***███╗*█████╗**██████╗███████╗ B 4 | ██╔════╝██╔══██╗██╔══██╗██╔════╝██╔════╝████╗*████║██╔══██╗██╔════╝██╔════╝ E 5 | ███████╗██████╔╝███████║██║*****█████╗**██╔████╔██║███████║██║*****███████╗ T 6 | ╚════██║██╔═══╝*██╔══██║██║*****██╔══╝**██║╚██╔╝██║██╔══██║██║*****╚════██║ A 7 | ███████║██║*****██║**██║╚██████╗███████╗██║*╚═╝*██║██║**██║╚██████╗███████║ 8 | ╚══════╝╚═╝*****╚═╝**╚═╝*╚═════╝╚══════╝╚═╝*****╚═╝╚═╝**╚═╝*╚═════╝╚══════╝ 9 | -------------------------------------------------------------------------------- /layers/+config-files/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 | -------------------------------------------------------------------------------- /layers/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-github-support nil 15 | "If non-nil Github related packages are configured.") 16 | 17 | (spacemacs|defvar-company-backends org-mode) 18 | -------------------------------------------------------------------------------- /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/extra-langs/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Extra Languages 2 | #+HTML_HEAD_EXTRA: 3 | 4 | * Table of Contents :TOC_4_org:noexport: 5 | - [[Description][Description]] 6 | 7 | * Description 8 | 9 | Adds many more language modes for less common languages, some more niche than others. 10 | 11 | These include: 12 | - Arduino 13 | - Julia 14 | - MATLAB 15 | - QML 16 | - OpenScad 17 | - Stan 18 | - Wolfram Language / Mathematica 19 | -------------------------------------------------------------------------------- /layers/+source-control/perforce/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- Perforce 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 | (setq perforce/key-binding-prefixes '(("p4" . "perforce"))) 13 | (mapc (lambda (x) (spacemacs/declare-prefix (car x) (cdr x))) 14 | perforce/key-binding-prefixes) 15 | -------------------------------------------------------------------------------- /layers/auto-completion/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/+lang/yaml/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: YAML layer 2 | #+HTML_HEAD_EXTRA: 3 | 4 | * Table of Contents :TOC_4_org:noexport: 5 | - [[Description][Description]] 6 | - [[Install][Install]] 7 | 8 | * Description 9 | This layer provides syntax highlighting 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 | -------------------------------------------------------------------------------- /.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/+irc/erc/extensions/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/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/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 (hook) 13 | "Add flycheck to the given HOOK, if 14 | `syntax-checking-enable-by-default' is true." 15 | (when syntax-checking-enable-by-default 16 | (add-hook hook 'flycheck-mode))) 17 | -------------------------------------------------------------------------------- /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 | (defun javascript//tern-detect () 13 | "Detect tern binary and warn if not found." 14 | (let ((found (executable-find "tern"))) 15 | (unless found 16 | (spacemacs-buffer/warning "tern binary not found!")) 17 | found)) 18 | -------------------------------------------------------------------------------- /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 | 6 | ;; Author: Chris Hoeppner 7 | ;; URL: https://github.com/syl20bnr/spacemacs 8 | ;; 9 | ;; This file is not part of GNU Emacs. 10 | ;; 11 | ;;; License: GPLv3 12 | 13 | ;; Variables 14 | 15 | ;; Define the buffer local company backend variable 16 | (spacemacs|defvar-company-backends rust-mode) 17 | 18 | (defvar rust-enable-racer nil 19 | "If non-nil, load the racer package (this has an external dependency).") 20 | -------------------------------------------------------------------------------- /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 | (defvar scala-enable-eldoc nil 13 | "If non nil then eldoc-mode is enabled in the scala layer.") 14 | 15 | (defvar scala-auto-insert-asterisk-in-comments nil 16 | "If non-nil automatically insert leading asterisk in multi-line comments.") 17 | -------------------------------------------------------------------------------- /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/+window-management/eyebrowse/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- Eyebrowse 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 eyebrowse-display-help t 15 | "If non-nil additional help is displayed when selecting a workspace.") 16 | 17 | ;; Prefix commands 18 | 19 | (spacemacs/declare-prefix "W" "workspaces") 20 | -------------------------------------------------------------------------------- /layers/+vim/vim-powerline/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: vim-powerline layer 2 | #+HTML_HEAD_EXTRA: 3 | 4 | * Table of Contents :TOC_4_org:noexport: 5 | - [[Description][Description]] 6 | - [[Install][Install]] 7 | 8 | * Description 9 | A powerline theme modeled after the vim powerline theme. 10 | 11 | * Install 12 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 13 | add =vim-powerline= to the existing =dotspacemacs-configuration-layers= list in this 14 | file. 15 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | (when mu4e-installation-path 19 | (push mu4e-installation-path load-path)) 20 | -------------------------------------------------------------------------------- /layers/+source-control/github/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- Github 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 | ;; Command prefixes 13 | 14 | (setq github/key-binding-prefixes '(("gh" . "github") 15 | ("gg" . "github gist"))) 16 | (mapc (lambda (x) (spacemacs/declare-prefix (car x) (cdr x))) 17 | github/key-binding-prefixes) 18 | -------------------------------------------------------------------------------- /layers/+irc/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 | (spacemacs|defvar-company-backends rcirc-mode) 21 | -------------------------------------------------------------------------------- /layers/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 | ;; Command Prefixes 21 | 22 | -------------------------------------------------------------------------------- /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 | (defvar go-use-gocheck-for-testing nil 17 | "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.") 18 | -------------------------------------------------------------------------------- /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/vimscript/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Vimscript language layer 2 | #+HTML_HEAD_EXTRA: 3 | 4 | * Table of Contents :TOC_4_org:noexport: 5 | - [[Description][Description]] 6 | - [[Install][Install]] 7 | 8 | * Description 9 | 10 | This layer adds syntax highlighting support for vim filetypes, in addition to 11 | the pentadactyl firefox extension. 12 | 13 | * Install 14 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 15 | add =vimscript= to the existing =dotspacemacs-configuration-layers= list in this 16 | file. 17 | -------------------------------------------------------------------------------- /layers/+config-files/ansible/config.el: -------------------------------------------------------------------------------- 1 | ;;; funcs.el --- Ansible Layer extensions 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 | 14 | ;; detect filenames compatible with Ansible's recommended layout. 15 | ;; http://docs.ansible.com/playbooks_best_practices.html#directory-layout 16 | (setq ansible/ansible-filename-re 17 | "\\(site\.yml\\|roles/.+\.yml\\|group_vars/.+\\|host_vars/.+\\)") 18 | -------------------------------------------------------------------------------- /layers/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 | ;; Command Prefixes 13 | 14 | (spacemacs/declare-prefix "S" "spelling") 15 | 16 | ;; Variables 17 | 18 | (defvar spell-checking-enable-by-default t 19 | "Enable spell checking by default.") 20 | 21 | (defvar spell-checking-enable-auto-dictionary nil 22 | "Specify if auto-dictionary should be enabled or not.") 23 | -------------------------------------------------------------------------------- /layers/+lang/erlang/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Erlang layer 2 | #+HTML_HEAD_EXTRA: 3 | 4 | [[file:img/erlang.png]] 5 | 6 | * Table of Contents :TOC_4_org:noexport: 7 | - [[Description][Description]] 8 | - [[Install][Install]] 9 | 10 | * Description 11 | 12 | Very basic layer for Erlang with support for basic =syntax-checking= and 13 | =auto-completion= with the corresponding layers. 14 | 15 | * Install 16 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 17 | add =erlang= to the existing =dotspacemacs-configuration-layers= list in this 18 | file. 19 | -------------------------------------------------------------------------------- /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/+config-files/dockerfile/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- dockerfile Layer packages File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Alan Zimmerman 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (setq dockerfile-packages 13 | '( 14 | dockerfile-mode 15 | )) 16 | 17 | (defun dockerfile/init-dockerfile-mode () 18 | (use-package dockerfile-mode 19 | :defer t 20 | :config 21 | (progn 22 | (spacemacs/set-leader-keys-for-major-mode 'dockerfile-mode 23 | "cb" 'dockerfile-build-buffer 24 | ))) 25 | ) 26 | -------------------------------------------------------------------------------- /layers/+config-files/terraform/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Terraform layer 2 | #+HTML_HEAD_EXTRA: 3 | 4 | [[file:img/terraform.png]] 5 | 6 | 7 | * Table of Contents :TOC_4_org:noexport: 8 | - [[Description][Description]] 9 | - [[Install][Install]] 10 | 11 | * Description 12 | This layer provides syntax support for Terraform `.tf` files using 13 | [terraform-mode](https://github.com/syohex/emacs-terraform-mode). 14 | 15 | * Install 16 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 17 | add =terraform= to the existing =dotspacemacs-configuration-layers= list in this 18 | file. 19 | -------------------------------------------------------------------------------- /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/+lang/d/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: D language layer 2 | #+HTML_HEAD_EXTRA: 3 | 4 | [[file:img/dlogo.png]] 5 | 6 | * Table of Contents :TOC_4_org:noexport: 7 | - [[Description][Description]] 8 | - [[Install][Install]] 9 | 10 | * Description 11 | This simple layer adds support for the [[http://dlang.org/][D language]]. 12 | It adds =d-mode= as well as integrating it with =auto-completion= and =syntax-checking=. 13 | 14 | * Install 15 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 16 | add =d= to the existing =dotspacemacs-configuration-layers= list in this 17 | file. 18 | -------------------------------------------------------------------------------- /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 | (defvar c-c++-default-mode-for-headers 'c-mode 21 | "Default mode to open header files. Can be `c-mode' or `c++-mode'.") 22 | -------------------------------------------------------------------------------- /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/+lang/typescript/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- typescript Layer packages File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Chris Bowdon 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (setq typescript-packages '(tss)) 13 | 14 | (defun typescript/init-tss () 15 | "Initialize my package" 16 | (use-package tss 17 | :defer t 18 | :mode ("\\.ts\\'" . typescript-mode) 19 | :init (spacemacs/set-leader-keys-for-major-mode 'typescript-mode 20 | "gg" 'tss-jump-to-definition 21 | "hh" 'tss-popup-help) 22 | :config (tss-config-default))) 23 | -------------------------------------------------------------------------------- /layers/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-osx-location-service-support nil 13 | "If non nil enable the OS X location service support.") 14 | 15 | (defvar geolocation-enable-weather-forecast nil 16 | "If non nil enable the weather forecast service.") 17 | 18 | (defvar geolocation-enable-automatic-theme-changer nil 19 | "If non nil enable the automatic change of theme based on the current time.") 20 | -------------------------------------------------------------------------------- /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/restclient/packages.el: -------------------------------------------------------------------------------- 1 | (setq restclient-packages 2 | '( 3 | restclient 4 | ) 5 | ) 6 | 7 | (defun restclient/init-restclient () 8 | (use-package restclient 9 | :mode ("\\.http\\'" . restclient-mode) 10 | :defer t 11 | :init 12 | (progn 13 | 14 | (defun restclient-http-send-current-raw-stay-in-window () 15 | (interactive) 16 | (restclient-http-send-current t t)) 17 | 18 | (spacemacs/set-leader-keys-for-major-mode 'restclient-mode 19 | "s" 'restclient-http-send-current-stay-in-window 20 | "S" 'restclient-http-send-current 21 | "r" 'restclient-http-send-current-raw-stay-in-window 22 | "R" 'restclient-http-send-current-raw 23 | )) 24 | ) 25 | ) 26 | -------------------------------------------------------------------------------- /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 '(evil-commentary)) 13 | 14 | (setq evil-commentary-excluded-packages '(evil-nerd-commenter)) 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 | -------------------------------------------------------------------------------- /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/+window-management/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 | -------------------------------------------------------------------------------- /layers/+fun/games/config.el: -------------------------------------------------------------------------------- 1 | ;;; extensions.el --- Games Layer extensions 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 | 24 | ;; Command prefixes 25 | 26 | (spacemacs/declare-prefix "aG" "games") 27 | -------------------------------------------------------------------------------- /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 | "cc" 'ahk-comment-dwim 23 | "cb" 'ahk-comment-block-dwim 24 | "h" 'ahk-lookup-web 25 | "eb" 'ahk-run-script))) 26 | -------------------------------------------------------------------------------- /layers/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/colors/extensions/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 | -------------------------------------------------------------------------------- /.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 | *~ 39 | *.elc 40 | *.pyc 41 | /*.zip 42 | *.db 43 | python-*-docs-html 44 | /.cask/ 45 | 46 | # Private directory 47 | private/ 48 | !private/README.md 49 | !private/snippets/README.md 50 | !private/local/README.md 51 | /games/ 52 | -------------------------------------------------------------------------------- /layers/+config-files/ansible/funcs.el: -------------------------------------------------------------------------------- 1 | ;;; funcs.el --- Ansible Layer extensions 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?) 17 | (ansible 1))) 18 | 19 | (defun ansible/ansible-doc-maybe-enable () 20 | (when (ansible/ansible-should-enable?) 21 | (ansible-doc-mode 1) 22 | (spacemacs/set-leader-keys-for-major-mode 'yaml-mode 23 | "a?" 'ansible-doc))) 24 | -------------------------------------------------------------------------------- /layers/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 | (defvar spotify-packages '(spotify helm-spotify)) 13 | 14 | (defun spotify/init-spotify () 15 | (use-package spotify 16 | :config (spacemacs/set-leader-keys 17 | "amsp" 'spotify-playpause 18 | "amsn" 'spotify-next 19 | "amsN" 'spotify-previous 20 | "amsQ" 'spotify-quit))) 21 | 22 | (defun spotify/init-helm-spotify () 23 | (use-package helm-spotify 24 | :config (spacemacs/set-leader-keys 25 | "amsg" 'helm-spotify))) 26 | -------------------------------------------------------------------------------- /layers/+lang/rust/funcs.el: -------------------------------------------------------------------------------- 1 | ;;; funcs.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 | ;; http://doc.crates.io/guide.html 13 | (defun spacemacs/rust-cargo-build () 14 | (interactive) 15 | (compile "cargo build")) 16 | 17 | (defun spacemacs/rust-cargo-run () 18 | (interactive) 19 | (compile "cargo run")) 20 | 21 | (defun spacemacs/rust-cargo-test () 22 | (interactive) 23 | (compile "cargo test")) 24 | 25 | (defun spacemacs/rust-cargo-doc () 26 | (interactive) 27 | (compile "cargo doc")) 28 | 29 | (defun spacemacs/rust-cargo-clean () 30 | (interactive) 31 | (compile "cargo clean")) 32 | -------------------------------------------------------------------------------- /layers/+tools/evernote/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- Evernote 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-enable-rainbow-identifiers nil 15 | "if non nil the `rainbow-identifers' package is enabled.") 16 | 17 | (defvar colors-enable-nyan-cat-progress-bar nil 18 | "if non nil all nyan cat packges are enabled (for now only `nyan-mode').") 19 | 20 | ;; Command prefixes 21 | 22 | (setq evernote/key-binding-prefixes '(("ae" . "applications-evernote"))) 23 | (mapc (lambda (x) (spacemacs/declare-prefix (car x) (cdr x))) 24 | evernote/key-binding-prefixes) 25 | -------------------------------------------------------------------------------- /layers/colors/extensions/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/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 | yaml-mode)) 13 | 14 | (defun yaml/post-init-company () 15 | (add-hook 'yaml-mode-hook 'company-mode)) 16 | 17 | (defun yaml/init-yaml-mode () 18 | "Initialize YAML mode" 19 | (use-package yaml-mode 20 | :mode (("\\.\\(yml\\|yaml\\)\\'" . yaml-mode) 21 | ("Procfile\\'" . yaml-mode)) 22 | :config (add-hook 'yaml-mode-hook 23 | '(lambda () 24 | (define-key yaml-mode-map "\C-m" 'newline-and-indent))))) 25 | -------------------------------------------------------------------------------- /layers/themes-megapack/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Themes Megapack layer 2 | #+HTML_HEAD_EXTRA: 3 | 4 | * Table of Contents :TOC_4_org:noexport: 5 | - [[What is this?][What is this?]] 6 | - [[Install][Install]] 7 | 8 | * What is this? 9 | This simple contribution layer is an example. It installs around 100 themes 10 | for Emacs. You can try them easily by invoking helm-themes with: ~ T h~. 11 | 12 | You can see samples of all included themes in this [[http://themegallery.robdor.com][theme gallery]] from [[http://www.twitter.com/robmerrell][Rob Merrell]]. 13 | 14 | * Install 15 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 16 | add =themes-megapack= to the existing =dotspacemacs-configuration-layers= list in this 17 | file. 18 | -------------------------------------------------------------------------------- /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 | : 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 | -------------------------------------------------------------------------------- /core/templates/README.org.template: -------------------------------------------------------------------------------- 1 | #+TITLE: %LAYER_NAME% layer 2 | #+HTML_HEAD_EXTRA: 3 | 4 | #+CAPTION: logo 5 | 6 | # The maximum height of the logo should be 200 pixels. 7 | [[img/%LAYER_NAME%.png]] 8 | 9 | * Table of Contents :TOC_4_org:noexport: 10 | - [[Decsription][Description]] 11 | - [[Install][Install]] 12 | - [[Key bindings][Key bindings]] 13 | 14 | * Description 15 | This layer does wonderful things: 16 | - thing01 17 | 18 | * Install 19 | To use this contribution add it to your =~/.spacemacs= 20 | 21 | #+begin_src emacs-lisp 22 | (setq-default dotspacemacs-configuration-layers '(%LAYER_NAME%)) 23 | #+end_src 24 | 25 | * Key bindings 26 | 27 | | Key Binding | Description | 28 | |-----------------+----------------| 29 | | ~ x x x~ | Does thing01 | 30 | -------------------------------------------------------------------------------- /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 " 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/gtags/extensions.el: -------------------------------------------------------------------------------- 1 | ;;; extensions.el --- gtags Layer extensions 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 gtags-pre-extensions 13 | '( 14 | ;; pre extension gtagss go here 15 | )) 16 | 17 | (setq gtags-post-extensions 18 | '( 19 | ;; post extension gtagss go here 20 | )) 21 | 22 | ;; For each extension, define a function gtags/init- 23 | ;; 24 | ;; (defun gtags/init-my-extension () 25 | ;; "Initialize my extension" 26 | ;; ) 27 | ;; 28 | ;; Often the body of an initialize function uses `use-package' 29 | ;; For more info on `use-package', see readme: 30 | ;; https://github.com/jwiegley/use-package 31 | -------------------------------------------------------------------------------- /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 | 17 | (setq javascript/key-binding-prefixes '(("mh" . "documentation") 18 | ("mg" . "goto") 19 | ("mr" . "refactor"))) 20 | (mapc (lambda (x) (spacemacs/declare-prefix-for-mode 21 | 'js2-mode (car x) (cdr x))) 22 | javascript/key-binding-prefixes) 23 | 24 | (defvar javascript-disable-tern-port-files t 25 | "Stops tern from creating tern port files.") 26 | -------------------------------------------------------------------------------- /layers/+config-files/salt/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Saltstack layer 2 | #+HTML_HEAD_EXTRA: 3 | 4 | [[file:img/saltstack.png]] 5 | 6 | * Table of Contents :TOC_4_org:noexport: 7 | - [[Description][Description]] 8 | - [[Install][Install]] 9 | - [[Key bindings][Key bindings]] 10 | 11 | * Description 12 | This layer provides syntax highlighting for Saltstack files. 13 | 14 | * Install 15 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 16 | add =Saltstack= to the existing =dotspacemacs-configuration-layers= list in this 17 | file. 18 | 19 | * Key bindings 20 | 21 | | Key Binding | Description | 22 | |-------------+----------------------------------------------| 23 | | ~SPC m p b~ | mmm-mode parse buffer via =mmm-parse-buffer= | 24 | -------------------------------------------------------------------------------- /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/csharp/extensions.el: -------------------------------------------------------------------------------- 1 | ;;; extensions.el --- csharp Layer extensions 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 csharp-pre-extensions 13 | '( 14 | ;; pre extension csharps go here 15 | )) 16 | 17 | (setq csharp-post-extensions 18 | '( 19 | ;; post extension csharps go here 20 | )) 21 | 22 | ;; For each extension, define a function csharp/init- 23 | ;; 24 | ;; (defun csharp/init-my-extension () 25 | ;; "Initialize my extension" 26 | ;; ) 27 | ;; 28 | ;; Often the body of an initialize function uses `use-package' 29 | ;; For more info on `use-package', see readme: 30 | ;; https://github.com/jwiegley/use-package 31 | -------------------------------------------------------------------------------- /layers/+lang/shell-scripts/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Shell Scripts layer 2 | #+HTML_HEAD_EXTRA: 3 | 4 | [[file:img/fish.png]] 5 | 6 | * Table of Contents :TOC_4_org:noexport: 7 | - [[Description][Description]] 8 | - [[Install][Install]] 9 | - [[Key Bindings][Key Bindings]] 10 | 11 | * Description 12 | 13 | This simple layer adds support for shell scripting. 14 | 15 | Incuded packages for extensions: 16 | - =.fish=: [[https://github.com/fish-shell/fish-shell][fish shell]] 17 | 18 | *Note:* For Windows scripting see the layer =windows-scripts= 19 | 20 | * Install 21 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 22 | add =shell-scripts= to the existing =dotspacemacs-configuration-layers= list in this 23 | file. 24 | 25 | * Key Bindings 26 | 27 | None for now. 28 | -------------------------------------------------------------------------------- /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 | 10 | (defun nim/post-init-flycheck () 11 | (spacemacs/add-flycheck-hook 'nim-mode-hook)) 12 | 13 | (defun nim/init-flycheck-nim () 14 | (use-package flycheck-nim 15 | :if (configuration-layer/package-usedp 'flycheck))) 16 | 17 | (defun nim/init-nim-mode () 18 | (use-package nim-mode 19 | :defer t 20 | :init (when (configuration-layer/package-usedp 'company) 21 | (push 'company-nim company-backends-nim-mode)) 22 | :config 23 | (progn 24 | (defun spacemacs/nim-compile-run () 25 | (interactive) 26 | (shell-command "nim compile --run main.nim")) 27 | (spacemacs/set-leader-keys-for-major-mode 'nim-mode 28 | "cr" 'spacemacs/nim-compile-run)))) 29 | -------------------------------------------------------------------------------- /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 | :status evil-cleverparens-mode 24 | :on (evil-cleverparens-mode) 25 | :off (evil-cleverparens-mode -1) 26 | :documentation "Enable evil-cleverparens.")))) 27 | -------------------------------------------------------------------------------- /layers/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/+config-files/ansible/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Ansible layer 2 | #+HTML_HEAD_EXTRA: 3 | 4 | [[file:img/ansible.png]] 5 | 6 | * Table of Contents :TOC_4_org:noexport: 7 | - [[Description][Description]] 8 | - [[Install][Install]] 9 | - [[Key bindings][Key bindings]] 10 | 11 | * Description 12 | This layer adds support for Ansible-flavored YAML buffers. 13 | 14 | * Install 15 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 16 | add =ansible= to the existing =dotspacemacs-configuration-layers= list in this 17 | file. 18 | 19 | * Key bindings 20 | 21 | | Key Binding | Description | 22 | |-------------+------------------------------------------| 23 | | ~SPC m a ?~ | looks up documentation using [[https://github.com/lunaryorn/ansible-doc.el][ansible-doc]] | 24 | -------------------------------------------------------------------------------- /layers/+config-files/dockerfile/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Dockerfile layer 2 | #+HTML_HEAD_EXTRA: 3 | 4 | [[file:img/docker.png]] 5 | 6 | * Table of Contents :TOC_4_org:noexport: 7 | - [[Description][Description]] 8 | - [[Install][Install]] 9 | - [[Key bindings][Key bindings]] 10 | 11 | * Description 12 | This layer provides syntax highlighting and build functionality for Docker files. 13 | 14 | * Install 15 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 16 | add =dockerfile= 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 b~ | build current buffer via =dockerfile-build-buffer= | 24 | -------------------------------------------------------------------------------- /layers/+tools/ranger/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- ranger Layer packages File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Rich Alesi 6 | ;; Author: Sylvain Benner 7 | ;; URL: https://github.com/syl20bnr/spacemacs 8 | ;; 9 | ;; This file is not part of GNU Emacs. 10 | ;; 11 | ;;; License: GPLv3 12 | 13 | (setq ranger-packages '(ranger)) 14 | 15 | (defun ranger/init-ranger () 16 | (use-package ranger 17 | :defer t 18 | :init 19 | (progn 20 | (spacemacs/set-leader-keys 21 | "ar" 'ranger 22 | "ad" 'deer) 23 | 24 | ;; set up image-dired to allow picture resize 25 | (setq image-dired-dir (concat spacemacs-cache-directory "image-dir")) 26 | (unless (file-directory-p image-dired-dir) 27 | (make-directory image-dired-dir))) 28 | :config 29 | (define-key ranger-mode-map (kbd "-") 'ranger-up-directory))) 30 | -------------------------------------------------------------------------------- /layers/+fun/selectric/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: selectric layer 2 | #+HTML_HEAD_EXTRA: 3 | 4 | [[file:img/typewriter.jpg]] 5 | 6 | * Table of Contents :TOC_4_org:noexport: 7 | - [[Description][Description]] 8 | - [[Install][Install]] 9 | - [[Key Bindings][Key Bindings]] 10 | 11 | * Description 12 | This layer makes your Emacs sound like a typewriter, for those moments when your 13 | loud, clicky mechanical keyboard is not at hand, yet, you'd still wish to enjoy 14 | the sound. 15 | 16 | * Install 17 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 18 | add =selectric= to the existing =dotspacemacs-configuration-layers= list in this 19 | file. 20 | 21 | * Key Bindings 22 | 23 | | Key Binding | Description | 24 | |-------------+--------------------------| 25 | | ~SPC C-t t~ | Toggle clicky key sounds | 26 | -------------------------------------------------------------------------------- /layers/speed-reading/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Speed Reading layer 2 | #+HTML_HEAD_EXTRA: 3 | 4 | * Table of Contents :TOC_4_org:noexport: 5 | - [[Description][Description]] 6 | - [[Install][Install]] 7 | - [[Key bindings][Key bindings]] 8 | 9 | * Description 10 | A speed reading mode for Emacs. 11 | 12 | * Install 13 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 14 | add =speed-reading= to the existing =dotspacemacs-configuration-layers= list in this 15 | file. 16 | 17 | * Key bindings 18 | 19 | | Key Binding | Description | 20 | |-------------+---------------| 21 | | ~SPC a R~ | Start Spray | 22 | | ~SPC~ | Pause Spray | 23 | | ~h~ | Backward word | 24 | | ~l~ | Forward word | 25 | | ~f~ | Faster speed | 26 | | ~s~ | Slower speed | 27 | | ~q~ | Quit Spray | 28 | -------------------------------------------------------------------------------- /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 | octave 15 | )) 16 | 17 | (defun octave/init-octave () 18 | (use-package octave 19 | :mode ("\\.m\\'" . octave-mode) 20 | :commands (run-octave) 21 | :config (spacemacs/set-leader-keys-for-major-mode 'octave-mode 22 | ;; helpers 23 | "hh" 'octave-help 24 | "hi" 'octave-lookfor 25 | ;; REPL 26 | "sb" 'octave-send-buffer 27 | "sf" 'octave-send-defun 28 | "si" 'run-octave 29 | "sl" 'octave-send-line 30 | "sr" 'octave-send-region))) 31 | -------------------------------------------------------------------------------- /layers/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/+lang/nim/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Nim layer 2 | #+HTML_HEAD_EXTRA: 3 | 4 | [[file:img/logo.png]] 5 | 6 | * Table of Contents :TOC_4_org:noexport: 7 | - [[Description][Description]] 8 | - [[Install][Install]] 9 | - [[Layer][Layer]] 10 | - [[Working with Nim][Working with Nim]] 11 | - [[Nim commands (start with =m=):][Nim commands (start with =m=):]] 12 | 13 | * Description 14 | 15 | This layer adds support for nim (nimrod). 16 | 17 | * Install 18 | ** Layer 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 | * Working with Nim 24 | 25 | ** Nim commands (start with =m=): 26 | | Key Binding | Description | 27 | |-------------+----------------------------| 28 | | ~SPC m c r~ | nim compile --run main.nim | 29 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | (defvar ruby-enable-enh-ruby-mode nil 18 | "If non-nil, use `enh-ruby-mode' package instead of the built-in Ruby Mode.") 19 | 20 | (defvar ruby-version-manager nil 21 | "If non nil, defines the Ruby version manager. 22 | Possible values are `rbenv', `rvm' or `chruby'.)") 23 | 24 | (defvar ruby-test-runner 'ruby-test 25 | "Test runner to use. Possible values are `ruby-test' or `rspec'.") 26 | 27 | ;; Command prefixes 28 | 29 | (spacemacs/declare-prefix-for-mode 'ruby-mode "mt" "ruby/test") 30 | -------------------------------------------------------------------------------- /layers/+tools/command-log/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: command-log layer 2 | #+HTML_HEAD_EXTRA: 3 | 4 | * Table of Contents :TOC_4_org:noexport: 5 | - [[Description][Description]] 6 | - [[Install][Install]] 7 | - [[Key bindings][Key bindings]] 8 | 9 | * Description 10 | command-log can be used to demo Emacs to an audience. When activated, 11 | keystrokes get logged into a designated buffer, along with the command 12 | bound to them. For more info check [[https://github.com/lewang/command-log-mode][command-log-mode]]. 13 | 14 | * Install 15 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 16 | add =command-log= to the existing =dotspacemacs-configuration-layers= list in this 17 | file. 18 | 19 | * Key bindings 20 | 21 | | Key Binding | Description | 22 | |-------------+------------------------| 23 | | ~SPC a L~ | Toggle the command log | 24 | -------------------------------------------------------------------------------- /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 | (spacemacs|defvar-company-backends haskell-mode) 15 | (spacemacs|defvar-company-backends haskell-cabal-mode) 16 | 17 | (defvar haskell-enable-ghci-ng-support nil 18 | "If non-nil ghci-ng support is enabled") 19 | 20 | (defvar haskell-enable-shm-support nil 21 | "If non-nil structured-haskell-mode support is enabled") 22 | 23 | (defvar haskell-enable-hindent-style nil 24 | "Style to use for formatting with hindent; available are: fundamental johan-tibell chris-done gibiansky. If nil hindent is disabled.") 25 | 26 | (defvar haskell-enable-ghc-mod-support t 27 | "If non-nil ghc-mod support is enabled") 28 | -------------------------------------------------------------------------------- /layers/+config-files/salt/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- Salt Layer extensions 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/php/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: PHP layer 2 | #+HTML_HEAD_EXTRA: 3 | 4 | [[file:img/php.png]] 5 | 6 | * Table of Contents :TOC_4_org:noexport: 7 | - [[Description][Description]] 8 | - [[Features:][Features:]] 9 | - [[Install][Install]] 10 | - [[Key bindings][Key bindings]] 11 | 12 | * Description 13 | 14 | This layer adds PHP language support to Spacemacs. 15 | 16 | ** Features: 17 | - Edit PHP files using [[https://github.com/ejmr/php-mode][php-mode]] 18 | - Edit Drupal files 19 | - Run tests with PHPUnit 20 | - Reformat code with PHP CBF 21 | 22 | The =gtags= layer is recommended to benefit from better =eldoc= and 23 | =helm-gtags=. 24 | 25 | * Install 26 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 27 | add =php= to the existing =dotspacemacs-configuration-layers= list in this 28 | file. 29 | 30 | * Key bindings 31 | 32 | TODO ! :-) 33 | -------------------------------------------------------------------------------- /layers/+lang/sql/extensions.el: -------------------------------------------------------------------------------- 1 | ;;; extensions.el --- sql Layer extensions 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 sql-pre-extensions 13 | '( 14 | ;; pre extension sqls go here 15 | ) 16 | "List of all extensions to load before the packages.") 17 | 18 | (defvar sql-post-extensions 19 | '( 20 | ;; post extension sqls go here 21 | ) 22 | "List of all extensions to load after the packages.") 23 | 24 | ;; For each extension, define a function sql/init- 25 | ;; 26 | ;; (defun sql/init-my-extension () 27 | ;; "Initialize my extension" 28 | ;; ) 29 | ;; 30 | ;; Often the body of an initialize function uses `use-package' 31 | ;; For more info on `use-package', see readme: 32 | ;; https://github.com/jwiegley/use-package 33 | -------------------------------------------------------------------------------- /layers/+lang/lua/packages.el: -------------------------------------------------------------------------------- 1 | (setq lua-packages 2 | '( 3 | company 4 | flycheck 5 | lua-mode 6 | )) 7 | 8 | (defun lua/post-init-flycheck () 9 | (spacemacs/add-flycheck-hook 'lua-mode-hook)) 10 | 11 | (defun lua/init-lua-mode () 12 | (use-package lua-mode 13 | :defer t 14 | :mode ("\\.lua\\'" . lua-mode) 15 | :interpreter ("lua" . lua-mode) 16 | :config 17 | (progn 18 | (setq lua-indent-level 2 19 | lua-indent-string-contents t) 20 | (spacemacs/set-leader-keys-for-major-mode 'lua-mode "d" 'lua-search-documentation) 21 | (spacemacs/set-leader-keys-for-major-mode 'lua-mode "sb" 'lua-send-buffer) 22 | (spacemacs/set-leader-keys-for-major-mode 'lua-mode "sf" 'lua-send-defun) 23 | (spacemacs/set-leader-keys-for-major-mode 'lua-mode "sl" 'lua-send-current-line) 24 | (spacemacs/set-leader-keys-for-major-mode 'lua-mode "sr" 'lua-send-region)))) 25 | 26 | (defun lua/post-init-company () 27 | (add-hook 'lua-mode-hook 'company-mode)) 28 | -------------------------------------------------------------------------------- /layers/nixos/packages.el: -------------------------------------------------------------------------------- 1 | (setq nixos-packages '(nix-mode 2 | company 3 | nixos-options 4 | helm-nixos-options 5 | company-nixos-options)) 6 | 7 | (defun nixos/init-nix-mode () 8 | (use-package nix-mode)) 9 | 10 | (defun nixos/init-nixos-options () 11 | (use-package nixos-options)) 12 | 13 | (defun nixos/init-helm-nixos-options () 14 | (use-package helm-nixos-options 15 | :config 16 | (spacemacs/set-leader-keys 17 | "h>" 'helm-nixos-options))) 18 | 19 | (when (configuration-layer/layer-usedp 'auto-completion) 20 | (defun nixos/post-init-company () 21 | (spacemacs|add-company-hook nix-mode) 22 | (push 'company-capf company-backends-nix-mode)) 23 | 24 | (defun nixos/init-company-nixos-options () 25 | (use-package company-nixos-options 26 | :if (configuration-layer/package-usedp 'company) 27 | :defer t 28 | :init 29 | (push 'company-nixos-options company-backends-nix-mode)))) 30 | -------------------------------------------------------------------------------- /layers/semantic/extensions.el: -------------------------------------------------------------------------------- 1 | ;;; extensions.el --- cedet Layer extensions 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 cedet-pre-extensions 13 | '( 14 | ;; pre extension cedets go here 15 | ) 16 | "List of all extensions to load before the packages.") 17 | 18 | (defvar cedet-post-extensions 19 | '( 20 | ;; post extension cedets go here 21 | ) 22 | "List of all extensions to load after the packages.") 23 | 24 | ;; For each extension, define a function cedet/init- 25 | ;; 26 | ;; (defun cedet/init-my-extension () 27 | ;; "Initialize my extension" 28 | ;; ) 29 | ;; 30 | ;; Often the body of an initialize function uses `use-package' 31 | ;; For more info on `use-package', see readme: 32 | ;; https://github.com/jwiegley/use-package 33 | -------------------------------------------------------------------------------- /layers/spotify/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Spotify layer 2 | #+HTML_HEAD_EXTRA: 3 | 4 | [[file:img/spotify.png]] 5 | 6 | * Table of Contents :TOC_4_org:noexport: 7 | - [[Description][Description]] 8 | - [[Install][Install]] 9 | - [[Key bindings][Key bindings]] 10 | 11 | * Description 12 | 13 | This layer adds key bindings for controlling Spotify from inside Emacs. 14 | 15 | * Install 16 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 17 | add =spotify= to the existing =dotspacemacs-configuration-layers= list in this 18 | file. 19 | 20 | * Key bindings 21 | 22 | | Key Binding | Description | 23 | |---------------+--------------------------| 24 | | ~SPC a m s p~ | Play or pause Spotify | 25 | | ~SPC a m s n~ | Go to the next track | 26 | | ~SPC a m s N~ | Go to the previous track | 27 | | ~SPC a m s g~ | Search for a new track | 28 | | ~SPC a m s Q~ | Quit Spotify | 29 | -------------------------------------------------------------------------------- /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 | wolfram-mode 10 | )) 11 | 12 | (defun extra-langs/init-arduino-mode () 13 | (use-package arduino-mode :defer t)) 14 | 15 | (defun extra-langs/init-scad-mode () 16 | (use-package scad-mode :defer t)) 17 | 18 | (defun extra-langs/init-qml-mode () 19 | (use-package qml-mode :defer t :mode "\\.qml\\'")) 20 | 21 | (defun extra-langs/init-julia-mode () 22 | (use-package julia-mode :defer t)) 23 | 24 | (defun extra-langs/init-matlab-mode () 25 | (use-package matlab-mode :defer t)) 26 | 27 | (defun extra-langs/init-stan-mode () 28 | (use-package stan-mode :defer t)) 29 | 30 | ;; no associated extension because conflicts with more common Objective-C, manually invoke for .m files. 31 | (defun extra-langs/init-wolfram-mode () 32 | (use-package wolfram-mode 33 | :defer t 34 | :interpreter "\\(Wolfram\\|Mathematica\\)Script\\( -script\\)?")) 35 | -------------------------------------------------------------------------------- /layers/+vim/evil-cleverparens/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Evil-Cleverparens layer 2 | #+HTML_HEAD_EXTRA: 3 | 4 | * Table of Contents :TOC_4_org:noexport: 5 | - [[Description][Description]] 6 | - [[Install][Install]] 7 | 8 | * Description 9 | 10 | This simple layer adds the [[https://github.com/luxbock/evil-cleverparens][evil-cleverparens]] package, which overrides common 11 | normal-mode vim commands like D, dd, c, etc. to keep parentheses balanced. See 12 | the repository for more details. 13 | 14 | * Install 15 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 16 | add =evil-cleverparens= to the existing =dotspacemacs-configuration-layers= list 17 | in this file. 18 | 19 | Then enable it in your =user-config= function and add your desired hooks, for 20 | example: 21 | 22 | #+BEGIN_SRC emacs-lisp 23 | (spacemacs/toggle-evil-cleverparens-on) 24 | (add-hook 'clojure-mode-hook #'evil-cleverparens-mode) 25 | #+END_SRC 26 | -------------------------------------------------------------------------------- /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 | (defvar python-enable-yapf-format-on-save nil 19 | "If non-nil, automatically format code with YAPF on save.") 20 | 21 | (defvar python-test-runner 'nose 22 | "Test runner to use. Possible values are `nose' or `pytest'.") 23 | 24 | (defvar python-fill-column 79 25 | "Fill column value for python buffers") 26 | 27 | (defvar python-auto-set-local-pyenv-version 'on-visit 28 | "Automatically set pyenv version from \".python-version\". 29 | 30 | Possible values are `on-visit', `on-project-switch' or `nil'.") 31 | -------------------------------------------------------------------------------- /layers/+tools/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 | ) 26 | :init 27 | (progn 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 | -------------------------------------------------------------------------------- /core/info/quickhelp.txt: -------------------------------------------------------------------------------- 1 | Press [TAB] to move to next button. 2 | 3 | Press [Shift-TAB] 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/colors/extensions.el: -------------------------------------------------------------------------------- 1 | ;;; extensions.el --- Colors Layer Extensions 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 colors-post-extensions '(nyan-mode)) 13 | 14 | (defun colors/init-nyan-mode () 15 | (use-package nyan-mode 16 | :if colors-enable-nyan-cat-progress-bar 17 | :config 18 | (progn 19 | (setq nyan-wavy-trail t) 20 | (setq nyan-animate-nyancat t) 21 | (nyan-mode) 22 | ;; explicitly re-enable the cat for the first GUI client 23 | (spacemacs|do-after-display-system-init 24 | (nyan-mode -1) 25 | (nyan-mode)) 26 | 27 | (spacemacs|add-toggle nyan-cat-progress-bar 28 | :status nyan-mode 29 | :on (nyan-mode) 30 | :off (nyan-mode -1) 31 | :documentation "Show a nyan cat progress bar in the mode-line." 32 | :evil-leader "tmn")))) 33 | -------------------------------------------------------------------------------- /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 | ;; Define the buffer local company backend variable 12 | (spacemacs|defvar-company-backends java-mode) 13 | 14 | ;; Command prefixes 15 | (setq java/key-binding-prefixes '(("me" . "errors") 16 | ("mf" . "find") 17 | ("mg" . "goto") 18 | ("mr" . "refactor") 19 | ("mh" . "documentation") 20 | ("mm" . "maven") 21 | ("ma" . "ant") 22 | ("mp" . "project") 23 | ("mt" . "test"))) 24 | 25 | (mapc (lambda(x) (spacemacs/declare-prefix-for-mode 26 | 'java-mode (car x) (cdr x))) 27 | java/key-binding-prefixes) 28 | -------------------------------------------------------------------------------- /layers/+vim/vim-empty-lines/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Vim-empty-lines layer 2 | #+HTML_HEAD_EXTRA: 3 | 4 | * Table of Contents :TOC_4_org:noexport: 5 | - [[Description][Description]] 6 | - [[Install][Install]] 7 | 8 | * Description 9 | 10 | This layer is a drop-in replacement for the =vi-tilde-fringe= mode, for those 11 | who desire behaviour closer to =vim='s. 12 | 13 | It has better compatibility with retina displays, as it uses a text overlay 14 | using your font, rather than a pixel-art tilde. The empty line indicators are 15 | overlaid in within the buffer as in =vim=, and not in the fringe. The indicator 16 | behaviour with trailing empty lines matches =vim='s behaviour. 17 | 18 | For details, see the [[https://github.com/jmickelin/vim-empty-lines-mode][vim-empty-lines-mode]] repository. 19 | 20 | * Install 21 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 22 | add =vim-empty-lines= to the existing =dotspacemacs-configuration-layers= list in this 23 | file. 24 | -------------------------------------------------------------------------------- /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.color_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/ -------------------------------------------------------------------------------- /layers/smex/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Smex layer 2 | #+HTML_HEAD_EXTRA: 3 | 4 | [[file:img/smex.png]] 5 | 6 | * Table of Contents :TOC_4_org:noexport: 7 | - [[Description][Description]] 8 | - [[Install][Install]] 9 | - [[Key bindings][Key bindings]] 10 | 11 | * Description 12 | This layer replaces =helm-M-x= by [[https://github.com/nonsequitur/smex][smex]] which is built on top of =ido=. 13 | =ido= can perform flex matching with the [[https://github.com/lewang/flx][flx-ido]] mode which is already 14 | activated in the Spacemacs layer. 15 | 16 | * Install 17 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 18 | add =smex= to the existing =dotspacemacs-configuration-layers= list in this 19 | file. 20 | 21 | * Key bindings 22 | 23 | | Key Binding | Description | 24 | |-------------+--------------------------------------------| 25 | | ~SPC :~ | all Emacs commands (interactive functions) | 26 | | ~SPC m :~ | current major mode commands | 27 | -------------------------------------------------------------------------------- /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 | 14 | (defun spacemacs//elm-find-root () 15 | (setq default-directory (elm--find-dependency-file-path))) 16 | 17 | 18 | 19 | (defun spacemacs/elm-compile-buffer-output () 20 | (interactive) 21 | (let* ((fname (format "%s.js" (downcase (file-name-base (buffer-file-name)))))) 22 | (elm-compile--file (elm--buffer-local-file-name) fname))) 23 | 24 | (defun spacemacs/elm-repl-push-decl-focus () 25 | "Send current function to the REPL and focus it in insert state." 26 | (interactive) 27 | (elm-repl-push-decl) 28 | (run-elm-interactive) 29 | (evil-insert-state)) 30 | 31 | (defun spacemacs/elm-repl-push-focus () 32 | "Send current region to the REPL and focus it in insert state." 33 | (elm-repl-push) 34 | (run-elm-interactive) 35 | (evil-insert-state)) 36 | -------------------------------------------------------------------------------- /.travis-build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | ## run_build.sh --- Travis CI File for Spacemacs 3 | ## 4 | ## Copyright (c) 2012-2014 Sylvain Benner 5 | ## Copyright (c) 2014-2015 Sylvain Benner & Contributors 6 | ## 7 | ## Author: Sylvain Benner 8 | ## URL: https://github.com/syl20bnr/spacemacs 9 | ## 10 | ## This file is not part of GNU Emacs. 11 | ## 12 | ## License: GPLv3 13 | 14 | tests=("core") 15 | 16 | if [ $USER != "travis" ]; then 17 | echo "This script is not designed to run locally." 18 | echo "Instead, navigate to the appropriate test folder and run make there instead." 19 | exit 1 20 | fi 21 | 22 | echo "Pwd $(pwd)" 23 | rm -rf ~/.emacs.d 24 | ln -sf `pwd` ~/.emacs.d 25 | 26 | for test in "${tests[@]}"; do 27 | rm -rf ~/.emacs.d/elpa 28 | rm -rf ~/.emacs.d/.cache 29 | rm -f ~/.spacemacs 30 | 31 | testdir=~/.emacs.d/tests/$test 32 | echo "Running '$test' in '$testdir' folder" 33 | if [ -f $testdir/dotspacemacs.el ]; then 34 | cp $testdir/dotspacemacs.el ~/.spacemacs 35 | fi 36 | cd $testdir && echo "Now in $(pwd)" 37 | make test || exit 2 38 | done 39 | -------------------------------------------------------------------------------- /layers/+tools/ycmd/packages.el: -------------------------------------------------------------------------------- 1 | (setq ycmd-packages 2 | '( 3 | company-ycmd 4 | flycheck-ycmd 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 | (when (configuration-layer/layer-usedp 'auto-completion) 13 | (defun ycmd/init-company-ycmd () 14 | (use-package company-ycmd 15 | :if (configuration-layer/package-usedp 'company) 16 | :defer t 17 | :commands company-ycmd))) 18 | 19 | (when (configuration-layer/layer-usedp 'syntax-checking) 20 | (defun ycmd/init-flycheck-ycmd () 21 | (use-package flycheck-ycmd 22 | :if (configuration-layer/package-usedp 'flycheck) 23 | :defer t 24 | :init (add-hook 'ycmd-mode-hook 'flycheck-ycmd-setup)))) 25 | 26 | (defun ycmd/init-ycmd () 27 | (use-package ycmd 28 | :defer t 29 | :init 30 | (unless (boundp 'ycmd-global-config) 31 | (let ((dir (configuration-layer/get-layer-property 'ycmd :dir))) 32 | (setq-default ycmd-global-config (concat dir "global_conf.py")))))) 33 | -------------------------------------------------------------------------------- /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 | (defun spacemacs/run-pandoc () 25 | "Start pandoc for the buffer and open the menu" 26 | (interactive) 27 | (pandoc-mode) 28 | (pandoc-main-hydra/body)) 29 | (add-hook 'pandoc-mode-hook 'pandoc-load-default-settings)) 30 | :init 31 | (progn 32 | (spacemacs/set-leader-keys "P/" 'spacemacs/run-pandoc)))) 33 | 34 | (defun pandoc/init-ox-pandoc () 35 | (use-package ox-pandoc 36 | :defer t 37 | :init 38 | (with-eval-after-load 'org (require 'ox-pandoc)))) 39 | -------------------------------------------------------------------------------- /layers/+lang/windows-scripts/packages.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 | (setq windows-scripts-packages 13 | '( 14 | powershell 15 | )) 16 | 17 | (defun windows-scripts/init-powershell () 18 | (use-package powershell 19 | :mode ("\\.ps1$" . powershell-mode) 20 | :defer t 21 | :init 22 | (progn 23 | (defun powershell/define-text-objects () 24 | (spacemacs|define-text-object "$" "dollarparen" "$(" ")") 25 | ) 26 | (add-hook 'powershell-mode-hook 'powershell/define-text-objects) 27 | (spacemacs/set-leader-keys 28 | "asp" 'powershell) 29 | (spacemacs/set-leader-keys-for-major-mode 'powershell-mode 30 | "rr" 'powershell-regexp-to-regex) 31 | 32 | ;; TODO 33 | ;; - split out powershell 34 | ;; - get help output with mgg (Get-Help) or Get-Help -online 35 | ;; - 36 | ))) 37 | -------------------------------------------------------------------------------- /layers/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 (spacemacs/set-leader-keys "aj" 'jabber-connect-all) 18 | :config (spacemacs/set-leader-keys-for-major-mode 'jabber-roster-mode 19 | "a" 'jabber-send-presence 20 | "b" 'jabber-get-browse 21 | "d" 'jabber-disconnect 22 | "e" 'jabber-roster-edit-action-at-point 23 | "g" 'jabber-display-roster 24 | "i" 'jabber-get-disco-items 25 | "j" 'jabber-muc-join 26 | "q" 'bury-buffer 27 | "r" 'jabber-roster-toggle-offline-display 28 | "s" 'jabber-send-subscription-request 29 | "v" 'jabber-get-version 30 | "RET" 'jabber-roster-ret-action-at-point))) 31 | -------------------------------------------------------------------------------- /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 | (setq gc-cons-threshold 100000000) 16 | 17 | (defconst spacemacs-version "0.105.21" "Spacemacs version.") 18 | (defconst spacemacs-emacs-min-version "24.3" "Minimal version of Emacs.") 19 | 20 | (if (not (version<= spacemacs-emacs-min-version emacs-version)) 21 | (message (concat "Your version of Emacs (%s) is too old. " 22 | "Spacemacs requires Emacs version %d or above.") 23 | emacs-version spacemacs-emacs-min-version) 24 | (load-file (concat user-emacs-directory "core/core-load-paths.el")) 25 | (require 'core-spacemacs) 26 | (spacemacs/init) 27 | (spacemacs/maybe-install-dotfile) 28 | (configuration-layer/sync) 29 | (spacemacs/setup-startup-hook) 30 | (require 'server) 31 | (unless (server-running-p) (server-start))) 32 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /layers/+lang/vimscript/packages.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 | (setq vimscript-packages 13 | '( 14 | vimrc-mode 15 | dactyl-mode 16 | )) 17 | 18 | (defun vimscript/init-vimrc-mode () 19 | "Initialize vimrc package" 20 | (use-package vimrc-mode 21 | :mode "\\.vim[rc]?\\'" 22 | :mode "_vimrc\\'" 23 | :defer t 24 | :init 25 | (progn 26 | (defun spacemacs//vimrc-mode-hook () 27 | "Hooked function for `vimrc-mode-hook'." 28 | (highlight-numbers-mode -1) 29 | (rainbow-delimiters-mode-disable)) 30 | (add-hook 'vimrc-mode-hook 'spacemacs//vimrc-mode-hook)))) 31 | 32 | (defun vimscript/init-dactyl-mode () 33 | (use-package dactyl-mode 34 | :mode "pentadactylrc\\'" 35 | :mode "vimperatorrc\\'" 36 | :mode "_pentadactylrc\\'" 37 | :mode "_vimperatorrc\\'" 38 | :mode "\\.penta\\'" 39 | :mode "\\.vimp\\'" 40 | :defer t)) 41 | -------------------------------------------------------------------------------- /layers/+config-files/puppet/packages.el: -------------------------------------------------------------------------------- 1 | (setq puppet-packages 2 | '( 3 | puppet-mode 4 | company 5 | flycheck 6 | )) 7 | 8 | ;; For each package, define a function puppet-mode/init- 9 | ;; 10 | ;; (defun puppet-mode/init-my-package () 11 | ;; "Initialize my package" 12 | ;; ) 13 | ;; 14 | ;; Often the body of an initialize function uses `use-package' 15 | ;; For more info on `use-package', see readme: 16 | ;; https://github.com/jwiegley/use-package 17 | 18 | (defun puppet/init-puppet-mode () 19 | "Initialize 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-hook)) 42 | -------------------------------------------------------------------------------- /layers/+lang/clojure/funcs.el: -------------------------------------------------------------------------------- 1 | ;;; funcs.el --- Clojure 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 clojure/fancify-symbols (mode) 13 | "Pretty symbols for Clojure's anonymous functions and sets, 14 | like (λ [a] (+ a 5)), ƒ(+ % 5), and ∈{2 4 6}." 15 | (font-lock-add-keywords mode 16 | `(("(\\(fn\\)[\[[:space:]]" 17 | (0 (progn (compose-region (match-beginning 1) 18 | (match-end 1) "λ")))) 19 | ("(\\(partial\\)[\[[:space:]]" 20 | (0 (progn (compose-region (match-beginning 1) 21 | (match-end 1) "Ƥ")))) 22 | ("(\\(comp\\)[\[[:space:]]" 23 | (0 (progn (compose-region (match-beginning 1) 24 | (match-end 1) "∘")))) 25 | ("\\(#\\)(" 26 | (0 (progn (compose-region (match-beginning 1) 27 | (match-end 1) "ƒ")))) 28 | ("\\(#\\){" 29 | (0 (progn (compose-region (match-beginning 1) 30 | (match-end 1) "∈"))))))) 31 | -------------------------------------------------------------------------------- /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/+lang/d/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- d 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 | ;; List of all packages to install and/or initialize. Built-in packages 13 | ;; which require an initialization must be listed explicitly in the list. 14 | (defvar d-packages 15 | '( 16 | d-mode 17 | flycheck-dmd-dub 18 | 19 | flycheck 20 | company 21 | )) 22 | 23 | (defun d/init-d-mode () 24 | (use-package d-mode :defer t)) 25 | 26 | (when (configuration-layer/layer-usedp 'syntax-checking) 27 | (defun d/post-init-flycheck () 28 | (spacemacs/add-flycheck-hook 'd-mode-hook)) 29 | (defun d/init-flycheck-dmd-dub () 30 | (use-package flycheck-dmd-dub :defer t 31 | :init (add-hook 'd-mode-hook 'flycheck-dmd-dub-set-include-path)))) 32 | 33 | (when (configuration-layer/layer-usedp 'auto-completion) 34 | (defun d/post-init-company () 35 | ;; Need to convince company that this C-derived mode is a code mode. 36 | (with-eval-after-load 'company-dabbrev-code (push 'd-mode company-dabbrev-code-modes)) 37 | (spacemacs|add-company-hook d-mode))) 38 | -------------------------------------------------------------------------------- /layers/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-enable-rainbow-identifiers nil 15 | "If non nil the `rainbow-identifers' package is enabled.") 16 | 17 | (defvar colors-enable-nyan-cat-progress-bar nil 18 | "If non nil all nyan cat packges are enabled (for now only `nyan-mode').") 19 | 20 | (defvar colors-theme-identifiers-sat&light 21 | '((jazz . (50 55)) 22 | (gotham . (45 60)) 23 | (leuven . (100 40)) 24 | (material . (95 105)) 25 | (monokai . (55 60)) 26 | (solarized-dark . (65 55)) 27 | (solarized-light . (60 55)) 28 | (spacemacs-light . (65 45)) 29 | (spacemacs-dark . (125 100)) 30 | (zenburn . (40 65))) 31 | "alist of theme symbols and pair of saturation and lightness values.") 32 | 33 | ;; Command prefixes 34 | 35 | (when colors-enable-rainbow-identifiers 36 | (setq colors/key-binding-prefixes '(("Ci" . "colors-identifiers"))) 37 | (mapc (lambda (x) (spacemacs/declare-prefix (car x) (cdr x))) 38 | colors/key-binding-prefixes)) 39 | -------------------------------------------------------------------------------- /tests/core/core-configuration-layer-ftest.el: -------------------------------------------------------------------------------- 1 | ;;; core-configuration-layer-ftest.el --- Spacemacs Functional Test 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 | (require 'core-configuration-layer) 12 | 13 | ;; --------------------------------------------------------------------------- 14 | ;; configuration-layer//declare-layers 15 | ;; --------------------------------------------------------------------------- 16 | 17 | (ert-deftest test-declare-layers--distribution-layer-always-first () 18 | (let ((dotspacemacs-distribution 'spacemacs) 19 | (dotspacemacs-configuration-layers '(emacs-lisp 20 | (git :variables foo 'bar)))) 21 | (configuration-layer//declare-layers) 22 | (should (eq 'spacemacs (oref (first configuration-layer--layers) :name))))) 23 | 24 | (ert-deftest test-declare-layers--distribution-layer-always-first-all () 25 | (let ((dotspacemacs-distribution 'spacemacs) 26 | (dotspacemacs-configuration-layers 'all)) 27 | (configuration-layer//declare-layers) 28 | (should (eq 'spacemacs (oref (first configuration-layer--layers) :name))))) 29 | -------------------------------------------------------------------------------- /layers/+email/mu4e/funcs.el: -------------------------------------------------------------------------------- 1 | ;;; funcs.el --- mu4e Layer extensions 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 mu4e/set-account () 13 | "Set the account for composing a message." 14 | (let* ((account 15 | (if mu4e-compose-parent-message 16 | (let ((maildir 17 | (mu4e-message-field mu4e-compose-parent-message :maildir))) 18 | (string-match "/\\(.*?\\)/" maildir) 19 | (match-string 1 maildir)) 20 | (helm-comp-read 21 | "Compose with account:" 22 | (mapcar (lambda (var) (car var)) mu4e-account-alist)))) 23 | (account-vars (cdr (assoc account mu4e-account-alist)))) 24 | (if account-vars 25 | (mu4e//map-set account-vars) 26 | (error "No email account found")))) 27 | 28 | (defun mu4e//map-set (vars) 29 | "Setq an alist VARS of variables and values." 30 | (mapc (lambda (var) (set (car var) (cadr var))) 31 | vars)) 32 | 33 | (defun mu4e/mail-account-reset () 34 | "Reset mail account info to first." 35 | (mu4e//map-set (cdar mu4e-account-alist))) 36 | -------------------------------------------------------------------------------- /layers/+config-files/ansible/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- Ansible Layer extensions 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 | (setq ansible-packages '(ansible 12 | ansible-doc)) 13 | 14 | (defun ansible/init-ansible () 15 | (use-package ansible 16 | :defer t 17 | :init (progn 18 | (with-eval-after-load 'yaml-mode 19 | (add-hook 'yaml-mode-hook 'ansible/ansible-maybe-enable)) 20 | 21 | ;; ansible-mode requires ac-user-dictionary-files. If the 22 | ;; config is using company-mode this variable will not be 23 | ;; set, so we set it to a dummy value. 24 | ;; 25 | ;; Tracking here: 26 | ;; https://github.com/k1LoW/emacs-ansible/issues/2 27 | (when (member 'company-mode dotspacemacs-configuration-layers) 28 | (setq ac-user-dictionary-files '()))))) 29 | 30 | (defun ansible/init-ansible-doc () 31 | (use-package ansible-doc 32 | :defer t 33 | :init (with-eval-after-load 'yaml-mode 34 | (add-hook 'yaml-mode-hook 'ansible/ansible-doc-maybe-enable)))) 35 | -------------------------------------------------------------------------------- /layers/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 | (spacemacs/set-leader-keys "an" 'spacemacs/deft) 24 | 25 | (defun spacemacs/deft () 26 | "Helper to call deft and then fix things so that it is nice and works" 27 | (interactive) 28 | (deft) 29 | ;; Hungry delete wrecks deft's DEL override 30 | (when (fboundp 'hungry-delete-mode) 31 | (hungry-delete-mode -1)) 32 | ;; When opening it you always want to filter right away 33 | (evil-insert-state nil))) 34 | :config 35 | (progn 36 | (spacemacs/set-leader-keys-for-major-mode 'deft-mode 37 | "d" 'deft-delete-file 38 | "i" 'deft-toggle-incremental-search 39 | "n" 'deft-new-file 40 | "r" 'deft-rename-file)))) 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/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- games 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 | (defvar games-packages '( 13 | 2048-game 14 | pacmacs 15 | )) 16 | 17 | (defun games/init-2048-game () 18 | (use-package 2048-mode 19 | :defer t 20 | :init 21 | (progn 22 | (push '("2048" . (2048-game :quit (kill-buffer-ask (get-buffer "2048")) 23 | :reset 2048-init)) helm-games-list) 24 | (evilified-state-evilify 2048-mode 2048-mode-map 25 | "j" '2048-down 26 | "k" '2048-up 27 | "h" '2048-left 28 | "l" '2048-right)))) 29 | 30 | (defun games/init-pacmacs () 31 | (use-package pacmacs 32 | :defer t 33 | :init 34 | (push '("pacmacs" . (pacmacs-start :quit (kill-buffer-ask (get-buffer "*Pacmacs*")) 35 | :reset pacmacs-start)) helm-games-list) 36 | (evilified-state-evilify pacmacs-mode pacmacs-mode-map 37 | "h" 'pacmacs-left 38 | "j" 'pacmacs-down 39 | "k" 'pacmacs-up 40 | "l" 'pacmacs-right))) 41 | -------------------------------------------------------------------------------- /layers/nixos/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: NixOS layer 2 | #+HTML_HEAD_EXTRA: 3 | 4 | [[file:img/nixos.jpg]] 5 | 6 | * Table of Contents :TOC_4_org:noexport: 7 | - [[Description][Description]] 8 | - [[Features:][Features:]] 9 | - [[Install][Install]] 10 | - [[Layer][Layer]] 11 | - [[Key Bindings][Key Bindings]] 12 | - [[NixOS Options][NixOS Options]] 13 | 14 | * Description 15 | 16 | This layer adds tools for better integration of emacs in NixOS. 17 | 18 | ** Features: 19 | - Nix-mode using [[https://github.com/NixOS/nix/blob/master/misc/emacs/nix-mode.el][nix-mode]] 20 | - Auto-completion of NixOS Options using [[https://github.com/travisbhartwell/nix-emacs/blob/master/company-nixos-options.el][company-nixos-options]] 21 | - Helm Lookup for NixOS Options [[https://github.com/travisbhartwell/nix-emacs/blob/master/helm-nixos-options.el][helm-nixos-options]] 22 | 23 | * Install 24 | ** Layer 25 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 26 | add =nixos= to the existing =dotspacemacs-configuration-layers= list in this 27 | file. 28 | 29 | * Key Bindings 30 | 31 | ** NixOS Options 32 | 33 | | Key Binding | Description | 34 | |-------------+-------------------------| 35 | | ~SPC h >~ | Call helm-nixos-options | 36 | -------------------------------------------------------------------------------- /layers/restclient/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Restclient layer 2 | #+HTML_HEAD_EXTRA: 3 | 4 | * Table of Contents :TOC_4_org:noexport: 5 | - [[What is this?][What is this?]] 6 | - [[Install][Install]] 7 | - [[Keybindings][Keybindings]] 8 | 9 | * What is this? 10 | This is a package that lets you have a REPL-like interface 11 | for http requests. Full documentation and examples can be found in the 12 | package's [[https://github.com/pashky/restclient.el][GitHub Page]]. 13 | 14 | Also there is an [[http://emacsrocks.com/e15.html][Emacs Rocks!]] episode of it. 15 | 16 | * Install 17 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 18 | add =restclient= to the existing =dotspacemacs-configuration-layers= list in this 19 | file. 20 | 21 | * Keybindings 22 | 23 | | Key Binding | Description | 24 | |-------------+-------------------------------------------------------------| 25 | | ~SPC m s~ | Send and stay in window (pretty-print response if possible) | 26 | | ~SPC m S~ | Send and switch window (pretty-print response if possible) | 27 | | ~SPC m r~ | Send and stay in window (do not attempt to pretty-print) | 28 | | ~SPC m R~ | Send and switch window (do not attempt to pretty-print) | 29 | 30 | -------------------------------------------------------------------------------- /layers/+lang/shell-scripts/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- Shell 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 | (setq shell-scripts-packages 13 | '(fish-mode 14 | (sh-script :location built-in) 15 | )) 16 | 17 | (defun shell-scripts/init-fish-mode () 18 | (use-package fish-mode 19 | :defer t)) 20 | 21 | (defun shell-scripts/init-sh-script () 22 | (use-package sh-script 23 | :defer t 24 | :init 25 | (progn 26 | ;; Use sh-mode when opening `.zsh' files, and when opening Prezto runcoms. 27 | (dolist (pattern '("\\.zsh\\'" 28 | "zlogin\\'" 29 | "zlogout\\'" 30 | "zpreztorc\\'" 31 | "zprofile\\'" 32 | "zshenv\\'" 33 | "zshrc\\'")) 34 | (add-to-list 'auto-mode-alist (cons pattern 'sh-mode))) 35 | 36 | (defun spacemacs//setup-shell () 37 | (when (and buffer-file-name 38 | (string-match-p "\\.zsh\\'" buffer-file-name)) 39 | (sh-set-shell "zsh"))) 40 | (add-hook 'sh-mode-hook 'spacemacs//setup-shell)))) 41 | -------------------------------------------------------------------------------- /layers/+email/mu4e/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- mu4e 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 mu4e-packages 13 | '((mu4e :location built-in))) 14 | 15 | (defun mu4e/init-mu4e () 16 | (use-package mu4e 17 | :commands (mu4e mu4e-compose-new) 18 | :init 19 | (progn 20 | (spacemacs/set-leader-keys "a M" 'mu4e) 21 | (global-set-key (kbd "C-x m") 'mu4e-compose-new)) 22 | :config 23 | (progn 24 | (evilified-state-evilify-map mu4e-main-mode-map 25 | :mode mu4e-main-mode 26 | :bindings 27 | (kbd "j") 'mu4e~headers-jump-to-maildir) 28 | (evilified-state-evilify-map mu4e-headers-mode-map 29 | :mode mu4e-headers-mode) 30 | (evilified-state-evilify-map mu4e-view-mode-map 31 | :mode mu4e-view-mode) 32 | 33 | (setq mu4e-completing-read-function 'helm--completing-read-default) 34 | 35 | (add-to-list 'mu4e-view-actions 36 | '("View in browser" . mu4e-action-view-in-browser) t) 37 | 38 | (when mu4e-account-alist 39 | (add-hook 'mu4e-compose-pre-hook 'mu4e/set-account) 40 | (add-hook 'message-sent-hook 'mu4e/mail-account-reset))))) 41 | -------------------------------------------------------------------------------- /layers/floobits/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- floobits Layer packages File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Rodolfo Hansen 6 | ;; URL: https://github.com/syl20bnr/spacemacs 7 | ;; 8 | ;; This file is not part of GNU Emacs. 9 | ;; 10 | ;;; License: GPLv3 11 | 12 | (setq floobits-packages 13 | '( 14 | floobits 15 | )) 16 | 17 | (defun floobits/init-floobits () 18 | (use-package floobits 19 | :defer t 20 | :init 21 | (progn 22 | (spacemacs/declare-prefix "P" "PP/floobits") 23 | 24 | (defun spacemacs/floobits-rclocation () 25 | "Return the absolute path to the floobits dotfile." 26 | (concat user-home-directory ".floorc.json")) 27 | 28 | (defun spacemacs/floobits-load-rcfile () 29 | "Load ~/.floobitsrc if it exists." 30 | (let ((floobitsrc (spacemacs/floobits-rclocation))) 31 | (if (file-exists-p floobitsrc) (load floobitsrc)))) 32 | 33 | (spacemacs/set-leader-keys 34 | "Pc" 'floobits-clear-highlights 35 | "Pd" 'spacemacs/floobits-load-rcfile 36 | "Pf" 'floobits-follow-user 37 | "Pj" 'floobits-join-workspace 38 | "Pl" 'floobits-leave-workspace 39 | "PR" 'floobits-share-dir-private 40 | "Ps" 'floobits-summon 41 | "Pt" 'floobits-follow-mode-toggle 42 | "PU" 'floobits-share-dir-public)))) 43 | -------------------------------------------------------------------------------- /layers/+tools/vagrant/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- Vagrant Layer extensions 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 | (setq vagrant-packages '(vagrant 12 | vagrant-tramp)) 13 | 14 | (defun vagrant/init-vagrant () 15 | (use-package vagrant 16 | :defer t 17 | :init 18 | (progn 19 | (spacemacs/declare-prefix "V" "vagrant") 20 | (spacemacs/set-leader-keys 21 | "VD" 'vagrant-destroy 22 | "Ve" 'vagrant-edit 23 | "VH" 'vagrant-halt 24 | "Vp" 'vagrant-provision 25 | "Vr" 'vagrant-resume 26 | "VR" 'vagrant-reload 27 | "Vs" 'vagrant-status 28 | "VS" 'vagrant-suspend 29 | "VV" 'vagrant-up)))) 30 | 31 | (defun vagrant/init-vagrant-tramp () 32 | (use-package vagrant-tramp 33 | :defer t 34 | :init 35 | (progn 36 | (defvar spacemacs--vagrant-tramp-loaded nil) 37 | (defadvice vagrant-tramp-term (before spacemacs//load-vagrant activate) 38 | "Lazy load vagrant-tramp." 39 | (unless spacemacs--vagrant-tramp-loaded 40 | (vagrant-tramp-add-method) 41 | (setq spacemacs--vagrant-tramp-loaded t))) 42 | (spacemacs/set-leader-keys "Vt" 'vagrant-tramp-term)))) 43 | -------------------------------------------------------------------------------- /layers/+vim/evil-snipe/packages.el: -------------------------------------------------------------------------------- 1 | (setq evil-snipe-packages 2 | '( 3 | evil-snipe 4 | magit 5 | ranger 6 | )) 7 | 8 | (defun evil-snipe/init-evil-snipe () 9 | (use-package evil-snipe 10 | :diminish evil-snipe-local-mode 11 | :init 12 | (setq evil-snipe-scope 'whole-buffer 13 | evil-snipe-enable-highlight t 14 | evil-snipe-enable-incremental-highlight t 15 | evil-snipe-auto-disable-substitute t 16 | evil-snipe-show-prompt nil 17 | evil-snipe-smart-case t) 18 | :config 19 | (progn 20 | (if evil-snipe-enable-alternate-f-and-t-behaviors 21 | (progn 22 | (setq evil-snipe-repeat-scope 'whole-buffer) 23 | (evil-snipe-override-mode 1)) 24 | (evil-snipe-mode 1))))) 25 | 26 | (defun evil-snipe/post-init-magit () 27 | (if evil-snipe-enable-alternate-f-and-t-behaviors 28 | (progn 29 | (add-hook 'magit-mode-hook 'turn-off-evil-snipe-override-mode) 30 | (add-hook 'git-rebase-mode-hook 'turn-off-evil-snipe-override-mode)) 31 | (add-hook 'magit-mode-hook 'turn-off-evil-snipe-mode) 32 | (add-hook 'git-rebase-mode-hook 'turn-off-evil-snipe-mode))) 33 | 34 | (defun evil-snipe/post-init-ranger () 35 | (if evil-snipe-enable-alternate-f-and-t-behaviors 36 | (add-hook 'ranger-mode-hook 'turn-off-evil-snipe-override-mode) 37 | (add-hook 'ranger-mode-hook 'turn-off-evil-snipe-mode))) 38 | -------------------------------------------------------------------------------- /spacemacs.mk: -------------------------------------------------------------------------------- 1 | ## Makefile --- Spacemacs master makefile 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 | EMACS_DIR = $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) 13 | TEST_NAME = `basename $(TEST_DIR) | tr a-z A-Z` 14 | 15 | all: test 16 | 17 | test: unit_tests func_tests 18 | 19 | ifneq ($(strip $(UNIT_TEST_FILES)),) 20 | unit_tests: 21 | @echo "=================================================================" 22 | @echo "UNIT TESTS FOR $(TEST_NAME)" 23 | @echo "=================================================================" 24 | @emacs -batch -l ert \ 25 | $(addprefix -l $(EMACS_DIR)/, $(LOAD_FILES)) \ 26 | $(addprefix -l $(TEST_DIR)/, $(UNIT_TEST_FILES)) \ 27 | -f ert-run-tests-batch-and-exit 28 | endif 29 | 30 | ifneq ($(strip $(FUNC_TEST_FILES)),) 31 | func_tests: 32 | @echo "=================================================================" 33 | @echo "FUNCTIONAL TESTS FOR $(TEST_NAME)" 34 | @echo "=================================================================" 35 | @emacs -batch -l ert \ 36 | $(addprefix -l $(EMACS_DIR)/, $(LOAD_FILES)) \ 37 | $(addprefix -l $(TEST_DIR)/, $(FUNC_TEST_FILES)) \ 38 | -f ert-run-tests-batch-and-exit 39 | endif 40 | 41 | .PHONY: test unit_tests func_tests 42 | -------------------------------------------------------------------------------- /layers/+lang/java/funcs.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- Java functions File for Spacemacs 2 | ;; 3 | ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors 4 | ;; 5 | ;; Author: Lukasz Klich 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/java-completing-dot () 13 | "Insert a period and show company completions." 14 | (interactive "*") 15 | (spacemacs//java-delete-horizontal-space) 16 | (insert ".") 17 | (company-emacs-eclim 'interactive)) 18 | 19 | (defun spacemacs/java-completing-double-colon () 20 | "Insert double colon and show company completions." 21 | (interactive "*") 22 | (spacemacs//java-delete-horizontal-space) 23 | (insert ":") 24 | (let ((curr (point))) 25 | (when (s-matches? (buffer-substring (- curr 2) (- curr 1)) ":") 26 | (company-emacs-eclim 'interactive)))) 27 | 28 | (defun spacemacs//java-delete-horizontal-space () 29 | (when (s-matches? (rx (+ (not space))) 30 | (buffer-substring (line-beginning-position) (point))) 31 | (delete-horizontal-space t))) 32 | 33 | (defun spacemacs/java-maven-test () 34 | (interactive) 35 | (eclim-maven-run "test")) 36 | 37 | (defun spacemacs/java-maven-clean-install () 38 | (interactive) 39 | (eclim-maven-run "clean install")) 40 | 41 | (defun spacemacs/java-maven-install () 42 | (interactive) 43 | (eclim-maven-run "install")) 44 | -------------------------------------------------------------------------------- /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 | ;; Company-mode LaTeX-backend 15 | (spacemacs|defvar-company-backends LaTeX-mode) 16 | 17 | (defvar latex-build-command (if (executable-find "latexmk") "LatexMk" "LaTeX") 18 | "The default command to use with `SPC m b'") 19 | 20 | (defvar latex-enable-auto-fill t 21 | "Whether to use auto-fill-mode or not in tex files.") 22 | 23 | (defvar latex-enable-folding nil 24 | "Whether to use `TeX-fold-mode' or not in tex/latex buffers.") 25 | 26 | (defvar latex-nofill-env '("equation" 27 | "equation*" 28 | "align" 29 | "align*" 30 | "tabular" 31 | "tikzpicture") 32 | "List of environment names in which `auto-fill-mode' will be inhibited.") 33 | 34 | ;; Command prefixes 35 | ;; no supported 36 | ;; (setq auctex/key-binding-prefixes '()) 37 | ;; (push (cons "mp" "LaTeX Preview") auctex/key-binding-prefixes) 38 | ;; (push (cons "mr" "RefTeX") auctex/key-binding-prefixes) 39 | ;; (mapc (lambda (x) (spacemacs/declare-prefix (car x) (cdr x))) 40 | ;; auctex/key-binding-prefixes) 41 | 42 | -------------------------------------------------------------------------------- /core/info/release-notes/0.102.txt: -------------------------------------------------------------------------------- 1 | 1. Dotfile 2 | 3 | It is now possible to reload the dotfile and layers anywhere with `SPC f e 4 | R`. This key binding *replaces* the old `C-c C-c` and `SPC m c c` only 5 | available in the dotfile. 6 | 7 | *Important* You should replace your `(defvar -packages ...)`, 8 | `(defvar -pre-extensions ...)`, `(defvar -post-extensions ...)` 9 | and `(defvar -excluded-packages ...)` by `(setq ...)`. This will 10 | allow to install newly added packages to a layer without restarting spacemacs 11 | by pressing `SPC f e R`. Be sure to remove the docstring when replacing the 12 | `defvar` since `setq` does not take a third argument. 13 | 14 | `:variables` keyword now behaves like a regular `setq` so you'll have to 15 | quote any value appropriately. 16 | 17 | 2. Emacs lisp and Shell config are now in their own layers 18 | 19 | Be sure to add the new layers `emacs-lisp` and `shell` to your dotfile to 20 | continue to enjoy the emacs-lisp and shell configurations of Spacemacs. 21 | 22 | Also be sure to check the key binding `SPC '` to open a shell buffer. 23 | 24 | 3. Key bindings 25 | 26 | `SPC b s` to switch buffer is now on `SPC b b`. 27 | `SPC f f` uses helm instead of ido, set the new variable. 28 | `dotspacemacs-use-ido` to t to get back the old ido behavior. 29 | `TAB` and `C-z` in helm buffers have been *swapped*. 30 | 31 | 4. Sentence delimiter 32 | 33 | Sentence delimiter is now a *single space* as opposed to Emacs default 34 | which is double spaces. 35 | -------------------------------------------------------------------------------- /layers/+lang/lua/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Lua contribution layer for Spacemacs 2 | #+HTML_HEAD_EXTRA: 3 | 4 | [[file:img/lua.gif]] 5 | 6 | * Table of Contents :TOC_4_org:noexport: 7 | - [[Description][Description]] 8 | - [[Features:][Features:]] 9 | - [[Install][Install]] 10 | - [[Key Bindings][Key Bindings]] 11 | - [[Commands][Commands]] 12 | 13 | * Description 14 | This layer adds support for editing Lua. 15 | 16 | ** Features: 17 | - Editing lua files using [[https://github.com/immerrr/lua-mode][lua-mode]] 18 | - Sending code to a lua REPL 19 | - Code linting using [[https://github.com/mpeterv/luacheck][Luacheck]] 20 | 21 | * Install 22 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 23 | add =lua= to the existing =dotspacemacs-configuration-layers= list in this 24 | file. 25 | 26 | In order to enable code linting, install [[https://github.com/mpeterv/luacheck][Luacheck]]. 27 | 28 | * Key Bindings 29 | ** Commands 30 | 31 | | Key Binding | Description | 32 | |-------------+--------------------------------------------| 33 | | ~SPC m d~ | lookup thing at point in lua documentation | 34 | | ~SPC m s b~ | send buffer contents to REPL | 35 | | ~SPC m s f~ | send current function to REPL | 36 | | ~SPC m s l~ | send current line to REPL | 37 | | ~SPC m s r~ | send current region to REPL | 38 | -------------------------------------------------------------------------------- /layers/speed-reading/packages.el: -------------------------------------------------------------------------------- 1 | ;;; packages.el --- speed-reading 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 speed-reading-packages 13 | '( 14 | spray 15 | which-key 16 | )) 17 | 18 | (defun speed-reading/init-spray () 19 | (use-package spray 20 | :commands spray-mode 21 | :init 22 | (progn 23 | (defun speed-reading/start-spray () 24 | "Start spray speed reading on current buffer at current point." 25 | (interactive) 26 | (evil-insert-state) 27 | (spray-mode t) 28 | (internal-show-cursor (selected-window) nil)) 29 | (spacemacs/set-leader-keys "aR" 'speed-reading/start-spray) 30 | 31 | (defadvice spray-quit (after speed-reading//quit-spray activate) 32 | "Correctly quit spray." 33 | (internal-show-cursor (selected-window) t) 34 | (evil-normal-state))) 35 | :config 36 | (progn 37 | (define-key spray-mode-map (kbd "h") 'spray-backward-word) 38 | (define-key spray-mode-map (kbd "l") 'spray-forward-word) 39 | (define-key spray-mode-map (kbd "q") 'spray-quit)))) 40 | 41 | (defun speed-reading/post-init-which-key () 42 | (push '("\\`speed-reading/\\(.+\\)\\'" . "\\1") 43 | which-key-description-replacement-alist)) 44 | -------------------------------------------------------------------------------- /layers/+fun/emoji/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Emoji layer 2 | #+HTML_HEAD_EXTRA: 3 | 4 | [[file:img/emojis.png]] 5 | 6 | * Table of Contents :TOC_4_org:noexport: 7 | - [[Description][Description]] 8 | - [[Features][Features]] 9 | - [[Install][Install]] 10 | - [[Key bindings][Key bindings]] 11 | - [[Emoji dedicated buffer][Emoji dedicated buffer]] 12 | 13 | * Description 14 | This layer adds support for Emoji emoticons from [[http://www.emoji-cheat-sheet.com/][emoji-cheat-sheet.com]]. 15 | 16 | ** Features 17 | - Browse Emoji in a dedicated buffer 18 | - Display Emoji images in buffer 19 | - Insert one or several Emoji with an helm front-end 20 | - Completion of Emojis using [[https://github.com/dunn/company-emoji][company-emoji]] 21 | 22 | * Install 23 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 24 | add =emoji= to the existing =dotspacemacs-configuration-layers= list in this 25 | file. 26 | 27 | * Key bindings 28 | 29 | | Key Binding | Description | 30 | |-------------+-----------------------------------------| 31 | | ~SPC a E~ | open a dedicated buffer to browse Emoji | 32 | | ~SPC i e~ | insert Emoji via an helm buffer | 33 | 34 | ** Emoji dedicated buffer 35 | 36 | | Key Binding | Description | 37 | |-------------+-------------------------| 38 | | ~RET~ | copy current Emoji code | 39 | | ~q~ | quit | 40 | -------------------------------------------------------------------------------- /layers/+lang/autohotkey/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Autohotkey layer 2 | #+HTML_HEAD_EXTRA: 3 | 4 | [[file:img/ahk.png]] 5 | 6 | * Table of Contents :TOC_4_org:noexport: 7 | - [[Description][Description]] 8 | - [[Features][Features]] 9 | - [[Install][Install]] 10 | - [[Key Bindings][Key Bindings]] 11 | 12 | * Description 13 | 14 | Syntax highlighting and Emacs functions for use with [[http://www.autohotkey.com][AutoHotkey]] or 15 | [[http://ahkscript.org][AutoHotkey_L]]. 16 | 17 | Using a combined implementation of ahk-mode from Xah Lee's =xahk-mode= 18 | and Robert Widhopf-Fenk's =autohotkey-mode=. Updated with the latest 19 | ahk and ahk_l commands found in the latest revision of 20 | [[http://fincs.ahk4.net/scite4ahk/][SciTE4AutoHotkey]]. 21 | 22 | Contributed and maintained by [[https://www.github.com/ralesi][Rich Alesi]]. 23 | 24 | * Features 25 | 26 | - Auto-completion 27 | - Documentation Lookup 28 | - Execute Code Snippets 29 | - Correct Indentation and Commenting 30 | 31 | * Install 32 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 33 | add =autohotkey= to the existing =dotspacemacs-configuration-layers= list in this 34 | file. 35 | 36 | * Key Bindings 37 | 38 | | Key Binding | Description | 39 | |-------------+------------------------------------| 40 | | ~SPC m d~ | open documentation in =browser= | 41 | | ~SPC m e~ | execute file with =autohotkey.exe= | 42 | -------------------------------------------------------------------------------- /layers/+lang/windows-scripts/extensions.el: -------------------------------------------------------------------------------- 1 | ;;; extensions.el --- Windows Scripts Layer extensions 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 | ;; Post extensions are loaded *after* the packages 13 | (setq windows-scripts-post-extensions '(dos)) 14 | 15 | ;; Initialize the extensions 16 | 17 | (defun windows-scripts/init-dos () 18 | (use-package dos 19 | :commands dos-mode 20 | :mode ("\\.bat$" . dos-mode) 21 | :init 22 | (progn 23 | (defun windows-scripts/dos-outline-hook () 24 | (defun outline-mouse-select () 25 | "Select position and return to `dos-mode'." 26 | (interactive) 27 | (dos-mode) 28 | (beginning-of-line))) 29 | (defun windows-scripts/dos-outline () 30 | "Set a local binding to be able to return easily in dos-mode." 31 | (interactive) 32 | (dos-outline) 33 | (define-key evil-normal-state-local-map (kbd "SPC m z") 'dos-mode)) 34 | (add-hook 'outline-mode-hook 'windows-scripts/dos-outline-hook)) 35 | :config 36 | (spacemacs/set-leader-keys-for-major-mode 'dos-mode 37 | "hD" 'dos-help-cmd 38 | "eb" 'dos-run 39 | "eB" 'dos-run-args 40 | "s" 'dos-sep 41 | "t" 'dos-template-mini 42 | "T" 'dos-template 43 | "z" 'windows-scripts/dos-outline))) 44 | -------------------------------------------------------------------------------- /layers/+vim/unimpaired/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Unimpaired port layer 2 | #+HTML_HEAD_EXTRA: 3 | 4 | * Table of Contents :TOC_4_org:noexport: 5 | - [[Description][Description]] 6 | - [[Key bindings][Key bindings]] 7 | 8 | * Description 9 | This layer ports some of the functionality of [[https://github.com/tpope/vim-unimpaired][tpope's vim-unimpaired]]. 10 | 11 | This plugin provides several pairs of bracket maps using ~[~ to denote 12 | previous, and ~]~ as next. 13 | 14 | * Key bindings 15 | 16 | | KeyBindings | Description | 17 | |-------------+-----------------------------| 18 | | ~[b~ | Go to previous buffer | 19 | | ~]b~ | Go to next buffer | 20 | | ~[l~ | Go to the previous error | 21 | | ~]l~ | Go to the next error | 22 | | ~[h~ | Go to the previous vcs hunk | 23 | | ~]h~ | Go to the next vcs hunk | 24 | | ~[t~ | Go to the previous frame | 25 | | ~]t~ | Go to the next frame | 26 | | ~[w~ | Go to the previous window | 27 | | ~]w~ | Go to the next window | 28 | | ~[e~ | Move line up | 29 | | ~]e~ | Move line down | 30 | | ~[SPACE~ | Insert space above | 31 | | ~]SPACE~ | Insert space below | 32 | | ~[p~ | Paste above current line | 33 | | ~]p~ | Paste below current line | 34 | | ~gp~ | Select pasted text | 35 | -------------------------------------------------------------------------------- /layers/ibuffer/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: IBuffer layer 2 | #+HTML_HEAD_EXTRA: 3 | 4 | * Table of Contents :TOC_4_org:noexport: 5 | - [[Description][Description]] 6 | - [[Install][Install]] 7 | - [[Layer][Layer]] 8 | - [[Grouping buffers][Grouping buffers]] 9 | - [[Key bindings][Key bindings]] 10 | 11 | * Description 12 | 13 | This layer configures Emacs ibuffer for Spacemacs. 14 | 15 | * Install 16 | ** Layer 17 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 18 | add =ibuffer= to the existing =dotspacemacs-configuration-layers= list in this 19 | file. 20 | 21 | ** Grouping buffers 22 | 23 | Buffers can be grouped by major-modes or projectile projects. 24 | By default buffers are grouped by major-modes. 25 | 26 | To change how buffers are grouped set the layer variable 27 | =ibuffer-group-buffers-by= to one of the following supported values: 28 | - =modes= to group buffers by major-modes (default) 29 | - =projects= to group buffers by projectile projects 30 | - =nil= to not group buffers 31 | 32 | Example: 33 | 34 | #+BEGIN_SRC emacs-lisp 35 | (setq-default dotspacemacs-configuration-layers '( 36 | (ibuffer :variables ibuffer-group-buffers-by 'projects))) 37 | #+END_SRC 38 | 39 | * Key bindings 40 | 41 | | Key Binding | Description | 42 | |-------------+-------------------| 43 | | ~SPC b B~ | open ibuffer menu | 44 | 45 | *Note:* The layer will also replace regular ~C-x C-b~ by ibuffer. 46 | -------------------------------------------------------------------------------- /layers/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 | 23 | (defun spacemacs/smex () 24 | "Execute smex with a better prompt." 25 | (interactive) 26 | (let ((smex-prompt-string "Emacs commands: ")) 27 | (smex))) 28 | 29 | (defun spacemacs/smex-major-mode-commands () 30 | "Reexecute smex with major mode commands only." 31 | (interactive) 32 | (let ((smex-prompt-string (format "%s commands: " major-mode))) 33 | (smex-major-mode-commands))) 34 | 35 | ;; define the key binding at the very end in order to allow the user 36 | ;; to overwrite any key binding 37 | (add-hook 'emacs-startup-hook 38 | (lambda () (spacemacs/set-leader-keys dotspacemacs-command-key 39 | 'spacemacs/smex))) 40 | (spacemacs/set-leader-keys ":" 'spacemacs/smex-major-mode-commands) 41 | (global-set-key (kbd "M-x") 'spacemacs/smex)))) 42 | -------------------------------------------------------------------------------- /layers/+tools/dash/packages.el: -------------------------------------------------------------------------------- 1 | ;; see conditional package inclusion 2 | (setq dash-packages '(helm-dash)) 3 | 4 | (cond 5 | ((spacemacs/system-is-mac) 6 | (push 'dash-at-point dash-packages)) 7 | ((or (spacemacs/system-is-linux) 8 | (spacemacs/system-is-mswindows)) 9 | (push 'zeal-at-point dash-packages))) 10 | 11 | (defun dash/init-helm-dash () 12 | (use-package helm-dash 13 | :defer t 14 | :init 15 | (spacemacs/set-leader-keys 16 | "dh" 'helm-dash-at-point 17 | "dH" 'helm-dash) 18 | :config 19 | (defun dash//activate-package-docsets (path) 20 | "Add dash docsets from specified PATH." 21 | (setq helm-dash-docsets-path path 22 | helm-dash-common-docsets (helm-dash-installed-docsets)) 23 | (message (format "activated %d docsets from: %s" 24 | (length helm-dash-common-docsets) path))) 25 | (dash//activate-package-docsets dash-helm-dash-docset-path))) 26 | 27 | (defun dash/init-dash-at-point () 28 | (use-package dash-at-point 29 | :defer t 30 | :init 31 | (progn 32 | (spacemacs/set-leader-keys "dd" 'dash-at-point) 33 | (spacemacs/set-leader-keys "dD" 'dash-at-point-with-docset)))) 34 | 35 | (defun dash/init-zeal-at-point () 36 | (use-package zeal-at-point 37 | :defer t 38 | :init 39 | (spacemacs/set-leader-keys 40 | "dd" 'zeal-at-point 41 | "dD" 'zeal-at-point-set-docset) 42 | :config 43 | ;; This lets users seach in multiple docsets 44 | (push '(web-mode . "html,css,javascript") zeal-at-point-mode-alist) 45 | )) 46 | -------------------------------------------------------------------------------- /layers/+vim/evil-commentary/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Evil-commentary layer 2 | #+HTML_HEAD_EXTRA: 3 | 4 | * Table of Contents :TOC_4_org:noexport: 5 | - [[Description][Description]] 6 | - [[Install][Install]] 7 | - [[Key bindings][Key bindings]] 8 | 9 | * Description 10 | This layer replaces [[https://github.com/redguardtoo/evil-nerd-commenter][evil-nerd-commenter]] with [[https://github.com/linktohack/evil-commentary][evil-commentary]] for those 11 | who prefer the behaviour of [[https://github.com/tpope/vim-commentary][vim-commentary]]. 12 | 13 | - Use ~gcc~ to comment out a line (takes a count), 14 | - ~gc~ to comment out the target of a motion (for example, 15 | - ~gcap~ to comment out a paragraph), ~gc~ in visual 16 | mode to comment out the selection. 17 | 18 | For more details see the [[https://github.com/linktohack/evil-commentary][evil-commentary]] repository. 19 | 20 | * Install 21 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 22 | add =evil-commentary= to the existing =dotspacemacs-configuration-layers= list in this 23 | file. 24 | 25 | * Key bindings 26 | | Key Binding | Description | 27 | |-------------+-------------------------------| 28 | | ~SPC ;~ | comment operator | 29 | | ~gcc~ | comment current line | 30 | | ~gcap~ | comment paragraphs | 31 | | ~gc SPC y~ | comment up to a line with avy | 32 | | ~gy~ | comment and yank | 33 | -------------------------------------------------------------------------------- /layers/shell/config.el: -------------------------------------------------------------------------------- 1 | ;;; config.el --- shell 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 | ;; Emacs built-in variables 13 | 14 | ;; move point to the end of buffer on new output 15 | (setq comint-move-point-for-output t) 16 | 17 | ;; Variables 18 | 19 | (spacemacs|defvar-company-backends eshell-mode) 20 | 21 | (defvar shell-default-shell (if (eq window-system 'w32) 22 | 'eshell 23 | 'ansi-term) 24 | "Default shell to use in Spacemacs. Possible values are `eshell', `shell', 25 | `term' and `ansi-term'.") 26 | 27 | (defvar shell-default-position 'bottom 28 | "Position of the shell. Possible values are `top', `bottom' and `full'.") 29 | 30 | (defvar shell-default-height 30 31 | "Height in percents for the shell window.") 32 | 33 | (defvar shell-default-term-shell shell-file-name 34 | "Default shell to use in `term' and `ansi-term' shells.") 35 | 36 | (defvar shell-enable-smart-eshell nil 37 | "If non-nil then `em-smart' is enabled. `em-smart' allows to quickly review 38 | commands, modify old commands or enter a new one.") 39 | 40 | (defvar shell-protect-eshell-prompt t 41 | "If non-nil then eshell's prompt is protected. This means that 42 | movement to the prompt is inhibited like for `comint-mode' 43 | prompts and the prompt is made read-only") 44 | -------------------------------------------------------------------------------- /core/banners/999-banner.txt: -------------------------------------------------------------------------------- 1 | 2 | ░░░░░░░░░▄░░░░░░░░░░░░░░▄░░░░ 3 | ░░░░░░░░▌▒█░░░░░░░░░░░▄▀▒▌░░░ 4 | Such powerful ░░░░░░░░▌▒▒█░░░░░░░░▄▀▒▒▒▐░░░ 5 | ░░░░░░░▐▄▀▒▒▀▀▀▀▄▄▄▀▒▒▒▒▒▐░░░ 6 | ░░░░░▄▄▀▒░▒▒▒▒▒▒▒▒▒█▒▒▄█▒▐░░░ Vim and Emacs 7 | ░░░▄▀▒▒▒░░░▒▒▒░░░▒▒▒▀██▀▒▌░░░ So love 8 | ░░▐▒▒▒▄▄▒▒▒▒░░░▒▒▒▒▒▒▒▀▄▒▒▌░░ Much forbidden 9 | ░░▌░░▌█▀▒▒▒▒▒▄▀█▄▒▒▒▒▒▒▒█▒▐░░ 10 | Very modes ░▐░░░▒▒▒▒▒▒▒▒▌██▀▒▒░░░▒▒▒▀▄▌░ 11 | ░▌░▒▄██▄▒▒▒▒▒▒▒▒▒░░░░░░▒▒▒▒▌░ 12 | ▀▒▀▐▄█▄█▌▄░▀▒▒░░░░░░░░░░▒▒▒▐░ 13 | ▐▒▒▐▀▐▀▒░▄▄▒▄▒▒▒▒▒▒░▒░▒░▒▒▒▒▌ 14 | ▐▒▒▒▀▀▄▄▒▒▒▄▒▒▒▒▒▒▒▒░▒░▒░▒▒▐░ 15 | ░▌▒▒▒▒▒▒▀▀▀▒▒▒▒▒▒░▒░▒░▒░▒▒▒▌░ 16 | ░▐▒▒▒▒▒▒▒▒▒▒▒▒▒▒░▒░▒░▒▒▄▒▒▐░░ 17 | ░░▀▄▒▒▒▒▒▒▒▒▒▒▒░▒░▒░▒▄▒▒▒▒▌░░ 18 | ░░░░▀▄▒▒▒▒▒▒▒▒▒▒▄▄▄▀▒▒▒▒▄▀░░░ Wow. 19 | ░░░░░░▀▄▄▄▄▄▄▀▀▀▒▒▒▒▒▄▄▀░░░░░ 20 | ░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▀▀░░░░░░░░ 21 | ██████╗ ██████╗ ██████╗ ███████╗███╗ ███╗ █████╗ ██████╗███████╗ 22 | ██╔══██╗██╔═══██╗██╔════╝ ██╔════╝████╗ ████║██╔══██╗██╔════╝██╔════╝ 23 | ██║ ██║██║ ██║██║ ███╗█████╗ ██╔████╔██║███████║██║ ███████╗ 24 | ██║ ██║██║ ██║██║ ██║██╔══╝ ██║╚██╔╝██║██╔══██║██║ ╚════██║ 25 | ██████╔╝╚██████╔╝╚██████╔╝███████╗██║ ╚═╝ ██║██║ ██║╚██████╗███████║ 26 | ╚═════╝ ╚═════╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚══════╝ 27 | -------------------------------------------------------------------------------- /layers/+tools/fasd/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: fasd layer 2 | #+HTML_HEAD_EXTRA: 3 | 4 | * Table of Contents :TOC_4_org:noexport: 5 | - [[Description][Description]] 6 | - [[Install][Install]] 7 | - [[Layer ][Layer ]] 8 | - [[fasd][fasd]] 9 | - [[Keybindings][Keybindings]] 10 | 11 | * Description 12 | 13 | This layer adds integration of [[https://github.com/clvv/fasd][fasd]] which is a command line tool 14 | to quickly jump between locations in a POSIX shell. 15 | 16 | The integration is implemented in the package [[https://github.com/steckerhalter/emacs-fasd][emacs-fasd]]. 17 | 18 | * Install 19 | ** Layer 20 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 21 | add =fasd= to the existing =dotspacemacs-configuration-layers= list in this 22 | file. 23 | 24 | ** fasd 25 | [[https://github.com/clvv/fasd][fasd]] must be installed on your system. The general installation 26 | instructions can be found in the repository [[https://github.com/clvv/fasd#install][README]] 27 | 28 | On OS X, it can be installed via [[https://github.com/Homebrew/homebrew][homebrew]]: 29 | 30 | #+BEGIN_SRC sh 31 | $ brew install fasd 32 | #+END_SRC 33 | 34 | * Keybindings 35 | 36 | | Key Binding | Description | 37 | |-------------+------------------------------------| 38 | | ~SPC f a s~ | find a file or directory with fasd | 39 | | ~SPC f a d~ | find a directory with fasd | 40 | | ~SPC f a f~ | find a file with fasd | 41 | -------------------------------------------------------------------------------- /layers/+lang/erlang/packages.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 | (setq erlang-packages 13 | '( 14 | company 15 | erlang 16 | flycheck 17 | )) 18 | 19 | (defun erlang/post-init-company () 20 | (add-hook 'erlang-mode-hook 'company-mode)) 21 | 22 | (defun erlang/init-erlang () 23 | (use-package erlang 24 | :defer t 25 | :init 26 | (progn 27 | ;; explicitly run prog-mode hooks since erlang mode does is not 28 | ;; derived from prog-mode major-mode 29 | (add-hook 'erlang-mode-hook (lambda () (run-hooks 'prog-mode-hook))) 30 | ;; (setq erlang-root-dir "/usr/lib/erlang/erts-5.10.3") 31 | ;; (add-to-list 'exec-path "/usr/lib/erlang/erts-5.10.3/bin") 32 | ;; (setq erlang-man-root-dir "/usr/lib/erlang/erts-5.10.3/man") 33 | ;; (add-hook 'erlang-mode-hook 34 | ;; (lambda () 35 | ;; (setq mode-name "Erlang") 36 | ;; ;; when starting an Erlang shell in Emacs, with a custom node name 37 | ;; (setq inferior-erlang-machine-options '("-sname" "syl20bnr")) 38 | ;; )) 39 | (setq erlang-compile-extra-opts '(debug_info))) 40 | :config 41 | (require 'erlang-start))) 42 | 43 | (defun erlang/post-init-flycheck () 44 | (spacemacs/add-flycheck-hook 'erlang-mode-hook)) 45 | -------------------------------------------------------------------------------- /layers/+lang/windows-scripts/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Windows Scripting layer 2 | #+HTML_HEAD_EXTRA: 3 | 4 | [[file:img/ps.png]] 5 | 6 | * Table of Contents :TOC_4_org:noexport: 7 | - [[Description][Description]] 8 | - [[Install][Install]] 9 | - [[Key Bindings][Key Bindings]] 10 | - [[Powershell][Powershell]] 11 | - [[Batch (dos.el)][Batch (dos.el)]] 12 | 13 | * Description 14 | This simple layer adds support for the Powershell scripting language as well 15 | as support for batch files. 16 | 17 | Incuded packages for extensions: 18 | - =.ps1=: [[https://github.com/jschaf/powershell.el][powershell]] 19 | - =.bat=: [[http://www.emacswiki.org/emacs/dos.el][dos.el]] 20 | 21 | * Install 22 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 23 | add =windows-scripts= to the existing =dotspacemacs-configuration-layers= list in this 24 | file. 25 | 26 | * Key Bindings 27 | ** Powershell 28 | No useful bindings. 29 | 30 | ** Batch (dos.el) 31 | 32 | | Key Binding | Description | 33 | |-------------+--------------------------------------| 34 | | ~SPC m D~ | ask for a command and display help | 35 | | ~SPC m e b~ | evaluate buffer | 36 | | ~SPC m e B~ | evaluate buffer with args | 37 | | ~SPC m s~ | insert separator =&= | 38 | | ~SPC m t~ | mini snippet to start a batch script | 39 | | ~SPC m T~ | big snippet to start a batch script | 40 | | ~SPC m z~ | toggle outline | 41 | -------------------------------------------------------------------------------- /layers/+tools/pandoc/README.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Pandoc layer 2 | #+HTML_HEAD_EXTRA: 3 | 4 | * Table of Contents :TOC_4_org:noexport: 5 | - [[Description][Description]] 6 | - [[Install][Install]] 7 | - [[Layer][Layer]] 8 | - [[Pandoc][Pandoc]] 9 | - [[Usage][Usage]] 10 | - [[Key Bindings][Key Bindings]] 11 | 12 | * Description 13 | 14 | This layer adds support for [[http://johnmacfarlane.net/pandoc][Pandoc]]. 15 | 16 | Pandoc is a universal document converter. It makes it easy to e.g. convert a 17 | Markdown file to org mode or vice versa. It can also export your text to PDF or 18 | DOCX. 19 | 20 | This layer automatically install an org exporter using the [[https://github.com/kawabata/ox-pandoc][ox-pandoc]]. 21 | 22 | * Install 23 | ** Layer 24 | To use this configuration layer, add it to your =~/.spacemacs=. You will need to 25 | add =pandoc= to the existing =dotspacemacs-configuration-layers= list in this 26 | file. 27 | 28 | ** Pandoc 29 | To use the mode please [[http://pandoc.org/installing.html][install]] pandoc first. 30 | 31 | * Usage 32 | For a full list of possible conversions see the [[http://johnmacfarlane.net/pandoc][Pandoc documentation]]. 33 | An explanation of all the options offered by =pandoc-mode= can be found at the 34 | [[http://joostkremers.github.io/pandoc-mode][Pandoc-mode website]]. 35 | 36 | * Key Bindings 37 | 38 | | Key Binding | Description | 39 | |-------------+---------------------------------| 40 | | ~SPC P /~ | Start pandoc-mode and open menu | 41 | -------------------------------------------------------------------------------- /core/info/release-notes/0.104.txt: -------------------------------------------------------------------------------- 1 | 1. Org 2 | 3 | `org-plus-contrib` is now installed from org ELPA repository, you may 4 | encounter strange behaviours from Org. In this case delete the `org` 5 | directory in the `elpa` directory and restart Emacs. 6 | 7 | 2. Helm 8 | 9 | `Helm` key bindings have been slightly adjusted: 10 | 11 | - in `helm-find-files` (`SPC f f`): now `C-h` move up a directory 12 | and `C-l` enter the selected directory. `describe-key` command is 13 | available on `C-S-h` 14 | 15 | - in other `helm` buffers ~C-h~ is used to go to the next source 16 | and `C-l` is the same as `RET`. `describe-key` command is also 17 | available on `C-S-h`. 18 | 19 | 3. Vim keys 20 | 21 | `Y` has been remapped to `y$`, if you don't like this behavior you can 22 | set the variable `dotspacemacs-remap-Y-to-y$` to nil in your dotfile. 23 | 24 | 4. Guide-key 25 | 26 | `guide-key` has been replaced by `which-key`, you may encounter issues 27 | if you have some `guide-key` custom configuration, remove any `guide-key` 28 | configuration and check the options offered by `which-key`. 29 | 30 | 5. Bookmarks 31 | 32 | The `bookmark` save file has been moved to the `.cache` directory, if 33 | you have a bookmark file `~/.emacs.d/bookmarks` then you'll have to move 34 | it to file `~/.emacs.d/.cache/bookmarks` 35 | 36 | 6. Ruby on Rails 37 | 38 | Ruby on Rails framework has now its own layer called `ruby-on-rails`, 39 | be sure to add this layer to your dotfile if you use it. 40 | 41 | 7. Django 42 | 43 | Django framework has now its own layer called `django`, 44 | be sure to add this layer to your dotfile if you use it. 45 | --------------------------------------------------------------------------------