Commit graph

468 commits

Author SHA1 Message Date
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