Commit graph

644 commits

Author SHA1 Message Date
Thanh Vuong 653a38bce5 fix #12455 lsp layer
add an internal variable for `lsp` layer `lsp-layer--active-mode-list`
to keep track of active major modes using lsp,
`spacemacs//lsp-declare-prefixes-for-mode` will check this variable
to decide whether to add prefix to which-key or not
2019-07-11 16:38:48 +02:00
Ayush Goyal 5df46b200e Fix ansible layer for upstream changes in ansible minor mode
Ansible minor mode was recently updated to follow emacs-lisp style naming
convention. This commit makes corresponding function name changes in spacemacs
to fix ansible layer.

Reference:
* https://github.com/k1LoW/emacs-ansible/issues/28
* https://github.com/k1LoW/emacs-ansible/pull/31
2019-07-09 01:48:12 +02:00
ramz ee134745bd In docker layer adding shortcuts of machines, volumes and networks 2019-07-07 15:55:15 +02:00
JAremko b5af9b0b5d update .org tags 2019-07-03 11:32:58 +03:00
Ivan Yonchovski f892ba3091 Remove the fix-lsp-company-prefix since it is no longer needed
- company-lsp is now smarter and supports fuzzy matching
2019-07-01 13:28:42 +02:00
syl20bnr 6229dcd543 Change SPC b i to SPC b t in imenu layer
This is to free up `SPC b i` to be able to use it for indirect buffers
2019-06-25 23:58:14 -04:00
Sheng Yang 0a202138b9 Allow mouse pasting in term based shells 2019-06-21 19:22:25 +02:00
emacspace 19c429e7c0 documentation formatting: Thu Jun 13 13:33:14 UTC 2019 2019-06-13 15:49:54 +02:00
Jordan Kaye 828a1919df Add dotnet cli layer 2019-06-12 20:36:14 +02:00
Victor Polevoy 51b04beb26 Add sailfish-developer layer
Provide bindings to the sailfish-scratchbox emacs package via hotkeys.
2019-06-12 15:45:24 +02:00
duianto 3868a5364f [doc] Fix typos and add missing/remove extra ~
Add missing ~ (tilde) around key bindings.
Remove an extra ~.
2019-06-01 20:40:22 +02:00
Taegil Bae 95940a64ee Add a layer variable to close window with terminal
Currently, when a terminal is ended, its window is also closed. This behavior is
not satisfying to all. Thus a layer variable is added to give an option whether
to close window with terminal.
2019-05-27 22:31:09 +02:00
emacspace c7c348a676 documentation formatting: Sun May 26 20:58:52 UTC 2019 2019-05-27 01:23:35 +03:00
Ivan Yonchovski 44a320efd6 [dap] Evilfy dap-mode windows 2019-05-20 20:05:19 +02:00
Anton-Latukha f6660f82d4
Switch to the new layers generator 2019-05-15 21:08:21 +03:00
bb2020 e22cfadf1f [shell] Add Eshell Ivy completion bindings
M-l calls spacemacs/ivy-eshell-history
TAB calls spacemacs/pcomplete-std-complete
2019-05-12 18:47:27 +02:00
bb2020 9044aedf01 Enable helm-esh-pcomplete for eshell completion 2019-05-10 12:12:12 +02:00
bb2020 697d3b88ac [shell] Move eshell-z-freq-dir-hash-table-file-name into cache dir 2019-05-08 19:49:24 +02:00
JAremko 5d02b1c4bb Add more tags 2019-05-03 03:44:19 +03:00
JAremko fbff2ca7bc Doc fixes + some tags for testing
Add new LAYERS.org generator [WIP]
2019-04-28 07:03:09 +03:00
emacspace 27aa748412 documentation formatting: Tue Apr 23 22:20:06 UTC 2019 2019-04-24 13:57:40 +03:00
Chris Glass 6b03fefe17 [xclipboard] Update README.org
A simple edit adding documentation about the various platform-specific programs
this layers interacts with.
2019-04-24 00:10:56 +02:00
emacspace 202da65b1c documentation formatting: Sun Apr 21 20:04:25 UTC 2019 2019-04-22 23:16:20 +02:00
JAremko 23842fa77e Simplify descriptions of layers 2019-04-21 22:09:34 +03:00
emacspace 912f69ef9d documentation formatting: Thu Apr 18 19:16:31 UTC 2019 2019-04-18 21:39:10 +02:00
Thanh Vuong 9bb9038920 Move "import-js" to own layer for js based layers
Refactor import-js to its own layer import-js so it can be optional
used for the tree layers Javascript, React and Typescript layers.
2019-04-18 21:08:43 +02:00
Ivan Yonchovski 391866849b Updated keybindings for dap-mode
- dap-debug-edit-template is very important for some of the debug adapters so it
  is important to have a keybinding for it to improve the discoverability
2019-04-16 23:33:58 +02:00
Ivan Yonchovski 5e256d2506 [lsp] Sync lsp layer with latest lsp mode functionality
- provide keybindings for the new lsp-mode functionality
 - use lsp-treemacs and helm-lsp for errors and workspace symbols
2019-04-15 22:01:57 +02:00
Emil Petersen c68fde7beb Apply conventions to multi-term keybinds 2019-04-14 23:05:01 +02:00
duianto 1eac4dfc3f [lsp] Fix lsp-prefer-flymake readme/docstring 2019-04-07 00:14:17 +02:00
Juuso Valkeejärvi c175e96d85 [lsp] Add lsp-prefer-flymake variable 2019-04-05 19:50:26 +02:00
Bryan Tan ab5fb0e58e Replace lsp-capabilities keybinding with lsp-describe-session
Also, move the binding from `SPC m b c` to `SPC m b d`. lsp-capabilities was
replaced with lsp-describe-session in lsp-mode.
2019-04-05 14:07:39 +02:00
Lareb Syed b90bd6a856 [Finance] Prevent auto-complete from adding a space 2019-04-04 11:53:01 +02:00
duianto 3de7081950 Cleanup which-key names
Moved:
- ("ai" "irc") to both the `erc` and `rcirc` layers. They don't have to be
  renamed until the layers are loaded.

- ("ay" "ipython notebook") to the `ipython-notebook` layer.

- ("p$" "projects/shell")
  ("'"  "open shell")
  ("as" "shells")
  to the `shell` layer.

- The commands with keybindings from spacemacs-bootstrap/packages.el to
  spacemacs-defaults/keybindings.el.

Removed:
- ("gd" "diff") it seems to be an old group name, there's no `SPC g d` group at
  the moment.

- ("Re" "elisp") and ("Rp" "pcre") because they have moved to:
  ("xr" "regular expressions")
  ("xre" "elisp")
  ("xrp" "pcre")

- ("xm" "move") seems to be an old move text group, the current keybindings are
  `SPC x J` and `SPC x K` which opens the Move Text Transient State.

- ("b" "persp-buffers") because `SPC b` is also renamed as ("b" "buffers") which
  is more general and not persp-mode specific.
2019-02-18 14:35:00 -05:00
Marco Zucconelli 1e84ee25be Fixing incorrect shortcuts in README 2019-02-16 10:22:35 -05:00
Daniel Cole 170bb98cb5 Fix lsp find-* functions using peek-navigation
With this fix lsp find-* functions correctly use xref (simple-navigation).

Fixes issue #11931.
2019-02-05 23:39:10 +02:00
Thanh Vuong f63009ae20 Fix keybindings overwritten by LSP
change prettier/web-beautify to `scp m = =` to avoid being
overridden by lsp
2019-01-21 22:59:56 +02:00
syl20bnr 7cc06ce63e Update change logs
Thank you everybody for participating in #11741 in order to make this
possible!
2019-01-13 16:32:47 +02:00
emacspace 8b3a30f240 documentation formatting: Sat Dec 22 11:04:49 UTC 2018 2018-12-22 11:12:10 +00:00
cormacc c375bc428f Flattened some cquery/ccls configuration
c-c++-lsp-initialization-options:
-> ccls-initialization-options
-> cquery-extra-init-params (cacheFormat set to "msgpack" by default)

c-c++-lsp-args:
-> ccls-args
-> cquery-extra-args

c-c++-lsp-cache-dir:
-> ccls: Appended to initialization-options
-> cquery-cache-dir

<<Amendment 1 21/12/18>>
Removing 'clangd' from list of lsp clients to squash per-file prompt for
language client.
Updated lsp/packages.el to reflect upstream lsp-mode function name changes.
Python layer -- added if guards to prevent anaconda package loading / keyboard
shortcut config when lsp backend selected.
2018-12-22 12:51:17 +02:00
Ivan Yonchovski f346ae0683 Fix java/python/javascript/rust lsp backends 2018-12-22 12:51:05 +02:00
cormacc aacf2a4cc1 Created core lsp minor mode keybindings
Replaced opt-in use of `spacemacs/lsp-bind-keys-for-mode` function with
keybindings for the lsp minor  mode, which should be enabled for all derived
layers.

<<Amendment 1 26/11/2018>>
Added call to (spacemacs//setup-lsp-jump-handler) to lsp-after-open-hook

<<Amendment 2 04/12/2018>>
Migrated to new lsp-mode package API.
Updated c-c++ layer accordingly.

<<Amendment 3 05/12/2018>>
Incorporated PR feedback / corrections from gessen

<<Amendment 4 05/12/2018>>
Incorporated further feedback / corrections from gessen
2018-12-22 12:50:21 +02:00
emacspace 45276bd96f documentation formatting: Wed Dec 5 03:03:03 UTC 2018 2018-12-04 22:06:14 -05:00
Ivan Yonchovski fc2d220b5e dap-layer implementation
- I had some issues related to finding the corresponding shortcuts for each of
the commands and I am looking for suggestions for improvements.

- updated the lsp-java readme since the server installation is now automatic. If
you already have jdt server installation, please run lsp-java-update-server
which will download the related dap-mode related stuff.

- Make sure that you have latest melpa versions of lsp-java, lsp-ui and dap-mode
since several issues related to the java integration were fixed lately.

- dap-mode is pretty young package and it is not extensively tested

- dap-hydra which will be used as a transient state for the breakpoints and
debugging, in general, is not synched with the shortcuts in the layer. I will sync
them once there is agreement on the shortcuts configuration. Also, I have not
updated lsp-java README.org with the corresponding shortcuts for the same
reason.

- The debug integration with the python lsp layer will be implemented in
separate PR.

- There will be few more functions that are going to be added to the dap-mode at
some point and they would require shortcuts too:
* suspend/kill thread I guess - "m d t s" "m d t k"?
* watches - "m d l w"
* exception breakpoints - I have to figure out how it will look like on emacs
  side.
* goto point "m d H"?
2018-11-25 23:03:08 +00:00
duianto 2c8195752f Add missing layer file headers 2018-11-21 21:31:54 +00:00
emacspace 4912b54f24 documentation formatting: Mon Nov 12 22:12:39 UTC 2018 2018-11-12 22:24:27 +00:00
Guan Xipeng f054573c6c fix: lsp-ui-peek-find-definitions is an async jump handler 2018-11-12 21:39:37 +00:00
Alexander Dalshov 50f8eb40b8 [helm-make][helm-ctest] - add configuration sample with projectile 2018-11-12 21:10:42 +00:00
JAremko 141b6328e3 Reformat docs 2018-11-08 22:37:23 +02:00
cormacc 18eacf48a2 Configure preference for lsp-ui-peek or xref/lsp navigation
<<Amendment 1 21/09/18>>
Added functions to facilitate keybindings in derived layers consistent
with navigation style preference.

<<Amendment 2 24/09/18>>
Incorporated feedback from yyoncho
Corrected error in peek binding extension definition

<<Amendment 3 24/09/18>>
Moved 'heirarchy' prefix/keybindings from 'SPC m h' to 'SPC m <g/p> h' for
consistency with navigation style preference selections.
Added 'members' prefix under 'SPC m <g/p> m'
Moved 'lsp-ui-imenu' from 'SPC m g m' to 'SPC m g M'

<<Amendment 4 20/10/18>>
Rebased. Updated README formatting for consistency with norms.

<<Amendment 5 25/10/18>>
Rebased. Moved 'peek' keybindings from 'SPC m p' to 'SPC m G'

<<Amendment 6 01/11/18>>
Reased. Updated for compatibility with upstream changes in lsp-ui.

<<Amendment 7 02/11/18>>
Corrected oversight -- was still binding some peek funcs under 'p'
rather than 'G'. Moved backend keybindings to 'b' (for backend)
rather than 'l' (for lsp)

<<Amendment 8 06/11/18>>
Documentation corrections -- based on feedback from sdwolfz
2018-11-06 22:18:43 +00:00
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