Commit graph

206 commits

Author SHA1 Message Date
syl20bnr e2e532bb49 core: change <function>p to <function>-p suffixes for consistency
Also defined aliases for backward compatibility with `usedp` functions.
2017-07-02 10:09:39 -04:00
Eivind Fonn 08561d8631 core: implement :depends for package declarations
This replaces the older pattern
:toggle (configuration-layer/package-usedp ..)

This implementation ensures that :disabled-for honors dependent packages, i.e.
if package a depends on package b, which is owned by layer c, and layer c is
disabled for layer d, then neither package a nor b will be configured for layer
d. Previously, this was only true for package a, but not b.

This commit also fixes:

- configuration-layer/describe-package now shows which post-init and pre-init
  functions are disabled, if any
- Does not recreate all layer objects unconditionally when calling
  configuration-layer/discover-layers. Previously, this led to all layers being
  recreated after e.g. `SPC h SPC`, without any of the dotfile information.
  Since this information is now necessary for
  configuration-layer/describe-package, it’s important that we don’t clear the
  indexed layers when invoking this function.
2017-06-22 11:53:05 +02:00
Boris Wong e07f805606 Ranger Layer: Docs: Updated key bindings 2017-06-18 12:37:19 +02:00
Codruț Constantin Gușoi 9efe92e70d Fixes ansible-doc-mode error on SPC h d k 2017-06-14 10:49:06 +02:00
Eivind Fonn 3d69e4a13c geolocation: cleanup 2017-06-13 10:45:05 +02:00
Thadeus Fleming d0c1a7e391 Add deferred theme changer activation function.
Fixes #7563. Replaces proposed workaround in #8212.
2017-06-13 10:39:18 +02:00
JAremko 11356be1e7 Add transmission layer.
Defer transmission package.

Add transmission-auto-refresh-all var

format Docs
2017-06-12 17:40:59 +03:00
JAremko 4e2b03def8 add bm layer
eagerly restore bookmarks

get spacemacs cache dir from var

reformat hydra thingy

Use @duianto 's formatting for hydra

format TOC
2017-06-10 12:54:58 +03:00
Eivind Fonn 65f639d8c4 Disable add-node-modules-path by default 2017-06-08 08:59:06 +02:00
Eivind Fonn 77427f2ac3 fix tests: node readme 2017-06-07 18:21:02 +02:00
jupl 09ce56df3d Use add-node-modules-path to automatically find local executables 2017-06-07 16:49:11 +02:00
Eivind Fonn dd4bd6ddee ycmd: bugfix 2017-06-01 10:52:02 +02:00
Eivind Fonn d50b12d886 ycmd: more flexible file search 2017-05-31 15:25:37 +02:00
Amos Bird 18c1e12342 search compile_commands.json in build subdir 2017-05-31 15:21:13 +02:00
Kepi 8c230bfbb1 Pass: support for ivy and fix undefined dostpacemacs-use-ido
Looks like pass is trying to use variable which isn't available for some time,
at least there are no other packages using it.

`completing-read` should be universal for all completing needs I hope.
2017-05-28 16:17:45 +02:00
ralesi 47f90684c9 ranger: add jump other window bindings, minus to enter 2017-05-24 13:48:28 +02:00
Kristoffer Haugsbakk 79ed1a6b4b Use proper markup for code in readmes
By convention, code markup (`~`) is reserved for keybindings in Org-based
documentation in Spacemacs.  Verbatim markup (`=`) is reserved for code and
other code-like things.  So change several readmes to reflect this convention.

Use verbatim markup for things like (non-exhaustive list):

- Emacs Lisp functions, modes, buffers, etc.
- Environment variables
- Directory paths
- Code in general
2017-05-24 11:57:17 +02:00
Isaac Zeng 0c24559545 Prevent tmux-command at GUI mode 2017-05-23 15:15:37 +02:00
JAremko 6c5a0b2b14 update docs to the new toc-org format 2017-05-22 18:35:37 +03:00
Eivind Fonn 488fc0977f Move editorconfig to spacemacs-editing 2017-05-19 11:43:29 +02:00
Vladimir Kochnev bed1d344d7 Add editorconfig layer.
Sometime in the past editorconfig layer has been deleted.

Commit: 5887344.
Related PR: #1526.

Explanation was that layer was so simple that everything you need to get
editorconfig to work is just add it to dotspacemacs-additional-packages.

However it's not quite true.

- (editorconfig-mode t) should be performed manually.
- it looks ugly in modeline.
2017-05-19 11:38:25 +02:00
syl20bnr 517c4eec68 pass: update layer to be more idiomatic and move key bindings on SPC A p
New prefix command SPC A for other applications
2017-05-18 23:12:56 -04:00
Andrew Oppenlander 3dd9fc5d4e Added pass contrib layer that repescts dotspacemacs-use-ido and
describes multiline pass entries.
2017-05-18 23:12:56 -04:00
syl20bnr 95ec362582 dash: make if more idiomatic 2017-05-18 23:12:56 -04:00
Color Fuzzy 549f7e2518 helm-dash use default docsets path on macos
If we don't use the default docksets, helm-dash will not work smoothly
unless we set the `dash-helm-dash-docset-path' variable when we import
the dash layer(actually, the default dash docset path is always
"~/Library/Application Support/Dash/DocSets").
2017-05-18 23:12:56 -04:00
legalcodes c3e32e2891 Add note about separate ledger install. 2017-05-18 18:27:49 +02:00
Steven Allen 909d1dcf6f Enable flycheck in the systemd layer 2017-05-14 22:12:19 -04:00
syl20bnr 22e40f4f3d prodigy: move c key biniding to evilified macro and update doc 2017-05-14 13:48:36 -04:00
Francesc Elies Henar f242c8eb77 binds c to prodigy-view-clear-buffer 2017-05-14 13:46:13 -04:00
syl20bnr 7d215cb089 c-c++: move realgud config to c-c++ layer and delete debug layer
For now realug is used only to C and C++ so it makes more sense to add it to
the c-c++ layer for now.
Later if we can generalize the support of realgud for other languages and we
can start a debugger layer.
2017-05-14 13:20:10 -04:00
hodge d5c4bb8b9a Add debug layer
modify readme
2017-05-14 13:10:01 -04:00
syl20bnr 17ac76869c chrome: define markdown key bindings for gmail-message-mode 2017-05-07 22:02:03 -04:00
Christoph Paulik 280047b496 Add markdown keybindings to gmail message mode 2017-05-07 21:54:48 -04:00
syl20bnr 9ae59baa21 chrome: refactor layer 2017-05-07 21:44:08 -04:00
ralesi acd0276005 Defer gmail-message, requires a lot of files. 2017-05-07 21:39:27 -04:00
Steven Allen 604c24bf0e Replace define-advice with advice-add in the shell layer
`define-advice` requires Emacs 25.

 Addresses: https://github.com/syl20bnr/spacemacs/pull/8635#issuecomment-297887734
2017-05-04 00:30:22 -04:00
JAremko c1e4556882 Format and cleanup docs. Fix links. 2017-04-28 23:29:14 -04:00
syl20bnr b024acd4d7 ranger: simplify and fix deer configuration to override dired 2017-04-28 10:22:16 -04:00
syl20bnr 61b3fa5310 vagrant: fix prefix command 2017-04-28 10:21:43 -04:00
kalkin f974b4c9b2 deft: Extend mode keybindings
| ~SPC m c~   | Clear deft filter                |
| ~SPC m N~   | Create new file named            |
| ~SPC m o~   | Deft open file in other window   |
| ~SPC m r~   | Rename selected note             |
2017-04-20 23:23:13 -04:00
Kristoffer Haugsbakk 31a11abd54 Use RET instead of return for return key
It is an Emacs-wide convention to use `RET` when referring to the act of
pressing the return key.  Spacemacs seems to follow that convention as well.  So
fix some Org files that were deviating from this convention.

In particular, replace usages of `<return>` and `return` with `RET`.

Also update the description of an `M-RET` keybinding[1] based on the docstring
of `ido-select-text`.

[1]: Suggested-by: bmag <bmag@users.noreply.github.com>
2017-04-20 23:09:46 -04:00
Jody Frankowski 7c9dcbfba4 Fix ansible layer typos 2017-04-19 22:49:37 -04:00
syl20bnr 31bd788ed6 ansible: add support for multiple vault password files 2017-04-19 14:02:49 -04:00
syl20bnr bc76c39dcb ansible: remove temporary fix
It has been fixed upstream
2017-04-19 14:02:49 -04:00
nikolaiam 4c6968c297 Fix notation inconsistencies in .spacemacs.template
Replace all instances of <Something x y> with `Something x y', add to missing
2017-04-17 23:17:35 -04:00
deb0ch ddd065b90a fix ranger with golden-ratio activated 2017-04-17 23:01:50 -04:00
aijony 6acf33263f Fix and update eshell's clear features
Modify the default behavior for eshell's clear functionality.

 - Make eshell `clear RET` _similar_ to `C-l`
   - `clear RET` is eshell/clear
   - `C-l` is eshell-clear-stroke
 - Prevent `C-l` clearing cycle
 - Prevent `clear RET` inserting a page of white-space
 - Prevent duplicate insert lines from `clear RET`
 - Make eshell-clear-keystroke that is dependent on eshell/clear
 - Load both after eshell is initialized to prevent them from being overwritten

This fixes #5424, fixes #5419

Modify eshell clear statements load position

Change the clear statements load position from after loading eshell to
after enabling eshell.
This produces the same result, but is cleaner.
Note, they _cannot_ be defined before eshell loads, otherwise they are overwritten.

Refactor eshell-clear-keystroke to spacemacs/eshell-clear-keystroke

- Reduce steps needed to access clear command with define key
- Rename function to match naming conventions
  - The function shouldn't be accessed from the shell prompt
    - So not eshell/clear-keystroke
  - The function isn't from eshell.el
    - So not eshell-clear-keystroke
      - However, eshell/clear should be since it is overwriting a command
2017-04-12 23:27:07 -04:00
syl20bnr 6d2f66852c terraform: rename layer var. to terraform-auto-format-on-save, set it to nil
Set it to nil by default.
2017-04-12 00:04:38 -04:00
Harry Hull fb59a64089 Use terraform fmt by default in the terraform layer 2017-04-12 00:00:19 -04:00
syl20bnr bb57dc8cd9 Move symon to spacemacs-modeline layer 2017-04-11 23:36:13 -04:00