Commit graph

3039 commits

Author SHA1 Message Date
Codruț Constantin Gușoi d987ded361 Adds keybinding for updating packages 2017-10-15 11:08:01 -04:00
Leon Isenberg 617c44ecc6 Fix: company-dante -> dante-company 2017-10-15 11:08:01 -04:00
Aaron Jensen 35f4c0621b Fix name of window-purpose in readme 2017-10-15 11:08:01 -04:00
Jeremie Pelletier ffc31f3936 Add leader key prefixes for sql-mode 2017-10-15 11:08:01 -04:00
syl20bnr 7540c07c9d github: replace evilified-state-evilify by evilified-state-evilify-map 2017-10-15 11:08:01 -04:00
Jean-Sebastien A. Beaudry 71e3f1504c Add g r evilified binding to gist-list-mode 2017-10-15 11:08:01 -04:00
Saulius Menkevičius 4803da9842 prodigy: bind 'q' to quit-window in view mode 2017-10-15 11:08:01 -04:00
David Millar-Durrant c5bba38416 added prefixes to the fsharp layer 2017-10-15 11:08:01 -04:00
Bjarke Vad fce6bed3c9 Enable purescript-decl-scan-mode when loading purescript-mode
This should fix `SPC j i` for PureScript
2017-10-15 11:08:01 -04:00
Alexander Miller f71fb1b245 treemacs: add spacemacs-evil-cursors entry for treemacs. 2017-10-15 17:15:27 +03:00
bmag 450da6f204 spacemacs-evil-cursors: make them easy to configure
Motivation: so layers with their own evil states (e.g. treemacs) can also
contain their own cursor configuration

Example usage: `(spacemacs/add-evil-cursor "treemacs" "RoyalBlue1" '(hbar . 0))`
2017-10-15 17:15:23 +03:00
syl20bnr d87caa1969 neotree: fix list of feature
Also respect 80 chars max per line in treemacs feature list.
2017-10-08 18:18:23 -04:00
syl20bnr 902ceae0d3 treemacs: update README.org to be more conventional
Layer READMEs don't list the configuration of the package so this commit removes
the mentions of treemacs package readme.

Reformat the documentation of layer variables

Reformat key bindings in table

Respect 80 chars max per line.
2017-10-08 12:20:03 -04:00
syl20bnr cf79d2207b treemacs: respect 80 chars per line 2017-10-08 12:05:43 -04:00
syl20bnr 4e6574b7f2 treemacs: add treemacs--window-number-ten to autoloads
If treemacs is not used before opening an helm buffer, it breaks helm and
emacs.
2017-10-08 12:03:21 -04:00
syl20bnr e3afa35fbf treemacs: move to +filetree category and add can-shadow relation
Add shadow relation between neotree and treemacs
sort packages in treemacs packages.el file
2017-10-08 12:01:48 -04:00
Alexander Miller 403b246212 Add treemacs layer. 2017-10-08 11:45:49 -04:00
syl20bnr 41e91a9dcf core: move all dotspacemacs-helm-* variables to layer variables
Add support for backward compatibility via a macro instrad of defvaralias as the
latter was not sufficient to support all the use-cases.
2017-10-08 10:29:34 -04:00
syl20bnr 6e4eab6b97 Add helm to spacemacs default distribution 2017-10-08 07:52:15 -04:00
syl20bnr 67aaf51631 Move neotree to its own layer in new +filtree folder
Add neotree layer to default spacemacs distribution.
2017-10-08 07:51:43 -04:00
Benjamin Reynolds b6474ff590 Fix various documentation errors and inconsistencies
Fixes documentation errors from issue #9476 in the following layers...

* syntax-checking
* games
* xkcd
* keyboard-layout
* racket
* osx
2017-10-05 11:15:21 +03:00
smile13241324 97537e46a7 Fix documentation for parinfer, pdf-tools, yaml, csv and salt layer 2017-10-05 11:15:02 +03:00
smile13241324 0e06bbafc4 Fix documentation for elisp, colour, ibuffer and windows-scripts 2017-10-02 03:01:54 +03:00
Ruslan Kamashev a7e30bfcb4 Fix typo (issue #9655) 2017-09-29 12:47:35 +03:00
syl20bnr 71a0d418c4 Fix purpose error when both helm and ivy layers are not used
Delayed window-purpose related configuration by using eval-after-load and
use-package hooks.
2017-09-26 00:40:51 -04:00
syl20bnr 3bce69aba1 Fix warnings about unrecognized keys without helm or ivy layers
In perspective transient state. b and l keys in the docstring have no
corresponding functions declared whenever both helm and ivy layers are not
used.

Add two private variables to fix the issue:
- spacemacs--persp-display-buffers-func
- spacemacs--persp-display-perspectives-func

These variables are set to the correct functions by the helm and ivy layers via
a use-package hook.

Default is `ignore` function so b and l does nothing if both helm and ivy layers
are not used, TODO: we should find a better default function.
2017-09-26 00:10:00 -04:00
syl20bnr dc58801c7d core: refactor shadow mechanism
Shadowing is now control by layer property ':can-shadow' only.
can-shadow is a commutative relation, if layer1 can shadow layer2 then layer2
can shadow layer1.
the shadow operator is a binary operator accepting two layer names, it is not
commutative and the order of the operands is determined by the order of the
layers in the dotfile (like the ownership stealing mechanism).

If ':can-shadow' is set explicity to nil in the dotfile then the layer won't
shadow any layer.
For instance to install both ivy and helm layer:

   (setq dotspacemacs-configuration-layers
   '(
     ivy
     (helm :can-shadow nil)
     )

note that due to the commutative relation the above example can also be
written (in this case, ':can-shadow' should be read ':can-be-shawdowed'):

   (setq dotspacemacs-configuration-layers
   '(
     (ivy :can-shadow nil)
     helm
     )
2017-09-25 23:07:22 -04:00
JAremko 7ff7f51e50 (docker dist) fix pdf-tools installer 2017-09-23 22:12:58 +03:00
syl20bnr 95699ee61c core: add layer shadowing system
Layers can now declare in their layers.el file that they shadow one or more
layers using the following functions:

- configuration-layer/shadow-layers
- configuration-layer/shadow-layer

Those function are commutative so:
    (configuration-layer/shadow-layer 'layer1 'layer2)
is the same as
    (configuration-layer/shadow-layer 'layer2 'layer1)
and means that
layer1 shadows layer2
and
layer2 shadows layer1

The typical use-case is helm and ivy layers. Helm shadows the ivy layer and
Ivy shadows the helm layer.

Shadowing is sensitive to the order of declaration of layers in the dotfile,
for instance:

    (setq dotspacemacs-configuration-layers '(
      helm
      ivy
     ))

means that ivy shadows helm so helm layer is effectively ignored,
whereas

    (setq dotspacemacs-configuration-layers '(
      ivy
      helm
     ))

means that helm shadows ivy so ivy layer is effectively ignored.

This mechanism can be turned off using the :can-shadow keyword:

    (setq dotspacemacs-configuration-layers '(
      ivy
      (helm :can-shadow nil)
     ))

means that both ivy and helm layers will be installed (not recommended in this
case)

Note that the `:can-shadow` mechanism will be fully implemented in a next
commit.
2017-09-21 23:56:09 -04:00
bmag ca28bde049 purpose: disable popwin-mode at startup 2017-09-16 22:07:10 +03:00
bmag 22deb279c3 Revert "Remove obsolete purpose-conf name argument"
This reverts commit 4db4424b90 and adds an
appropriate comment.
2017-09-16 18:06:38 +03:00
Benjamin Reynolds 9341e1d751 Fix documentation issues with ruby, rails, and swift layers
See #9476
2017-09-11 22:35:46 +03:00
smile13241324 0c5f64347c Add "features" block to doc of plantuml, shell and search-engine layer 2017-09-11 22:35:31 +03:00
bmag 84751cbc53 counsel: rename git dir variable
counsel--git-grep-dir was renamed upstream to counsel--git-dir.
2017-09-10 19:54:33 +03:00
bmag f221d7ed73 helm-bookmarks: don't change keys to early
helm-bookmark-map might not be available yet when helm-mode is enabled, so don't
change bindings until it is available. (fixes a void-variable error)
2017-09-07 13:49:55 +03:00
syl20bnr 6d73df7036 Fix SPC w = (balance windows) 2017-09-05 11:01:39 -04:00
syl20bnr 79a5687d1b Fix evil-snipe
Must always enable explicitly evil-snipe-mode even when evil-snipe-override-mode
is enabled.
2017-09-05 11:01:39 -04:00
Benjamin Reynolds 6bc940fe7c Fix last remaining link that uses relative style 2017-08-31 00:25:24 +03:00
JAremko 8a95d3bb92
Fix nix-mode.el URL 2017-08-31 00:23:34 +03:00
CeleritasCelery e32acfbf3b Fixed feature header 2017-08-29 20:00:44 +03:00
syl20bnr a496401e1f Move groovy configuration to its own layer and improve it
Enable company, org babel and repl.
2017-08-28 13:49:09 -04:00
syl20bnr 211c3f5c1b Prefer to use pre-init instead of post-init whenever possible
This commit does it for org.
2017-08-28 13:34:15 -04:00
syl20bnr cb5af86aaa Remove feed lines in auto-layer.el
Too many feed lines make emacs slow.
2017-08-28 12:05:48 -04:00
syl20bnr 82220fce3a Remove old wording "contribution layer" 2017-08-28 11:33:55 -04:00
syl20bnr b2eaf9fd30 groovy: update indent-variable-alist to support new groovy-mode 2017-08-28 11:02:44 -04:00
syl20bnr 98ca4821a1 clojure: add missing file header to packages.el 2017-08-28 10:44:59 -04:00
syl20bnr 2e8412323c python: move functions to funcs.el 2017-08-28 10:44:58 -04:00
syl20bnr e7205e0097 erc: update documentation for layer variables 2017-08-27 22:54:04 -04:00
syl20bnr b804aef694 yasnippet: fix check for dotspacemacs-directory-snippets-dir
An error occurred when dotspacemacs-directory was nil.
2017-08-27 22:44:18 -04:00
bharat joshi 6c3ca50b3b add exotica theme to spacemacs theme megapack 2017-08-27 22:39:48 -04:00