Commit graph

644 commits

Author SHA1 Message Date
Nick Anderson bd4e0815c5
Key cfengine3 support when org layer used instead of package 2018-11-02 08:49:25 +02:00
Nick Anderson e09414c2b5
Fixes #11527 - Error opening org file when cfengine and org layers enabled
This change fixes the cfengine support for org-babel-load-languages when the
cfengine layer sees the org layer is used
2018-11-02 08:46:08 +02:00
cipharius 7c3aa2a43c Fix broken leader key binding for inferior shell 2018-10-31 22:47:49 +00:00
Binbin Ye ff86c724b2
fix bm as bm-load-and-restore removed in upstream 2018-10-31 20:54:15 +02:00
kyoncho 20c621c5ce Reenable lsp mode lighter
- The lsp modeline is used to provide information about the server status so it
should not be be hidden.
2018-10-24 23:15:58 +03:00
emacspace 901f35849a documentation fixes: Tue Oct 23 14:18:21 UTC 2018 2018-10-23 23:38:16 +03:00
Juuso Valkeejärvi 50eda6a897
Fix autocompletion of file names in js2-mode when lsp is used
Do transformation only when completions are returned by lsp.
2018-10-18 19:42:59 +03:00
emacspace 0fb6470acf documentation fixes:Wed Oct 17 04:03:28 UTC 2018 2018-10-17 04:03:28 +00:00
Boris Buliga d81e75584e
bump year in the copyright headers
Folks, this time of year has come. We can bump year in the copyright headers.
Let's celebrate!
2018-10-16 20:27:05 +03:00
emacspace cca6bc15a8 documentation fixes:Sat Oct 13 23:09:18 UTC 2018 2018-10-13 23:09:18 +00:00
Boris Buliga 4929f62a70
add instructions for setting shell for multi-term
Fixes #5818
2018-10-13 19:23:14 +03:00
Daniel Rivas Perez b860fd760c Fixed shell popup broken on macOS
Shell popup was broken, removing the '.' fixed it.
2018-10-13 11:05:27 +01:00
cipharius 79fe37c8b2
Wrap 'shell' command to start in current buffer 2018-10-12 18:29:04 +03:00
JAremko cd39f80c24 Reformat documentation 2018-10-11 00:13:43 +03:00
Alexander Wingård 07a7776b6f Override read-only when capturing clear in shell
When shell layer intercepts the clear commands and tries to replace it with
erase-buffer, this fails with 'Text is read-only'.
Work around this by using inhibit-read-only.
2018-10-09 00:16:20 +03:00
Daniel Caixinha 1c166c279e
Add docker-compose keybinding to Docker layer
After merging [this PR](https://github.com/Silex/docker.el/pull/39), the
`docker.el` package now supports integration with `docker-compose`. This
commit adds a keybinding for `docker-compose`, which allows us to
interact with compose files for the current project.
2018-10-07 13:16:41 +03:00
mjkramer b8ca9f80d4 Add multi-term' to shell-default-shell' doc 2018-09-10 22:28:37 +01:00
Kalle Lindqvist 4d75af3e89 pass: add ivy-pass 2018-09-11 00:18:27 +03:00
syl20bnr 79d9b2ea4b ledger: simplify use-package configuration 2018-09-04 14:53:39 -04:00
Fangrui Song 06d95490dc +tools/lsp: remove lsp-ui-peek-expand-by-default
lsp-ui has switched to (defcustom lsp-ui-peek-fontify 'on-demand ...) https://github.com/emacs-lsp/lsp-ui/pull/148 . This is no longer needed.
2018-09-03 20:16:46 +01:00
cormacc 4ce0c259a0 lsp-layer core keybinding amendments
`m g a` typically used to switch between .c and .h files.
Rebound `goto-viewport-symbol` under `m g k`
Added missing bindings for lsp-ui-find-implementation under `m g l`

Incorporated some other feedback from @yyoncho and @sdwolfz
(See PR discussion for detail)
2018-08-28 22:48:48 +01:00
Cormac Cannon c122eb6a05 lsp-layer configuration and building blocks for derived layers.
See README.org for details

<<amendment 1>>
Updated some keybindings based on CONVENTIONS doc
Corrected file headers
Incorporated some immediate feedback from MaskRay

<<amendment 2>>
Corrected keybindings in README.org

<<amendment 3>>
Eliminated stray org-mode tag at table foot in README.org
Eliminated new 'l' prefix and moved bindings under 'g'

<<amendment 4>>
Updated defaults in config.el based on feedback from sebastiencs (lsp/lsp-ui dev)
- lsp-ui-sideline enabled by default
- lsp-ui-peek-expand-by-default disabled

<<amendment 5 09/04/18>>
Removed 'spacemacs/' prefix from lsp-format-buffer binding

<<amendment 6 09/04/18>>
Moved lsp-ui-peek bindings under j (jump)
Added goto bindings for new lsp-mode functions goto type definition and goto implementation

<<amendment 7 31/05/18>>
Corrected layer title in file headers
Rebased on dev tip (390462e)

<<amendment 8 03/07/18>>
Added keybindings for lsp-describe-thing-at-point,
lsp-workspace-restart, lsp-execute-code-action suggested by Yyoncho (LSP
Java)
Added avy keyboard navigation function provided by MaskRay
Reverted lsp-ui-peek to expand by default after an upstream change that
restricts expansion to current document, addressing the previous
performance issue.

<<amendment 9 04/07/18>>
Corrected keybinding for lsp-describe-thing-at-point

<<amendment 10 19/07/18>>
Rebound lsp-restart-workspace under mlq
Declared 'lsp' prefix (myrgy)
Added evil-set-command-property fix suggested by Yyoncho
Moved lsp-c-c++ layer from private branch to this PR after spending too
many hours of my life rebasing after circle CI picks up a formatting
error :)

<<amendment 11 25/07/18>>
Rebased
Bound cquery-freshen-index under lf
Bound cquery-preprocess-file under lp

<<amendment 12 01/08/18>>
Rebased
(c-c++ layer) moved semantic refactor refactor-at-point binding from mr
to mrp to prevent key binding error when semantic layer enabled

<<amendment 13 17/08/18>>
Added option to select ccls or cquery backend based on work by myrgy
Rebased on current upstream develop

<<amendment 14 20/08/18>>
Incorporated feedback from myrgy and maskray.
Corrected some duplication/inconsistencies.
Rebased.

<<amendment 15 21/08/18>>
Reduced duplication in backend config

<<amendment 16 22/08/18>>
Removed lsp-c-c++ layer example -- to be merged with c-c++ layer once
this PR is sorted

<<amendment 17 23/08/18>>
Added CHANGELOG.develop entry as per updated contribution guidelines.

<<amendment 18 24/08/18>>
Moved some keybindings as per feedback from sdwolfz
2018-08-23 23:02:52 +01:00
Seong Yong-ju 2c21d5098a Add prettier layer
Add prettier layer. Add prettier support for .css/.scss/.less/.js/.json file.
Add layer variables for html, javascript, json.
2018-08-22 00:15:28 +03:00
Ting Zhou cffd90080b only use javascript-typescript-langserver for javascript, react, typescript
layer, and purge other langservers
2018-08-03 01:37:36 +03:00
Miciah Masters bff8403446 shell: Adjust popup shell width only for left/right
Fix issue #11037: Do not adjust the width of a popup shell's window unless its
position is left or right.

* layers/+tools/shell/funcs.el: Check that shell-pop-window-position is 'left
or 'right before adjusting the window's width.
2018-07-24 00:05:53 +03:00
Alexander Miller a51d8cecd1 finance: use evil-ledger. 2018-07-23 09:22:13 +02:00
JAremko 6946e255e6 Reformat docs 2018-07-20 02:45:21 +03:00
Thanh 76cf97e6a8 resize-shell-to-desired-width check for shell buffer before changing size 2018-06-15 23:52:33 -04:00
syl20bnr f26f0db8ae Lazy load helm-ctest 2018-06-11 01:49:19 -04:00
syl20bnr 49b1659a18 Lazy load lsp-mode 2018-06-11 00:28:11 -04:00
syl20bnr 699c1da30f Lazy load lsp-ui 2018-06-10 23:25:45 -04:00
syl20bnr 76981cda26 New layer category +readers, move layers:
dash
deft
elfeed
epub
pdf
speed-reading
2018-06-06 00:36:10 -04:00
Miciah Masters e0b751bee3 Avoid non-idempotent use of push in init code
Replace push with add-to-list in layer init functions and related code.

Modify spacemacs|add-toggle to check for and update an existing toggle in
spacemacs-toggles and only create a new toggle if none already existed.

Replace a conditional push onto erc-packages with use of :toggle.

When initializing which-key, set which-key-replacement-alist to its default
or customized setting before adding all the Spacemacs replacements.  We
want to keep the stock replacements but avoid adding duplicates of the
Spacemacs replacements.

Replace the emacs-lisp-mode-hook lambda with a named function to avoid
adding duplicate hooks (which can add duplicate definitions of the
evil-surround pair).
2018-06-05 22:17:13 -04:00
Codruț Constantin Gușoi b68bd33a16 Fixes shell readme format 2018-05-28 00:50:16 +03:00
David Balatero 4ad2f719fa Add shell-default-width configuration option for left/right side 2018-05-27 23:58:03 +03:00
Codruț Constantin Gușoi 20d4443352 Declares the pandoc prefix 2018-05-27 23:29:07 +03:00
martian-f 71ce9ac3ed Fix run-pandoc resetting settings
When using spacemacs/run-pandoc to open the pandoc hydra, pandoc-mode
is called each time, which will overwrite any previous changes the user
might have done to pandoc--local-settings.

Fix this by calling pandoc-mode only when it is not yet enabled.
2018-05-27 23:19:06 +03:00
Evan Klitzke f98519c154 Add helm-pass to pass layer 2018-05-25 01:05:36 +03:00
Miciah Dashiel Butler Masters 78297be625 Fix various typos
* Fix various isolated typos

"apppend" -> "append"

"availabe" -> "available"

"Descripti using ternon" -> "Description"

"you have not them" -> "you don't have them"

"new on" -> "new one"

"plained" -> "curved"

"repel" -> "REPL"

"vairable" -> "variable"

* Fix a few errors in the CoffeeScript layer readme

Add a missing "the".

Correct a reference to the layer as "javascript" to "coffeescript".

Fix the syntax on the link to CoffeeLint.

* Fix typos: "dofile" -> "dotfile"

* Fix typos: "formated" and "formating"

"formated" -> "formatted"

"formating" -> "formatting"

* hy: Fix docstrings in funcs.el

Fix copy-and-pasted docstring text for
spacemacs/hy-shell-eval-current-form-and-go and
spacemacs/hy-shell-eval-region-and-go.

* Fix typos: "indendation" -> "indentation"

* Fix typos: "the the", "a a"

Fix duplicated (or misplaced) articles.

* Fix typos: "wether" -> "whether"

* Fix typos: "intialize" -> "initialize"
2018-05-23 22:12:30 -04:00
Jonas Jelten 6d7c22c65c cmake: fix cmake-ide mode hook function name 2018-05-23 23:12:56 +03:00
Miciah Dashiel Butler Masters c18317ad05 shell: Restore correct value for company-idle-delay (#10728)
* shell: Restore correct value for company-idle-delay

In spacemacs//toggle-shell-auto-completion-based-on-path, re-enable
automatic suggestions by restoring company-idle-delay to the value of
auto-completion-idle-delay rather than to a hardcoded value.

* Document how to disable automatic suggestions

Document how to disable automatic suggestions, and mention that the Tab key
will still perform completion even with automatic suggestions disabled.
2018-05-23 00:27:08 -04:00
syl20bnr 8267b501dd web-beautify: rename spacemacs-web-beautify--modes 2018-05-20 00:41:17 -04:00
JAremko 958d2e95a5 Format documentation. 2018-05-20 02:15:51 +03:00
syl20bnr b97ad90c92 web-beautify: fix definition of web-beautify key bindings
Needs to use `pre-init` function in order to have the variable
spacemacs-web-beautify--modes to be populated before the init function of
web-beautify is actually called.
2018-05-19 01:53:33 -04:00
Juuso Valkeejärvi 4deb56ca57 web-beutify: fix error when resyncing configuration 2018-05-19 01:48:52 -04:00
Juuso Valkeejärvi fa64eb3246 tern: fix issues when loading layer 2018-05-19 00:11:39 -04:00
syl20bnr 5f75e617a3 Fix documentation formating 2018-05-18 01:58:00 -04:00
syl20bnr 542ada133d New layer web-beautify extracted from javascript layer
Make html, javascript, json and react layers depend on it
2018-05-18 01:25:29 -04:00
Ting Zhou 8616f07b86 Add: use rjsx-mode for react framework
Fix: add yas-activate-extra-mode
Add: add lsp support for react layer
Add: Add rjsx-mode key-bindings doc
Clean: rename spacemacs//set-lsp-key-bindings to spacemacs//setup-lsp-jump-handler
Fix: remove buggy hooks
Clean: move fix-lsp-company-prefix to lsp layer
Fix: rjsx-mode company
Fix: rjsx-mode lsp backend
2018-05-18 01:25:29 -04:00
syl20bnr abf3df4ad7 New layer tern extracted from javascript layer 2018-05-18 01:25:29 -04:00
Codruț Constantin Gușoi a3debe1570 Fixes ansible key errors 2018-05-16 19:44:47 +01:00
Alexander Baier 5b70ac5009 Remove key-bindings pointing to removed commands
The ledger-mode maintainers removed ledger-set-month and ledger-set-year to fix
https://github.com/ledger/ledger-mode/issues/36. This was done in commit
782014ae.

The finance layer still had key-bindings pointing to these functions, that are
no longer defined, leading to errors when executing one of those bindings. This
simply removes the bindings to avoid confusion.
2018-05-15 00:45:24 +03:00
syl20bnr 0a32d339f5 debug: fix doc for eval variable and sort key bindings 2018-05-13 00:09:34 -04:00
syl20bnr 5cdc1ed056 Sort packages alphabetically and add spacemacs function prefix 2018-05-12 23:59:50 -04:00
CeleritasCelery 6e684739cb create debug layer 2018-05-12 23:46:18 -04:00
Alex Palaistras 70c1737c44 xclipboard: Fix keybindings for copy and page
This commit switches the keybindings for `xclipboard-copy` and `xclipboard-paste` to `SPC x y` and
`SPC x p` respectively, as it appears these were incorrectly assigned the other way around.
2018-05-11 10:25:52 -04:00
Nick Anderson 4cc57dea74 Fix automatic syntax checking for cfengine
The wrong mode for cfengine was specified for enabling flycheck. This properly
loads flycheck support when cfengine3 mode is active.
2018-05-11 00:42:52 -04:00
syl20bnr bb84c4a3a3 Fix xclipboard local package name 2018-05-11 00:29:05 -04:00
syl20bnr 1befcad00d Move xclipboard to a local package 2018-05-11 00:20:14 -04:00
Charles Weill e4cb2b37dc Add X clipboard support layer to terminal emacs.
The X clipboard allows a user to copy and paste content between different X
windows, e.g. copying text from Chrome into a Terminal. Copy/pasting with the X
clipboard it well supported in GUI Emacs, but not so well in terminal Emacs
(i.e `emacs -nw` or `emacsclient -t`) without resorting to using the mouse,
since terminal Emacs has no awareness of X. There are several incomplete Elisp
solutions out that work for the most part, but may not have cross-platform
support, or may fail over SSH with X forwarding or within a `tmux` session.

This layer adds support for OSX, Linux, Windows, and Cygwin using the relevant
binary on each system. For example on Linux, it uses `xsel` or `xclip` to
interface with the clipboard, depending which one is available. It also adds
support for ssh'ing into a different OS with X forwarding via `ssh -Y hostname`,
and copy/pasting to and from a remote terminal Emacs. It also supports an edge
case of continuing to work in an Emacs instance running inside a `tmux` session
which may have been started by a different ssh session, which relies on
explicitly reseting the `$DISPLAY` environment variable before calling the
relevant binary.

Yank code inspired by https://github.com/tmux-plugins/tmux-yank.

Fix #4662.

Tried to add xclip support but removed it since it freezes.
2018-05-11 00:00:01 -04:00
smile13241324 bf61b1500a Add keybinding to docker layer to build image without cache 2018-05-09 22:36:10 +03:00
syl20bnr 7596a156a4 Rename set-lsp-key-bindings and make it accept a list of modes 2018-05-08 00:17:56 -04:00
syl20bnr 4eaf160b90 lsp: fix typo 2018-05-07 23:34:31 -04:00
Ting Zhou 8df99c440b Clean: move spacemacs//set-lsp-key-bindings to lsp layer 2018-05-07 23:32:47 -04:00
syl20bnr ebe4c60264 Revert "Defer packages by default using use-package-always-defer"
This reverts commit 29c78ce841 and all other fixes
that have been made afterwards.

The motivation is that use-package is seen by many as a replacement for
`require`. Is use-package always defer the loading of packages then is breaks
this use case, this does not respect POLA so even if it was making Spacemacs
loading faster (up to 3s faster on some startup on my machine) we just cannot
use it, it would be irresponsible. Spacemacs should be easy to use, loading
performance will come with time but it is not a priority.
2018-03-03 23:40:10 -05:00
Aaron Jensen 13c7da3cd2 use-package-always-defer: fix regression in tmux 2018-03-03 14:39:36 +02:00
syl20bnr 4fe1600f45 cmake: fix lazy loading issues
Fixes #10402
2018-02-27 23:32:52 -05:00
syl20bnr 29c78ce841 Defer packages by default using use-package-always-defer
Warning now `:defer t` is implied, to force a package to load `:demand t` is
now necessary.
2018-02-27 23:32:52 -05:00
syl20bnr 83a6778eab Lazy load diff-hl and move lsp-ui-mode hook 2018-02-27 23:32:52 -05:00
syl20bnr 1f93c0576c terraform: add support for terraform-company 2018-02-24 20:24:23 -05:00
Paul 92428f3a47 shell: move eshell key bindings definition into a hook function
Problem
---

`C-j` and `C-k` key bindings don't work in eshell buffers except the first one.

Solution
---

`eshell-mode-map` is buffer-local, so key bindings have to be defined in a hook
function.
2018-02-24 19:49:39 -05:00
Francesc Elies Henar d2458eb974 [prodigy] renames jump function
This function was renamed in https://github.com/rejeep/prodigy.el/pull/110
2018-02-24 19:49:38 -05:00
syl20bnr 81a931f48b python: add support for Language Server Protocol 2018-02-19 00:08:27 -05:00
Yuan Fu 66afcce4d1 Add lsp-python layer
Fix readme.org

Update with some minor changes

I added quickrun package to execute python script with ease.
It is owned by lsp-python since no one is using this great package in other layers.

Fix readme
2018-02-18 22:57:59 -05:00
syl20bnr be6db59b4c lsp: create logical package flycheck-lsp 2018-02-18 22:56:41 -05:00
syl20bnr 1c49c7f361 lsp: hide lighter 2018-02-18 22:54:15 -05:00
syl20bnr ba66562967 lsp: add files header and rename lsp// functions
Prefer spacemacs// namespace for all spacemacs added functions.
2018-02-18 22:53:07 -05:00
syl20bnr db04cdb759 lsp: respect 80 chars per line in README.org 2018-02-18 22:49:13 -05:00
syl20bnr 2a5670e8df lsp: move helm-xref and ivy-xref ownership to helm and ivy layers 2018-02-18 22:48:12 -05:00
Fangrui Song d99cb009c2 Add +tools/lsp layer for lsp-mode & lsp-ui
This is a starting point to bring LSP ecosystem into spacemacs.

Theme by 0bl.blwl
2018-02-17 20:17:14 -08:00
Alexander Dalshov c4008169c6 fix: ycmd don't search for compilation DB in subfolders 2018-02-17 16:09:06 -05:00
syl20bnr a72a9aa26c cmake: sort package configuration 2018-02-17 16:09:06 -05:00
syl20bnr e1ec7de6da cmake: properly defer packages
function cmake-ide-setup just setup hooks. Hooks are just variables so they
can be setup without loading the whole package. For this reason we prefer to
not call cmake-ide-setup and setup the hooks ourselves.
2018-02-17 16:09:06 -05:00
Alexander Dalshov 76490d503f cmake layer: call cmake-ide-setup after rtags was loaded 2018-02-17 16:09:06 -05:00
Alexander Dalshov 98758c6ede CMake: move company-cmake initialization to cmake layer 2018-02-17 16:09:06 -05:00
smile13241324 82b6ee3498 Fix doc for spell-checking and ansible layer 2018-02-17 17:30:44 +02:00
smile13241324 c4ec87dfeb Fix doc for nginx, jr, nlinum and systemd layer 2018-02-06 10:24:16 +02:00
smile13241324 0e3a371390 Fix doc for graphviz, deft and finance layer 2018-02-04 06:21:44 +02:00
syl20bnr d1b7872ced ansible: fix error void function ansible:auto-decrypt-encrypt 2018-01-29 13:52:39 -05:00
smile13241324 3586495ed6 Fix doc for django, scala, sml, floobits, puppet and evernote layer 2018-01-28 23:00:32 -05:00
smile13241324 fdc7bd75b9 Fix broken package declaration for dockerfile-mode 2018-01-28 22:44:41 -05:00
smile13241324 5e13f3c373 Fix doc for tmux, c-c++, faust, node and docker layer 2018-01-27 16:58:38 +02:00
JAremko 6717fc02cc add features list to the ycmd layer readme 2018-01-27 16:58:06 +02:00
JAremko d2c3b847d8 doc fmt 2018-01-27 16:57:39 +02:00
Alexander Dalshov 7b4042463f CMake Layer: add ctest configuration description. 2018-01-24 16:49:06 +03:00
Alexander Dalshov 8bc08ade89 Decouple CMake support from C-C++ Layer 2018-01-22 22:48:09 -05:00
smile13241324 8943f856ed Fix doc for chinese, transmission, d, command-log and idris layer 2018-01-19 19:41:40 +01:00
Martin Račák aeb26596c2 Move vagrant-tramp-term key binding to correct prefix 2018-01-17 23:44:16 -05:00
Hij Krix 79df057654 Fix bindings in imenu-list 2018-01-17 23:35:12 -05:00
smile13241324 1fb4e0f23d Fix doc for common-lisp, bibtex, cfengine and gnus layer 2018-01-12 00:37:15 -05:00
syl20bnr 41e546f040 Move all use-package hook declaration to pre-init functions
Had to create dummy init functions at some places since the owner of a package
is the last layer that defines the init function of a package. And a package
can be installed only if it has an owner.
2018-01-10 23:57:18 -05:00
syl20bnr 3cb9fea0ff Reset useful and useless buffers to empty lists
I feel like we should start from scratch on this one and carefully choose the
defaults.

Also this settings is a very personal setting so if we make some buffers
useless we must have a consensus on it. Marking all special buffers starting
with `*` as useless is too aggressive and make Spacemacs less POLA since two
consecutive press on SPC TAB may not revert to the original buffer.
2018-01-10 10:59:15 -05:00
syl20bnr 454b58703b docker: update key bindings in README.org 2018-01-09 01:30:07 -05:00
Ag Ibragimov 956ef78ab2 Moves Docker keybingings onto SPC a D
For consistency with other tools
2018-01-09 01:29:34 -05:00
smile13241324 51cfa948b1 Fix doc for nim, fsharp, forth, dash and fasd layer 2018-01-08 01:45:09 -05:00
smile13241324 5e0befba5b Fix doc for terraform, perforce, elfeed and evil-snipe layer 2018-01-08 01:44:19 -05:00
syl20bnr 326965d4ce Happy New Year 2018! 2018-01-04 02:00:25 -05:00
smile13241324 b4d663dcb5 Fix doc for cscope, geolocation, wakatime, prodigy and smex layer 2017-12-27 20:20:32 +02:00
Nir Friedman f3dbeec5dc Add manual semantic completion function for company to ycmd layer 2017-12-19 00:14:01 -05:00
Nir Friedman 2ce1e367c0 Remove ycmd warning for unset var; always fires 2017-12-19 00:09:02 -05:00
Nir Friedman 589d341d67 Add manual completion function to ycmd layer 2017-12-19 00:02:50 -05:00
smile13241324 a9e57f6c83 Fix documentation for sphinx, confluence, helm and ivy layer 2017-12-16 14:20:41 +02:00
smile13241324 00925c8206 Fix documentation for selectric, imenu-list and vimscript layers 2017-12-14 11:51:20 +02:00
smile13241324 af501dc25a Fix documentation for speed-reading, restclient and pandoc layer 2017-12-03 17:55:12 +02:00
JAremko b0fb43dfe3
fix publish 2017-10-18 17:55:25 +03:00
Joe Hillenbrand 5e63f8ca51 shell: use toggle-truncate-lines-on in README
Fix docs for "Fish shell and ansi-term" and explicitly enable `truncate-lines`.

I was using the suggested hook as well as `(setq-default truncate-lines t)`,
so my fish shell was acting funny because `truncate-lines` was being disabled 
rather than enabled.
2017-10-15 12:01:39 -04:00
syl20bnr ddcb5dc117 cfengine: configure org-babel for cfengine source blocks
Apply idiomatic way of configuring org-babel for the cfengine engine.
Remove the documentation about how to configure it since Spacemacs does it
automatically.
2017-10-15 11:08:01 -04:00
Nick Anderson ba78fc9367 Add ob-cfengine3 to cfengine layer
This change adds the ob-cfengine3 package to the cfengine layer enabling
execution of cfengine3 SRC blocks inside of org-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
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
smile13241324 97537e46a7 Fix documentation for parinfer, pdf-tools, yaml, csv and salt layer 2017-10-05 11:15:02 +03:00
smile13241324 0c5f64347c Add "features" block to doc of plantuml, shell and search-engine layer 2017-09-11 22:35:31 +03:00
CeleritasCelery e32acfbf3b Fixed feature header 2017-08-29 20:00:44 +03:00
syl20bnr 82220fce3a Remove old wording "contribution layer" 2017-08-28 11:33:55 -04:00
Francesc Elies Henar 59633515cf Fix: kill buffer shall return to *docker-containers*
| ~SPC D c~          | open docker containers buffer  =*docker-containers*= |
| ~L~                | open log popup for a running container               |
| ~L~                | open the log                                         |
| ~SPC b d~          | kill the buffer                                      |
|--------------------+------------------------------------------------------|
| Observed behaviour | the =scratch= buffer is shown                        |
| Expected behaviour | return to =*docker-containers*= buffer               |
2017-08-27 22:09:43 -04:00
Kechao CAI 32e75c5654 bm layer: fix readme.org
bm layer: fix readme.org
2017-08-20 15:53:23 +03:00
JAremko 06301b2212 Improve exporting/testing 2017-08-18 20:50:21 +03:00
Benjamin Reynolds 849d8b9f60 require company in eshell-switch-company-frontend 2017-08-11 23:47:58 +03:00
d12frosted 8212b29ce9
[show user error when location is not set in theme changer 2017-07-31 14:57:02 +03:00
d12frosted 86f8cdff4d
update geolocation readme
- reorganise 'location' instructions
- add a note that location must be set for 'theme-changer'
2017-07-31 14:57:00 +03:00
d12frosted 532c11a0cc
fix geolocation layer on non-macos systems
Fixes #9221
2017-07-31 14:56:57 +03:00
d12frosted 8304c030cd
improve geolocation readme formatting 2017-07-29 21:41:15 +03:00
tinysong a7d9f72461 New Feature: add shortcut "q" for deft-mode to quit window 2017-07-23 15:24:35 +03:00
Abdo Roig-Maranges 67cdbcc552 ycmd: python3 compatibility fix for global_conf.py 2017-07-06 15:44:03 +02:00
Benjamin Reynolds 4c3f2e4291 Fix documentation for installing pass layer 2017-07-06 13:18:19 +02:00
Eivind Fonn f4b53d2a4f Rename :depends to :requires 2017-07-03 09:54:53 +02:00
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
JAremko 164fcc7e95 Add symon layer - the tiny sys. mon. 2017-04-11 21:52:26 -04:00
syl20bnr 24db3c6513 Add comments for eshell preoutput-filter fix 2017-04-09 22:56:39 -04:00
Steven Allen 538a778a39 Work around bug in eshell's preoutput-filter code.
Eshell doesn't call preoutput-filter functions in the context of the eshell
buffer. This breaks the xterm color filtering when the eshell buffer is updated
when it's not currently focused.

I intend on submitting this fix upstream when I get a chance but an advice fixes
it for now. The other fix is to move the xterm color filter to a
output-filter function (instead of preoutput-filter) but those operate on
strings that have already been inserted into the buffer.
2017-04-09 22:55:11 -04:00
Robert O'Connor e9ff9f09c6 Remove trailing whitespace from all files 2017-03-26 13:06:43 -04:00
bmag 7b707537a1 Vagrant: update key bindings in docs 2017-03-24 22:29:52 +03:00
deb0ch 667421c43a put vagrant bindings under a prefix 2017-03-24 14:28:52 +03:00
syl20bnr f45ce1a88e syntax-checking: rename function add-flycheck-hook to enable-flycheck
spacemacs/add-flycheck-hook was not really hooking anything, change the name
to better reflect what it does.
Also changed the push for a add-to-list to avoid duplicates.
2017-03-19 12:40:36 -04:00
duianto 443df5dbd5 Update bitbucket evil urls to github evil urls
The issues section in the bitbucket evil repository seems to
have been removed when the evil package was migrated to github.

It means that the bitbucket url to the file: evil-states.el,
is eventually going to become outdated and possibly removed.

And the bitbucket issue url now redirects to the bitbucket sign
up page.

Therefore both urls were updated to point to the equivalent
urls in the github evil repository.
2017-03-10 13:10:33 +02:00
syl20bnr 3072e72773 Replace use-package :diminish by spacemacs|hide-lighter 2017-02-13 08:38:37 -05:00
syl20bnr d3bd29997a sphinx: add missing key bindings to README 2017-02-03 11:53:28 -05:00
syl20bnr d1d58ef9f4 sphinx: add new conventional command under , c and add , g c
New functions in rst-sphinx:
- rst-sphinx-find-conf-py-path
- rst-sphinx-open-conf
- rst-sphinx-clean
- rst-sphinx-rebuild

Modified functions:
- rst-sphinx-compile takes now an optional argument to clean the project
- rst-sphinx-find-conf has been renamed to rst-sphinx-set-variables and now use
rst-sphinx-find-conf-py-path function

New key bindings:
- "cc" --> rst-sphinx-compile
- "cC" --> rst-sphinx-clean
- "cr" --> rst-sphinx-rebuild
- "gc" --> rst-sphinx-open-conf
- "o"  --> rst-sphinx-target-open)))
2017-02-03 11:40:19 -05:00
syl20bnr e059d9bbeb sphinx: add sphinx logo to README 2017-02-02 15:34:44 -05:00
syl20bnr a1e63424e2 reST: Extract sphinx specific config to a stand alone sphinx layer 2017-02-02 14:55:18 -05:00
d12frosted 3433e94913
fix typo in flymd configs 2017-02-01 19:37:23 +02:00
d12frosted 2319bdc350
add note about flymd in markdown layer 2017-02-01 16:00:43 +02:00
hodge 621c0e0741
add flymd to chrome layer(a realtime markdown preview) 2017-02-01 15:51:40 +02:00
cyberxndr 05d6cc7d9e Fixed ranger layer documentation
Updated entry for "show dotfiles at ranger startup" option.
Old variable had no effect (possibly deprecated)

Updated entry for "show previews literally" option.
Old variable had no effect (possibly mistype)
2017-01-31 18:01:30 +02:00
syl20bnr b296a93929 ymcd: simplify eldoc integration
ycmd-eldoc is not a package, it is a feature provided by ycmd package.
Use regular post-init mechanism to setup eldoc.
2017-01-05 23:13:45 -05:00
syl20bnr fb27ede558 Bump year in copyright headers
Happy New Year 2017!
2017-01-05 23:08:17 -05:00
d12frosted 0d6c378a51
improve ledger-reconcile-toggle key binding
Actually, revert @jgertm's change that I asked to make. As @bmag explained, this
is very useful key binding that is similar to C-c C-c as it allows to quickly
access functionality by pressing `dotspacemacs-major-mode-leader-key` twice.
Also note that `dotspacemacs-major-mode-leader-key` can be nil, that's why we
have to handle this value as well.
2017-01-05 07:57:46 +02:00
Tim Jaeger cc4aa59d08
Add keybindings for ledger account reconciliation 2017-01-04 21:55:32 +02:00
Nir Friedman 0dfafc7604
Add ycmd-eldoc to ycmd layer 2017-01-04 19:25:08 +02:00
syl20bnr 74fdbb6795 Refactor and simplify company backends declaration
Enabling a company backend for a specific mode was a tedious tasks with code
scattered at different locations, one for local variable definitions, one for
company hook function definitions and another where the backends were pushed to
the local variables (which was problematic, since we ended up pushing the same
backends over and over again with `SPC f e R`, pushes have been replaced by
add-to-list calls in the new macro).

All these steps are now put together at one place with the new macro
spacemacs|add-company-backends, check its docstring for more info on its
arguments.

This macro also allows to define arbitrary buffer local variables to tune
company for specific modes (similar to layer variables via a keyword :variables)

The code related to company backends management has been moved to the
auto-completion layer in the funcs.el file. A nice side effect of this move is
that it enforces correct encapsulation of company backends related code. We can
now easily detect if there is some configuration leakage when the
auto-completion layer is not used. But we loose macro expansion at file loading
time (not sue it is a big concern though).

The function spacemacs|enable-auto-complete was never used so it has been
deleted which led to the deletion of the now empty file core-auto-completion.el.

The example in LAYERS.org regarding auto-completion is now out of date and has
been deleted. An example to setup auto-completion is provided in the README.org
file of the auto-completion layer.
2017-01-02 00:39:04 -05:00
Francesc Elies Henar 67dda61031
adds evilified-state-evilify-map binding <gf> 2016-12-21 22:24:24 +02:00
Francesc Elies Henar b87e6edf34
adds revert buffer binding 2016-12-21 22:20:37 +02:00
syl20bnr 533b80fecf ansible: temporary hack to fix modified buffer on decryption 2016-12-16 09:17:05 -05:00
syl20bnr 590f229854 restclient: fix overriding of SPC j i
Scope `j i` key binding under major-mode specific leader key.
2016-12-16 08:57:45 -05:00
syl20bnr 7b9143832d ansible: add support for company-ansible and ansible-vault
New key bindings to encrypt decrypt ansible-vault encrypted files.
New layer variable ansible-auto-encrypt-descrypt to control seamless edition
of encrypted files.
2016-12-16 08:57:45 -05:00
bmag 471cabdfb8 Add missing parens in last commit 2016-11-25 20:12:48 +02:00
Justin Burkett 7bf00ad878 which-key: Update usage of replacement alists
See 19186917eb
2016-11-25 12:32:10 +02:00
Tim Jäger 588a4b24f2 Fix hyperlinks in restclient README
The links to the original author's page were broken, so I replaced them with
links to the GH page.
2016-11-20 18:54:23 -05:00
syl20bnr b9c607fea7 restclient: add ob-restclient package 2016-11-07 10:00:07 -05:00
syl20bnr 8cc96b0b23 restclient: remove gj and gk bindings
No need to override default Vim behavior for this key bindings since
they are available on SPC m n and SPC m p already.

Note: We could add a transient state to go nicely with SPC m n and SPC m p.
2016-11-07 09:40:04 -05:00
Tommi Komulainen 658643da0d restclient: add key bindings for jump to next / previous query
`gj`       jump to next query
`gk`       jump to previous query
`SPC m n`  jump to next query
`SPC m p`  jump to previous query
2016-11-07 09:38:50 -05:00
syl20bnr 2b139acb82 restclient: move restclient-helm to SPC j i
Since it nicely fits SPC j i purpose :-)
2016-11-07 09:34:49 -05:00
Tommi Komulainen ad1d05435c restclient: add helm support to jump to variable or request
Enable restclient-helm that is included in restclient package and add
`SPC m j` key binding.
2016-11-07 09:24:50 -05:00
Tommi Komulainen 538cae74e3 restclient: add autocompletion for methods and headers
Provided by company-restclient.
2016-11-07 09:22:48 -05:00
Melon Bread 22d24cbfb4 Added sqlite3 requirement 2016-10-23 19:44:35 +02:00
deb0ch dc14a5062a ycmd: improve search of nearest file in compilation database 2016-10-17 14:02:29 +02:00
Matthías Páll Gissurarson 146aa55af3 Moved rebox to be under tools, as per documentation 2016-10-17 13:35:39 +02:00
Jeremy Bi 5ca7d5e0d1 font-lock-unfontify-region-function should no longer be set/reset.
Due to upstream changes.
2016-10-14 11:19:38 +08:00
Jasper v. B ea862f18cf Add a note about filename expansions
This is mentioned in
[emacs-ycmd](https://github.com/abingham/emacs-ycmd#quickstart)
documentation as well, but it doesn't hurt to have it here as well.
2016-10-08 19:27:53 +02:00
deb0ch f4c9cd8871 ycmd layer: do not parse buffer on newline insertion
Dramatically improves ycmd performance on large projects.
2016-10-08 19:23:28 +02:00
Eivind Fonn 896180408a Fix shell buffer regexp 2016-10-04 13:41:06 +02:00
Eivind Fonn e744d25a42 Fix golden-ratio in tmux 2016-09-20 20:05:37 +02:00
Eivind Fonn 6bb4416585 Set pandoc-data-dir
Also move defun to funcs.el
2016-09-07 18:48:28 +02:00
Eivind Fonn a5fa48f1db Additional ycmd fixes 2016-08-30 15:59:17 +02:00
deb0ch 88742b564f ycmd layer: a better global_conf.py 2016-08-30 15:59:15 +02:00
syl20bnr 564cbc40ed core: better behavior for dotspacemacs-download-packages
See end of this message for important breaking changes.

Previous behavior was to configure any installed package which caused
a lot of bad side effects and could make spacemacs unusable. This
behavior made little sense and does not fit with spacemacs.

This commit fixes this behavior by separating installed packages from
configured packages. In short dostspacemacs-download-packages variable
now only affect package installation. Packages are now configured if and
only if they are effectively *used* (i.e. listed in variable
dotspacemacs-configuration-layers or dotspacemacs-additional-packages).

IMPORTANT CHANGE: functions `configuration-layer/declare-used-layer` and
`configuration-layer/declare-used-layers` have been removed. These
functions have been introduced in develop branch only so the impact
should be minimal.
2016-08-19 21:04:33 -03:00
d12frosted 319b31683f
minor improvements to prodigy readme file
- Close sentence with dot.
- Fill paragraphs.
2016-08-19 11:13:02 +03:00
Nizar Venturini dfbe7b94d2
Fix typo 2016-08-19 11:12:55 +03:00
Eivind Fonn b2d108877c Move shell layer defuns to funcs.el 2016-08-17 21:00:16 +02:00
Steven Allen c1b5dd301c move eshell company post-config to post-init
See #6711
2016-08-17 20:55:00 +02:00
Cass Petrus 2b9d39abd9 Link format fix terraform layer README
* Change .md formatted link to .org formatted link to address display
  issue on [terraform layer page](http://spacemacs.org/layers/+config-files/terraform/README.html)
2016-08-17 19:49:42 +02:00
André Peric Tavares 57aa9748aa Improve keybinding for beginning/end of line in pdf-tools
`image-bol` and `image-eol` are more appropriate than`scroll-left` and `scroll-right`.
2016-08-17 19:48:51 +02:00
syl20bnr 1c4f685b13 core: refactor layer system
TL;DR Should get 20~25% speed improvement on startup, should get a big
improvement when using ivy or helm SPC h SPC. Users with layers.el files
in their layers must use `configuration-layer/declare-used-layer`
instead of `configuration-layer/declare-layer`

The implementation of the layer system made heavy use of `object-assoc`
and `object-assoc-list` functions which are not efficient. This PR
mainly replaces those object lists with hash maps in order to index the
objects by their name and achieve an O(1) access time.

The old object lists `configuration-layer--layers` and
`configuration-layer--packages` have been each by two variables each:
- `configuration-layer--indexed-layers` which is a hash-map of all the
layer objects and `configuration-layer--used-layers` which is a list of
all _used_ layers symbols,
- symmetrically `configuration-layer--indexed-packages` which is a
hash-map of all the package objects and
`configuration-layer--used-packages` which is a list of all _used_
packages symbols.

The hash map `configuration-layer--layer-paths` is gone, now we create
directly layer objects when discovering the layers and set the :dir
property. Note that previously the layer paths were the parent directory
of the layer, now :dir is the layer path.

The function `configuration-layer//make-layer` is now similar to its
counterpart `configuration-layer//make-package` in the sense that it
takes an optional `obj` to be able to override its properties.

The functions `configuration-layer/declare-layer` and
`configuration-layer/declare-layers` now takes an optional parameter
`usedp` in order to declare used or not used layers. For convenience
new functions have been added: `configuration-layer/declare-used-layer`
and `configuration-layer/declare-used-layers`, users _must_ update all
occurrences of `configuration-layer/declare-layer` by
`configuration-layer/declare-used-layers` in their `layers.el` files.

`helm-spacemacs-help` and `ivy-spacemacs-help` are updated to match the
changes in `core-configuration-layer.el`.

Rename some variables to make them more explicit:
`configuration-layer-no-layer` -> `configuration-layer-exclude-all-layers`
`configuration-layer-distribution` -> `configuration-layer-force-distribution`
2016-07-28 23:26:54 -04:00
Eivind Fonn 5029734846 tmux: bind named functions instead of lambdas 2016-07-26 14:33:45 +09:00
Andre0991 93940af74c Add shortcuts for full left and right scroll 2016-07-25 12:22:20 +09:00
John Johnstone ff69db7b56
Fix spelling in saltstack layer 2016-07-22 12:51:24 +03:00
Eivind Fonn 66a628a599 shell: auto-jump to end also in hybrid 2016-07-05 00:23:16 -04:00
Eivind Fonn 82bb81e794 docker: fix evilification 2016-07-05 00:23:16 -04:00
ralesi d22616a590 add counsel-dash 2016-07-05 00:23:16 -04:00
d12frosted 841fc514b8
remove TODOs from dash layer readme file 2016-06-24 20:36:47 +03:00
syl20bnr 829f00a824 Add more info for fish shell and ansi-term 2016-06-22 23:28:41 -04:00
syl20bnr 2738724ed4 erc, html and pdf-tools: use :evil-leader-for-mode in transient states 2016-06-17 23:40:06 -04:00
Dionysis Athinaios 5ec5882974 Provide more details for ycmd installation and configuration 2016-06-12 21:49:07 -04:00
syl20bnr cb6754f231 Remove packages without any init functions 2016-06-10 20:53:24 -04:00
syl20bnr 81fbb9a292 Format README files with spacefmt 2016-06-10 00:09:42 -04:00
syl20bnr 2dd53426a6 Replace +config-files category by +tools category 2016-06-09 23:56:09 -04:00
syl20bnr bc9691d0c0 Rename dockerfile layer to docker 2016-06-09 23:53:33 -04:00
syl20bnr 79c8dc1084 dockerfile: various changes
README
- rewrite paragraph on docker-tramp
- sort key bindings
- adapt the file to last good practices

packages.el
- sort packages
- sort key bindings
- remove :commands
- move evilification to config
2016-06-09 23:49:34 -04:00
Christoph Paulik e69c1ec5dd Add docker-tramp and docker.el
- docker TRAMP provides TRAMP access to running docker containers
- docker.el provides basic management of docker images and containers
2016-06-09 23:29:20 -04:00
syl20bnr 89d5aad0a5 Various tweaks to golden-ratio configuration
- Prefer add-to-list function to alter golden-ratio variables so the lists
are less likely to grows as users reload their spacemacs config.
- Move some config to layers when appropriate
- Sort alphabetically the values
- Remove some duplicates in exclude-modes
2016-06-08 10:17:08 -04:00
Nikola Henezi d44a73fe71 Fixing dash layer variable names.
As reported in #5694 dash layer cannot be configured according to the
documentation. This commit fixes that, and allows you to actually define docset
path with `helm-dash-docset-newpath`. It also defines more sensible default for
docset `~/.docsets`, which is the default path for helm-dash.

Fixes #5694
2016-06-05 21:24:28 -04:00
Jean-Francois Chevrette e104f49889 Fix typo in layers/+tools/shell/README.org
fix typo
2016-05-31 23:01:51 -04:00
syl20bnr fb97b87cc6 Call spacemacs/set-leader-keys-for-major-mode only once 2016-05-30 21:04:04 -04:00
Eivind Fonn e63478049a shell: fix projectile-multi-term-in-root 2016-05-30 21:02:59 -04:00
syl20bnr a2de9a63af Use :toggle keyword instead of when forms 2016-05-29 22:39:21 -04:00
Eivind Fonn 2c3243a178 shell: fix layer variable documentation 2016-05-29 19:10:13 +02:00
sooheon 15e6290151 Make check for company-mode explicit, not implicit
People may have company-mode installed without necessarily using the
auto-completion layer.
2016-05-27 00:32:05 -04:00
sooheon 0a85d04892 Check for flycheck, not syntax-checking layer
This allows loading even when someone uses flycheck in their personal
layer.
2016-05-27 00:32:05 -04:00
syl20bnr e4b7536510 Remove smooth scrolling from packages list 2016-05-22 10:00:57 -04:00
Allen Li a9c95142b9 Remove smooth scroll margin
User changing the scroll margin should handle these cases themselves.
2016-05-22 09:58:40 -04:00
syl20bnr 3aa77e45d2 deft: move setq to :init 2016-05-17 00:19:38 -04:00
Andrew Schwartzmeyer 9cd73d61f7 deft: Fix create new file with filter text
The binding of `SPC m n` calls `deft-new-file`, which only uses the
filter text `(when deft-use-filter-string-for-filename)`, which is set
to nil originally. So we need to make it true.
2016-05-17 00:18:22 -04:00
syl20bnr 1f993bddf6 Rename spacemacs-helm and spacemacs-ivy layers to helm and ivy
For ivy users: be sure to update your dotfile by replacing spacemacs-ivy
by ivy
2016-05-15 22:24:27 -04:00
Steven Allen 9f48b951db Fix file extension matching for filenames with newlines
- "\\.ext$" matches both "abc.ext" and "abc.ext\nsomething".
- "\\.ext\\'" matches only "abc.ext".
2016-04-29 22:16:49 -04:00
syl20bnr 5f8e24405a shell: document layer variable shell-default-term-shell 2016-04-29 18:20:59 -04:00
dubnde 80cccdce7c Add shell-default-full-span for shell window 2016-04-29 18:14:57 -04:00
syl20bnr e18b1cbe0e Move vi-tilde-fringe hook to shell layer
Also replace lambdas by named functions
2016-04-29 17:48:00 -04:00
Stefan VanBuren 048da9d320 Fix typo in README.org 2016-04-21 21:08:11 -04:00
syl20bnr bbe2f06d64 ranger: fix error about void variable
Due to syl20bnr rebase of commit 9836979
2016-04-17 00:37:47 -04:00
ralesi 05e99aa0a1 Add commands for ranger to make accessible when defered.
syl20bnr: move the code to dired post-init
2016-04-17 00:37:47 -04:00
syl20bnr 07852abad5 Format documenation files with doc-fmt tool 2016-04-12 23:31:38 -04:00
Nate Wolfe 634f1a4fbe Revert "(5719) Fix multi-term shell popup"
This reverts commit 8526ee7145.
2016-04-11 20:32:45 +02:00
Fabien Dubosson 44470aa64f Fix shells asking for "Run program"
After 63dc8f7ea0 `SPC '` started to ask
for "Run program" instead of opening the shell with the defined shell.

This commit remove the `call-interactively` that are causing this
problem. `SPC u SPC '` is still working as far as I tested.
2016-04-08 23:04:42 -04:00
syl20bnr 5752c87ac0 imenu-list: exclude IList buffer from golden-ratio 2016-04-08 18:20:50 -04:00
syl20bnr 3f0a261206 imenu-list: update README.org 2016-04-08 18:14:39 -04:00
bmag 6f2e2df275 Add imenu-list layer
imenu-list provides a side bar that shows all imenu entries of the
current buffer
2016-04-08 18:09:52 -04:00
sdlovecraft ec0d233499 Added documentation for managing files 2016-04-07 23:19:39 -04:00
Nate Wolfe 8526ee7145 (5719) Fix multi-term shell popup
This commit removes the unused argument from the wrapper lambda, which
appears to be no longer provided when the function is called.
2016-04-07 22:15:36 -04:00
Fabien Dubosson 2b4a039646 Align vinegar/packages.el and update ranger/packages.el code style 2016-04-08 00:33:43 +02:00
syl20bnr 63dc8f7ea0 shell: add support for SPC u SPC ' to open shell in current buffer
Works as well for all `SPC a s ...` key bindings.
2016-04-07 14:52:41 -04:00
Eivind Fonn 64392e3fa5
Fix eshell setup for xterm-color
This makes sure that all the setup happens at the same time. Previously
some setup happened at loading time of esh-mode while some happened in
eshell-mode-hook. Everything output between this (the first prompt)
looks different.
2016-04-06 18:14:57 -04:00
Fabien Dubosson 0ec385c60c Fix misplaced keybinding definition for ranger 2016-04-05 13:39:17 +02:00
Fabien Dubosson 481c196cd5 Fix deer binding being overlapped by dired 2016-04-05 13:04:51 +02:00
Fabien Dubosson 57e91fe035 Correct more <SPC> to SPC 2016-04-05 12:52:54 +02:00
Joel McCracken bc3c77e63e Do not delete window when there is only one
If ansi-term is a full-screen window, running `(delete-window)` in this
case would cause an error to appear. This commit guards against this
scenario.
2016-04-04 22:41:53 -04:00
Aaron Jensen 492974b969 tmux: remove global unset of C-h
This is unnecessary and prevents hybrid mode from having its normal help bindings.
2016-04-04 21:50:40 -04:00
Aaron Jensen bb50218622 tmux: replace deprecated post-extensions with packages 2016-04-04 21:50:08 -04:00
syl20bnr 2bfcb8cd30 restclient: fix auto-mode-alist of ob-http configuration 2016-04-04 10:57:25 -04:00
syl20bnr 931652bf8d shell: register shell language for org-babel 2016-04-04 09:49:13 -04:00
syl20bnr 9e6c2e4775 restclient: lazy load ob-http 2016-04-03 00:35:15 -04:00
syl20bnr 3b0c1fd93d Convert org doc files with doc-fmt 2016-03-30 22:59:55 -04:00
Paul Schorfheide ac71e1064c Update documentation for shell layer to support left or right position 2016-03-30 18:46:57 -04:00
syl20bnr 9d0558992c layers directory: create new categories
+chat
+checkers
+emacs
+intl
+os
+pair-programming
+tags
+theme
+web-services
2016-03-23 21:39:43 -04:00
Robert O'Connor 7625bcdae3 Fix minor markup hiccup in pdf-tools README 2016-03-04 12:18:56 -05:00
syl20bnr 39a3c1983c pdf-tools: README tweak and replacement of transient state key
- Replace `M-SPC` and `S-M-SPC` by the more conventional `SPC m .`
- Reorganize the code in packages.el
- Add image in README and list bindings with explicit `SPC m` prefix
2016-03-04 00:51:34 -05:00
Andre0991 919865a3b7 Add pdf-tools layer 2016-03-03 23:22:15 -05:00
NJBS 35d9e387de Fix ranger layer typos
Fix some trailing whitespace and key binding typos
2016-02-27 14:58:49 +01:00
james sangho nah d45467b17e Remove extra close paren in README 2016-02-23 20:54:49 +01:00
Taylor 56a583f3ec Fix wakatime-dashboard url 2016-02-16 23:31:48 -05:00
justbur 3278a95edd tmux: Fix #4535 2016-02-14 23:16:23 -05:00
Diego Alvarez 7ed85b5169 fix command-log layer css path 2016-02-07 14:25:11 +01:00
syl20bnr 5a061b3813 core: new layer files packages-config.el and packages-funcs.el
Start to isolate the list of packages. Also we want to define packages
function at the top level of an elisp file in order to not prevent
emacs from knowing where the functions are defined.

This commit has a POC made with elfeed and elixir layers.
2016-01-31 00:03:04 -05:00
Eivind Fonn 2967df9877 Document vagrant-reload 2016-01-21 16:15:10 +01:00
Kosta Harlan a6c521f7e9 Add keybinding for vagrant-reload
I use this fairly often, I imagine others do as well.
2016-01-21 16:13:18 +01:00
syl20bnr 33ead6fc42 Deprecation of extensions and <pkg>-excluded-packages variables
As announced in previous releases, see CHANGELOG.next for more info
in the Breaking Changes section.
2016-01-17 22:06:04 -05:00
syl20bnr 046d86800c Clean copyrights and update for year 2016 2016-01-11 21:42:17 -05:00
Fabien Dubosson 36f09b1b77 [doc] Change org wrong quoting -> =…= 2016-01-09 21:56:18 +01:00
justbur b0ee301845 layers: Conditionally load helm packages
Only use them when the spacemacs-helm layer is used.
2016-01-09 13:36:03 -05:00
syl20bnr cddf18ff1e Update install layer section in REAMDE.org files 2016-01-06 00:21:55 -05:00
Fabien Dubosson 6cb7399cac Change SPC f e h to SPC h SPC for helm-spacemacs default binding
This make `SPC h SPC` as default binding for accessing `helm-spacemacs`,
by either A) changing all the documentation; and B) adding a deprecation
message for `SPC f e h`.

The deprecation use a warning, because if a message is used it's hidden
directly when the helm buffer is shown, making it nearly unnoticeable
for the user.
2016-01-03 22:23:12 -05:00
Boris 14699cb8de don't force elfeed-org 2016-01-03 22:23:11 -05:00
syl20bnr f9bd708311 elfeed: move J binding to gu and update documentation 2015-12-21 01:19:19 -05:00
Gergely Nagy d9068c2154 elfeed: Add an unjam keybinding
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2015-12-21 01:14:49 -05:00
Fabien Dubosson af76cd85e4 Add C-[jk] to navigate entries in elfeed-show 2015-12-19 22:37:10 -05:00
Bar Magal ddb806827f Add command-log layer: logs key strokes, commands
Uses command-log-mode package, useful for createing demos.
2015-12-13 01:37:46 -05:00
Gergely Nagy 2b89037a7c +tools/elfeed: elfeed-goodies is on MELPA now
No need for a :location anymore, elfeed-goodies is on MELPA now.

Signed-off-by: Gergely Nagy <algernon@cloudera.com>
2015-12-07 19:34:29 +01:00
syl20bnr e9f8653a34 Update layer REAMDE title for swift and elfeed 2015-12-03 23:51:31 -05:00
Eivind Fonn c893383fe4 Fix some documentation bugs
- CSS links
- GIFS in published version
- Unify layer doc titles
- Change emoji layer emojis to an image
2015-12-03 23:50:29 -05:00
syl20bnr 2cfd284332 elfeed: add elfeed-goodies 2015-12-03 23:03:24 -05:00
syl20bnr 2c9e68ae6d elfeed: various fixes
Rename variable `elfeed-web-enabled-on-emacs-startup` to
`elfeed-enable-web-interface`
Change screenshot for a logo
Fix loading of elfeed when elfeed-enable-web-interface is non nil
Replace deprecated functions calls like `evil-leader/set-key` or
`spacemacs|evilify-map`.
2015-12-03 22:56:00 -05:00
d12frosted df2de47c56 add elfeed layer 2015-12-03 21:25:50 -05:00
dotneter 658b8dfbf0 dash: Enable zeal on Microsoft Windows 2015-12-01 01:26:39 -05:00
justbur 9befd20a1a layers: Transition to new key bindings functions
Removes dependence on evil-leader centralizing control over the method
of key binding in core-keybindings.el
2015-11-21 18:22:51 +01:00
Eivind Fonn c3866382b2 Documentation update
- Add #+HTML_HEAD_EXTRA options to all org files
- HTMLize published documentation via CSS
2015-11-13 14:23:13 +01:00
Joe Hillenbrand 1714e4bab7 fix obsolete method in vagrant layer
Fixes warning:

    Compiling no file at Tue Nov  3 13:42:42 2015
    ../../init.el:Warning: `vagrant-tramp-enable' is an obsolete function; use
        `vagrant-tramp-add-method' instead.
2015-11-04 20:21:26 +01:00
Eivind Fonn 13c5b1d24b Convert documentation to publishable format 2015-11-01 23:40:29 -05:00
Eivind Fonn 16e7ad2923 Clean up PATH documentation 2015-10-29 13:48:46 +01:00
d12frosted a89a05ca9a add note about setting up $PATH 2015-10-29 13:48:46 +01:00
Diego Berrocal 54a2dd7643 Modify Wakatime Layer 2015-10-14 00:26:46 -04:00
person808 c1b6293268 Replace eval-after-load with with-eval-after-load.
We now backport the macro for 24.3 so we can use it everywhere.
2015-10-07 15:51:39 -04:00
Christoph Paulik 0dce7a648d Remove global ranger deer binding, document SPC a d 2015-10-06 21:24:26 +02:00
Diego Berrocal e2e1fe515e Add config phase to Wakatime
This Adds the `spacemacs/wakatime-dashboard` function which opens the
dashboard in the browser.
2015-09-24 13:54:45 -04:00
justbur 6eab954afe Use + instead of ! for layer categories
Helm seems to treat "!" specially in pattern matching, so having a ! in
the pattern string when traversing directories is problematic. This
change fixes #2737, because as far as I can tell "+" has no special
meaning in a helm pattern.

Of course, we can choose a different character, but I'm fond of "+" as
representing "more layers here".
2015-09-11 00:13:51 -04:00