Commit graph

4944 commits

Author SHA1 Message Date
kalium 1ee7a9a640 Update NixOS layer banner
The NixOS logo has changed since the NixOS layer was made. This commit
replaces the layers banner with the current official NixOS logo.

Source of the new logo: https://github.com/NixOS/nixos-artwork/tree/master/logo
2019-10-19 11:55:56 +02:00
Miloš Mošić b9f3ed61f4 [elixir] Enable evil-matchit in elixir mode 2019-10-19 10:47:28 +02:00
Gia Thanh Vuong 18715b872b bind c-ret to cider-repl-newline-and-indent in repl
For evil insert mode
2019-10-19 00:32:51 +02:00
Hong Xu 301d867aff tags-table-mode should be in spacemacs-large-file-modes-list
It is light-weight and it is common that tags are large.
2019-10-19 00:20:21 +02:00
alex argunov 92b7b65d13 Add available formatters to typescript readme 2019-10-18 22:39:44 +02:00
Tianyi Wang 8d474b1e10 [spotify] Add notes for ivy search 2019-10-18 22:27:31 +02:00
Zach Pearson ef1cecce01 Add a way to start an EIN Jupyter server from Spacemacs's UI 2019-10-18 20:59:09 +02:00
Aaron Jensen 1bd3777006 Fix tide with tsx files
This was broken in
ac30247811
if you do not specify a backend explicitly
2019-10-18 20:36:05 +02:00
Tianyao Chou 06786b4e66 Add company-box and basic setup
add auto-completion-enable-help-tooltip support

add auto-completion-use-company-box option and update document

add company-box config source url, remove empty line and join single line parenthesis

hide company-box mode line

update CHANGELOG.develop

hide doc popup when selection changed

add all-the-icon in auto-completion-packages

move icons config to auto-completion/init-all-the-icons according to duianto's advice
2019-10-18 13:20:55 +02:00
Hong Xu d35e7b85bf Allow users to enable treemacs-tag-follow-mode as initial setup. 2019-10-17 09:34:12 +02:00
Hong Xu e37b70cfa3 Bound counsel-git to gff and move magit-find-file to gfF.
counsel-git find a file in the current git repository. "gff" is
currently bound to magit-find-file. While counsel-git seemingly performs the
same functionality as magit-find-file, they are substantially different:
magit-find-file is not intended to find a file, contrary to what the
name indicates. See https://github.com/magit/magit/issues/3967 for
explanation. This is why we need another key binding for counsel-git.
2019-10-16 22:03:42 +02:00
wenpin a45948c759 fix typo
There are two `dap-firefox-setup` while `dap-chrome-setup` never show up
2019-10-16 21:04:14 +02:00
Boris Buliga 5785f1788f [python] update jedi instructions
Following 150390968b
2019-10-14 22:18:11 +02:00
Miciah Masters 8d6f736209 Delete old git-link and git-timemachine code
Delete integration code for git-link and git-timemachine, which is
superseded by upstream changes to git-link committed in August 2016:
433ba1dba7

* CHANGELOG.develop: Add an entry for this change.
* layers/+source-control/git/funcs.el (spacemacs/git-link-copy-url-only):
Replace call to spacemacs/git-link with a call to git-link.
(spacemacs/git-link-commit-copy-url-only): Replace call to
spacemacs/git-link-commit with a call to git-link-commit.
(spacemacs/git-link, spacemacs/git-link-commit): Delete functions.
* layers/+source-control/git/packages.el (git/init-git-link): Replace
binding to spacemacs/git-link with a binding to git-link.
2019-10-14 18:18:49 +02:00
duianto 98e7bf38ad [ivy] Rename counsel-more-chars to ivy-more-chars
counsel-more-chars was renamed to ivy-more-chars a year ago:
Move counsel-more-chars-alist and counsel-more-chars to ivy.el.
4461ef302a

with an alias to counsel-more-chars.

The alias was removed 2 days ago:
ivy.el: Clean up obsolete aliases
1a9002bf4b
2019-10-14 10:34:19 +02:00
Thijs Vermeir f753076772 fix documentation in markdown layer 2019-10-13 16:22:44 +02:00
Miciah Masters 97ba556142 Various documentation copy-edits
Follow up the changes in the previous commit with some minor improvements
to formatting, grammar, spelling, and wording.

* layers/+distributions/spacemacs-docker/README.org: Replace "+" with
"and".
* layers/+email/mu4e/README.org: Use full sentences in the comments in the
mu4e-alert example.
* layers/+intl/japanese/README.org: Use verbatim markers for names of
files, functions, packages, and variables.  Capitalize "Linux".
* layers/+os/osx/README.org: Capitalize "Emacs", "Vim", and "Evil".
* layers/+os/osx/config.el (osx-command-as, osx-use-dictionary-app):
* layers/+os/osx/keybindings.el (spacemacs/system-is-mac): Improve
docstrings.
* layers/+readers/dash/README.org: Capitalize "API", "Helm", and "Ivy".
* layers/+spacemacs/spacemacs-defaults/config.el
(delete-by-moving-to-trash): Use full sentences in comment.
* layers/+spacemacs/spacemacs-defaults/funcs.el
(spacemacs/toggle-frame-fullscreen-non-native): Improve docstrings.
2019-10-13 12:04:59 +02:00
Miciah Masters 552fd5953c Update references to macOS
Apple renamed "Mac OS X" to "OS X" in 2012 and then to "macOS" in 2016.
Update references to use the current name.
2019-10-13 12:04:40 +02:00
Miciah Masters 991aa5a6e5 [search-engine] Fix typo of "Hoogle" as "Hoggle"
* layers/+web-services/search-engine/packages.el
(search-engine/init-engine-mode): Fix typo "Hoggle" for the name of the
Hoogle search engine.
2019-10-13 11:31:33 +02:00
Miciah Masters 7db8815ee5 Simplify loading logic for eshell-z
* layers/+tools/shell/packages.el (shell/init-eshell-z): Replace use of
with-eval-after-load by using use-package's :after keyword to load eshell-z
when eshell is loaded.
2019-10-13 11:15:46 +02:00
Miciah Masters c7516a84c6 Fix documentation for key bindings
* layers/+lang/mercury-layer/README.org: Fix key bindings.
2019-10-13 10:46:45 +02:00
Miciah Masters ec0a535b27 Show conflicts in smerge ts hint
Use a dynamic hint for the smerge transient state in order to show the
current and total numbers of conflicts, and make the full hint toggleable.

* CHANGELOG.develop: Add an entry for this change.
* layers/+source-control/version-control/config.el
(spacemacs--smerge-ts-full-hint-toggle): New variable.
* layers/+source-control/version-control/funcs.el
(spacemacs//smerge-ts-hint): New function.  Return a string indicating the
index of the current conflict and the total number of conflicts detected by
smerge-mode.  If spacemacs--smerge-ts-full-hint-toggle is true, append the
smerge transient state's full hint.
(spacemacs//smerge-ts-toggle-hint): Toggle showing the full hint for the
smerge transient state.
* layers/+source-control/version-control/packages.el
(version-control/init-smerge-mode): Define the transient state in :init so
we can use spacemacs|transient-state-format-hint.  Use
spacemacs//smerge-ts-hint to display a dynamic hint.  Bind the ? key to
spacemacs//smerge-ts-toggle-hint.
2019-10-13 10:09:42 +02:00
Miciah Masters e8cdaac8d3 Unique defvar for each ts full-hint toggle
Instead of using a single variable for all transient states' full-hint
toggle functions, define a unique variable for each toggle function so that
toggling the full hint for one transient state does not affect the others.

* CHANGELOG.develop: Add an entry for this change.
* layers/+spacemacs/spacemacs-defaults/keybindings.el
(spacemacs--window-manipulation-ts-full-hint-toggle): New variable.
(spacemacs//window-manipulation-ts-toggle-hint)
(spacemacs//window-manipulation-ts-hint): Replace
spacemacs--ts-full-hint-toggle with
spacemacs--window-manipulation-ts-full-hint-toggle.
* layers/+spacemacs/spacemacs-layouts/config.el
(spacemacs--ts-full-hint-toggle): Delete variable.
(spacemacs--layouts-ts-full-hint-toggle)
(spacemacs--workspaces-ts-full-hint-toggle): New variables.
* layers/+spacemacs/spacemacs-layouts/funcs.el
(spacemacs//layouts-ts-toggle-hint, spacemacs//layouts-ts-hint): Replace
spacemacs--ts-full-hint-toggle with spacemacs--layouts-ts-full-hint-toggle.
(spacemacs//workspaces-ts-toggle-hint, spacemacs//workspaces-ts-hint):
Replace spacemacs--ts-full-hint-toggle with
spacemacs--workspaces-ts-full-hint-toggle.
2019-10-13 10:09:42 +02:00
Miciah Masters 7be37a2aed Use truth values for spacemacs--ts-full-hint
Use nil and t instead of 0 and 1 for spacemacs--ts-full-hint values.

* layers/+spacemacs/spacemacs-layouts/config.el
(spacemacs--ts-full-hint-toggle): Define with an initial value of nil.
* layers/+spacemacs/spacemacs-defaults/keybindings.el
(spacemacs//window-manipulation-ts-toggle-hint)
(spacemacs//window-manipulation-ts-hint):
* layers/+spacemacs/spacemacs-layouts/funcs.el
(spacemacs//layouts-ts-toggle-hint, spacemacs//layouts-ts-hint)
(spacemacs//workspaces-ts-toggle-hint, spacemacs//workspaces-ts-hint):
Replace (logxor ... 1) and (equal 1 ...) with (not ...) and a simple truth
check.
2019-10-13 10:09:42 +02:00
Martin Račák 1fec4ec135 Fix conditional backend setup
* Use spacemacs//python-backend to check which backend is being used
* Set leader keys for anaconda in :config to avoid overwriting by tags layer
2019-10-12 15:21:40 +02:00
Martin Račák c95534ace5 Revert "Use anaconda-mode-find-definition for SPC-m-g-g"
This reverts commit 9bafd3f561.
2019-10-12 15:21:40 +02:00
Rakan Alhneiti 9bafd3f561 Use anaconda-mode-find-definition for SPC-m-g-g 2019-10-11 22:03:59 +02:00
Lorenzo Manacorda 4b810795ea org-mode: Document more insertion bindings
`C-RET` and `C-S-RET`, from https://orgmode.org/manual/Structure-editing.html.
2019-10-10 21:21:28 +02:00
Tommy Groshong 59c95e7da2 Make react layer respect js fmt on save
The react layer relies on the javascript layer and uses multiple values
from it including definition of a formatter. However, the react layer
does not respect the javascript layer setting for formatting a file on
save.

This patch configures the react layer to add a before save hook that
calls the javascript layer formatting function when the
'javascript-fmt-on-save variable is enabled.
2019-10-09 18:29:23 +02:00
Thanh Vuong ba1fba2455 add lsp for html buffer 2019-10-09 15:29:29 +02:00
Daniel Caixinha 7dd4118820 Add instructions to PlantUML README to set exec-mode accordingly 2019-10-06 21:16:05 +02:00
Matthew Leach d3cb959e36 [gnus] add gnus perspective
Configure the gnus layer to add a gnus perspective, similar to the erc layout.
2019-10-06 17:09:15 +02:00
Roman Gonzalez 28f3b6289d Add spacemacs/git-permalink functionality
Context:

When using org files, one normally tends to add Github code links to an
algorithm/bug explanation so that readers are able to follow along with a PR
change.

The current `<SPC> g l L` command gets us the URL to the current branch; given
the code is in flux, the link becomes non-sensical rather quickly, loosing value
when trying to build a document with explanations about the code.

This PR allows us to get the Permalink (e.g. link associated to the commit, not
the branch); using this, the URL contents will never change with new commits
submitted to the repository.

Changes:

  * Add two new functions with associated keybindings:

    - `<SPC> g l p` maps to `spacemacs/git-permalink`

    - `<SPC> g l P` maps to `spacemacs/git-permalink-copy-url-only`

  * The above changes rely on mechanisms of `git-link`, so no new code needs to
    be introduced
2019-10-05 19:19:41 +02:00
Hong Xu 50bb8a6dc1 Add document for option treemacs-use-git-mode
This option has been implemented but was not documented.
2019-10-05 18:51:36 +02:00
syl20bnr fdd38eec9b [shell] Add instruction to install cmake on MacOS 2019-09-30 02:29:50 -04:00
syl20bnr 996da0505f [dap] Fix errors in README.org 2019-09-30 02:25:48 -04:00
syl20bnr 584392bd92 [core] Fix layer dependencies based on layer variables
There was a edge case with the declaration of the `lsp` layer in `layers.el`
files.
The `hy` layer depends on the `python` layer which in turn depends on the `lsp`
layer if and only if the `python-backend` layer variable is set to `lsp`.
When the `hy` layer was declared first then it declares the `python` layer
without its layer variables, thus the `lsp` layer was not declared because the
`python-backend` variable was not set.

The fix is to gather all the layer dependencies and resolve them only after all
the used layers have been declared.

* new function `configuration-layer/declare-layer-dependencies`
* replace all calls to `configuration-layer/declare-layer` by the new function
  except for distribution layers (we declare layer dependencies right away in
  distribution layers)
2019-09-30 02:00:48 -04:00
syl20bnr ac30247811 [lsp] When used, make LSP the default backend for all supported lang
* Added a new function to each language to select the backend
* Use these new functions in all `pcase`.
2019-09-30 00:49:44 -04:00
syl20bnr 9606dd344e [dap] Refactor configuration dap config in layers
* use local-vars-hook coupled to setup function for dap
* define new private layer variable `spacemacs--dap-supported-modes` to
  configure key bindings. This allows to move the key bindings definition from
  `funcs.el` to `packages.el`
* remove duplication of DAP key bindings in READMEs by pointing to the dap layer
  documentation
* alphabetically sort package configuration
2019-09-30 00:34:26 -04:00
syl20bnr 6f6497d3c9 [dap] Make dap layer to depend on lsp layer 2019-09-30 00:34:26 -04:00
syl20bnr 5b34756529 [dap] Add mouse toggle key binding 2019-09-30 00:34:26 -04:00
syl20bnr 2b70cd5f45 [java] Remove unconfigured eldoc package 2019-09-30 00:34:26 -04:00
syl20bnr bdfefd5e5d [dap] Reorganise key bindings in sections 2019-09-30 00:34:26 -04:00
Ivan Yonchovski 3908fc752b [dap] Add mouse support in dap-mode
- Disable it with `dap-enable-mouse-support`
2019-09-30 00:34:26 -04:00
smile13241324 58e342f242 [dart] Explain LSP dependency and make layer require LSP layer
The dart layer requires the official LSP server as the
emacs mode alternative is not longer properly maintained.
Therefore I have added some more description of how to
install the server properly and let the layer load
the LSP layer automatically.

In addition I have removed the unsupported variable
`dart-server-enable-analysis-server` from the
documentation.

See https://github.com/bradyt/dart-mode/wiki/LSP for
details.
2019-09-28 23:01:49 +02:00
smile13241324 aa244a91a5 [shell-scripts] Load lsp layer when an lsp backend has been selected 2019-09-28 22:21:51 +02:00
smile13241324 9730173e94 [shell-scripts] Make readme describe the available backends more clearly 2019-09-28 22:04:51 +02:00
Georgy Lukyanov bee9bea1b6 Fix #9429: Make agda layer retain indentation on paste.
Add `(add-to-list 'spacemacs-indent-sensitive-modes 'agda2-mode)`
into the definition of `agda/init-agda`.
2019-09-28 14:23:17 +02:00
duianto 8ca2af4215 [php] Enable evil-matchit-mode 2019-09-27 13:35:29 +02:00
duianto 3142f070f5 [dart] Fix reverting a dart buffer
While getting the dart-server major mode key bindings to work.
Everything was moved from the `dart/init-dart-mode` function,
to the `dart/init-dart-server` function.

This revealed that an empty `dart/init-dart-mode` section causes
`M-x revert-buffer`
to switch the dart buffer to `fundamental-mode`.

The fix was to load `dart-mode` from the `dart/init-dart-mode`
function. And add `:after dart-mode` to the
`dart/init-dart-server` function.
2019-09-25 10:59:43 +02:00
duianto 37e326e1cf [dart][doc] Remove disabled key binding SPC m f f
The key binding was disabled because of this upstream issue:
dart-server-find-refs on int opens a dart buffer that keeps growing in size #11
https://github.com/bradyt/dart-server/issues/11
2019-09-24 07:48:55 +02:00
duianto af52143b6c [dart] fix jump handlers 2019-09-24 07:39:37 +02:00
duianto a069c6125a [dart] Add dart-server package
dart-mode has been split into two packages:
- dart-mode, Provides basic syntax highlighting and indentation.
- dart-server, Factors out the features from dart-mode.el that relied on
external executables, thus improving availability, reliability, testing and
development of dart-mode.el.
2019-09-23 19:18:33 +02:00
Javier Candeira f25ad36d79 [html] Add .svelte files to web-mode auto-mode-alist :mode handler 2019-09-23 13:45:15 +02:00
Vitaly Banchenko cba2602622 [Clojure] fix repl-buffer autoscroll when send forms.
When send form/region/buffer to repl without focus - repl buffer is
not scrolling and result not visible.

Added scrolling to the end of the repl-buffer after eval.
2019-09-22 21:52:18 +02:00
Rodolfo Hansen 9155c0b65e Lsp-scala is deprecated in favor of lsp itself 2019-09-22 21:38:18 +02:00
Mathieu 16f283898c Add flutter and lsp support to dart layer 2019-09-22 21:21:06 +02:00
Daniel Richtmann 724eb908a8 Enable experimental support for lsp within the shell-scripts layer
Note that this is only valid for bash scripts, since it uses the
`bash-language-server` defined in `lsp-clients.el`
2019-09-22 20:51:33 +02:00
Brett Campbell f170c732d7 Improve regexp for detecting Ansible files
Additional path names are now detected.

However, the patterns have also been anchored more tightly, meaning they
are more accurate, so they will match less slop (this may affect certain
edge cases where people unknowingly depended on false-positives, e.g.,
`parasite.yml').

Technical details about regexp changes:
  * Remove unnecessary `.*' at beginning
  * Anchor file names with leading `/' to prevent partial matches
      - (eg., don't match `not-main.yml')
  * Restructure capture groups so that `\\.yml' extension is at very end
  * Support `.yaml' extensions as well
  * Anchor the very end with `$'
2019-09-22 19:40:45 +02:00
Compro-Prasad 42296a91df [org] Fix commit browsing via magit blame in org buffers 2019-09-22 19:21:53 +02:00
torstein 909d755667 Do not use tabs in inferior python mode 2019-09-22 19:05:14 +02:00
duianto 1f0e41d7c2 [php] Add phpunit test key bindings 2019-09-22 18:55:36 +02:00
Danny KB 901b1ad6e4 [python] fix IPython shell setup on windows path with whitespaces
On systems where IPython executable path contains whitespace
(e.g, if IPython is under Local Appdata and your Windows username has
whitespace), the shell command was invalid, quoting the executable is required.
2019-09-22 18:53:44 +02:00
Alexander Miller 1fae31b56d Turn off treemacs' minor modes when they are configured to be disabled.
The various minor modes are enabled by default, so they must be turned off
explicitly.
2019-09-19 07:39:33 +02:00
smile13241324 e17008ec2f [java] Fix broken "pu" binding to update user/project settings
"pu" for lsp backends called a lsp-java function which has
been deactivated in the `lsp-java` package. Replaced it with
the closest match from the same package, updating the
project settings instead.
2019-09-18 22:13:24 +02:00
smile13241324 6de34e8b2d [java] Fix various issue introduced by dropping ensime support 2019-09-18 22:00:05 +02:00
smile13241324 cf15de9f20 [java] Make lsp the default backend and drop eclim support 2019-09-18 21:21:55 +02:00
Teo Klestrup Röijezon 4bf5b7be7b Moved Ensime support to the Scala layer, removed Java support 2019-09-18 20:46:53 +02:00
lsp 054856be3d Don't start the lsp server until after mspyls is optionally required
Otherwise, lsp will attempt to use pyls when the user wanted to use mspyls
2019-09-18 19:26:12 +02:00
duianto 556433f95c Limit lines to 80 chars
And fix comment indentation. Vertically aligned comments in function
definitions, indents them in the help buffer.
2019-09-17 20:36:30 +02:00
Koray Al 08cd88a6ea [python] Make pylookup use correct shell 2019-09-17 20:26:04 +02:00
Miciah Masters cca2405f7d [org] Document how to open today's journal
Fix issue #12168 by documenting that the SPC u SPC a o j j key binding can
be used to open today's journal without adding a new entry.

* layers/+emacs/org/README.org: Add key binding.
2019-09-17 20:06:41 +02:00
Bryan Gilbert 42e2684a5e Update dash layer to reflect dash-docs merge 2019-09-17 20:02:49 +02:00
smile13241324 bfce0f2a7d [php] Revise documentation
Describe the various backend choices in more detail.
Move project specific setup for non lsp server to the right section.
2019-09-17 19:10:26 +02:00
duianto 5894c396cb Fix C-k ivy-previous-line in ivy-switch-buffer
It applies to the editing styles:
- hybrid with the variable hybrid-style-enable-hjkl-bindings set to t
- vim

Moved the default key binding for ivy-switch-buffer-kill:
From: C-k
To:   C-M-k

Thanks for the suggestion: asok
2019-09-17 18:28:02 +02:00
Thanh Vuong d71b0a4b87 [clojure] add c-k c-j bindings company dropdown menu in repl
Make c-j and c-k bind to down and up in company dropdown menu when it shows up
in clojure repl.
2019-09-17 13:22:09 +02:00
smile13241324 efa7d4245f [elixir] Load DAP layer when LSP backend is used
The new elixir LSP server brings DAP support
therefore we now also load DAP layer when the
lsp backend has been activated in the elixir
layer.
2019-09-17 13:15:32 +02:00
smile13241324 020a8b474d [php] Make layer depend on LSP layer if lsp backend is activated 2019-09-17 13:03:01 +02:00
Daniel Richtmann 6d1c7ce57c [php] Enable experimental lsp support 2019-09-17 12:53:43 +02:00
smile13241324 f42b2db568 Make flycheck-mercury init without require 2019-09-16 22:30:43 +02:00
Ludvig Böklin 08576ce34d Add mercury layer 2019-09-16 21:50:02 +02:00
smile13241324 1de174003e [treemacs] Load treemacs-magit only when magit package has been loaded 2019-09-16 21:16:38 +02:00
Evan Klitzke 1c38de53e7 Add new var treemacs-enable-magit to enable treemacs-magit 2019-09-16 20:49:48 +02:00
A.L 978f16dcf4 Correct function-format keybinding in EL layer 2019-09-16 20:30:51 +02:00
Kenji Miyazaki 6e9a80c9f3 [japanese] Fix doc 2019-09-16 20:17:40 +02:00
smile13241324 d0a1158e38 Revise elfeed layer
Moved dependency checks from the init functions to
the package initialisation.

Added documentation for the new `elfeed-enable-goodies`
variable and changed the default to `t`.
2019-09-16 19:52:35 +02:00
Benjamin Signneau beadb3488d Add a variable to disable elfeed-goodies 2019-09-16 18:44:32 +02:00
mpanarin 135a1fd460 [elixir] layer improevements
- declare lsp layer dependency if elixir-backind is lsp
- "C-j" now properly indents line
- add toggle breakpoint for elixir-mode

update CHANGELOG.develop
2019-09-16 18:27:28 +02:00
deb0ch 0cec3d0a69 docstring 2019-09-16 17:41:15 +03:00
deb0ch 2d232232d0 [shell] regroup redundant evil-define-key 2019-09-16 17:41:15 +03:00
deb0ch 2f8f21b3b1 [shell] enter insert mode when entering a terminal 2019-09-16 17:41:15 +03:00
deb0ch 3643bc7b6d [shell] add support for vterm
Support for https://github.com/akermu/emacs-libvterm
2019-09-16 17:40:32 +03:00
deb0ch 29e2fa11d9 [shell] inhibit global-centered-cursor-mode in terminals 2019-09-16 17:38:35 +03:00
deb0ch 0b824165b6 [centered-cursor-mode] add command to ignored commands
So that when you click in your window your code does not move instantly.
2019-09-16 17:37:42 +03:00
Gia Thanh Vuong d6bbc257d0 layout layer: add more persistant actions to switch layout
helm-projectile-recent and project search
___
2019-09-15 21:40:34 +02:00
Gonéri Le Bouder f97c0ae6c1 pycscope: ability to configure the binary name
By default, cscope uses the "pycscope" command. This new variable
allow one to specify another binary name, e.g: python3-pycscope.
2019-09-14 01:06:16 +02:00
duianto 6440e2d5d7 TS formatting: workspaces & layouts
Remove empty lines:
- Two in the Layouts Transients State.
- Three in the Workspaces Transient State.

In the Layouts Transient State:

Move the navigation keys:
[n/C-l]    next layout
[N/p/C-h]  prev layout
closer to the top, to match the order in the Workspaces Transient State.

Change to a more generic description, without mentioning the other
completion name.
From: [l] layout w/helm/ivy
To:   [l] another layout

Shorten the descriptions:
From: [w] workspaces transient state
To:   [w] workspaces TS
and
From: [t] show a buffer without adding it to current layout
To:   [t] show buffer w/o adding to layout

Indicate what's being added:
From: [A] add all from layout
To:   [A] add all buffers from layout

In the Workspaces Transient State:

Rename "create" to "clone, because it's more descriptive and the
docstring for the variable "eyebrowse-new-workspace" says:
"nil: Clone last workspace."
From: [c/C] create workspace
To:   [c/C] clone workspace

Add "TS" to the description to indicate that it switches to the Layouts
Transient State and then it will match "workspaces TS" in the Layouts
Transient State.
From: [l] layouts
To:   [l] layouts TS

Instead of sorting "[l] layouts TS" alphabetically by it's key letter,
move it to the bottom of the "Go to" column. This has two benefits:
- The workspaces navigation keys are grouped together, without having
"[l] layouts TS" in the middle.
- And "[l] layouts TS" will be the last entry in the "Go to" column.
This matches the location of "[w] workspaces TS" in the Layouts
Transient State.

Change to a more generic description, without mentioning the other
completion name.
From: [w] workspace w/helm/ivy
To:   [w] another workspace
2019-09-13 23:57:33 +02:00
madand 89b006b432 Fix hybrid-mode error when dumping (fixes #11923) 2019-09-13 23:25:21 +02:00
emacspace 560b51c324 documentation formatting: Thu Sep 12 15:09:22 UTC 2019 2019-09-12 21:44:20 +02:00
Kechao CAI 5957303d17 gtags: typo fix 2019-09-12 17:02:19 +02:00
Mathieu ab9acc0810 Fixed go-run-test-current-function for go test and gocheck 2019-09-12 15:25:57 +02:00
pancho horrillo a7e27370e6 [go] Cleanup README.org
- Consolidate pre-requisites
- Revise document structure
- Clarify setup instructions
- Link key bindings to their supporting tools
- Remove ancient notes on go-oracle
- Fix typos
- Style fixes
- Apply suggestions from code review by @duianto

Thanks to @duianto for the comprehensive review!

Co-Authored-By: duianto <otnaiud@gmail.com>
2019-09-12 14:25:51 +02:00
Jonathan Chen a326913a9e docs: fix spelling 2019-09-11 18:40:40 +02:00
duianto 9f32750f6a [ranger] load helm before ranger/deer
Resolves #12363
2019-09-10 23:17:27 +02:00
smile13241324 c1e98e5a36 Make julia layer declare lsp layer as dependency if enabled 2019-09-10 23:00:34 +02:00
Guido Kraemer 22f51cf70a Update julia-layer 2019-09-10 22:35:18 +02:00
duianto dccef21e97 Workspaces TS: Add single win workspace key
Updated the Workspaces Transient State "SPC l w".

Added a new key: "[s/S] single win workspace" to the Actions column.

It creates a new workspace with a single window, that shows the
Spacemacs home buffer.

Moved the existing key: "[c/C] create workspace" to the Actions column.
2019-09-10 22:24:27 +02:00
smile13241324 b702df7938 Make layers request lsp dependency if lsp has been selected as backend 2019-09-10 22:00:56 +02:00
yqu212 9f72af3b73 Add lazy loading of lsp-python-ms 2019-09-10 21:15:59 +02:00
duianto 5900e85abd [ansible] Fix filename regexp, escape period
The `\` backslash before `.yml` in the regex has an orange (warning)
color and describe-char says:
There are text properties here:
  face                 (font-lock-warning-face font-lock-string-face)
  fontified            nil
  help-echo            "This \\ has no effect"

Thanks smile13241324 for pointing out that double backslash escapes
a . (period).
2019-09-10 20:53:54 +02:00
madand 630781581a Fix definitions of extra actions R and D for recentf
`ivy-recentf` was renamed into `counsel-recentf` upstream.
2019-09-10 12:40:21 +02:00
deb0ch 6857914441 completion: add command for unfiltered buffers list under SPC b U 2019-09-08 10:19:10 -04:00
deb0ch 22713541f8 completion: filter helm-mini with useful/useless buffers regexp 2019-09-08 10:19:10 -04:00
cormacc 0f034048f2 Updated keybindings w.r.t upstream lsp-mode refactoring / additions.
lsp-mode had renamed lsp-shutdown-workspace and lsp-restart-workspace.

Added bindings for the following newer interactive lsp-mode functions:
- lsp-organize-imports
- lsp-document-highlight
- lsp-lens-show
- lsp-lens-hide
- lsp-treemacs-symbols

Declared new major mode prefixes (a: code actions, x: text/code).
Moved execute-code-action binding under new `a` prefix.

Also disabled helm-lsp keybindings when ivy layer in use.
2019-09-06 23:23:28 +02:00
emacspace 6031fe2a41 documentation formatting: Thu Sep 5 19:09:25 UTC 2019 2019-09-05 21:24:39 +02:00
pancho horrillo 4c1245e8c5 [go] Drop support for deprecated gometalinter
gometalinter¹ was deprecated on 2019-02-28, in favor of the more advanced
golangci-lint.

. Drop references to gometalinter from README.org
. Update reference to available meta-linter (golangci-lint) in LAYERS.org
. Add attribution in CHANGELOG.develop

¹: https://github.com/alecthomas/gometalinter
2019-09-05 20:49:43 +02:00
Benjamin Hipple 61ed84be65 [python] Declare lsp layer dependency when python-backend is 'lsp
Previously, if a user set `python-backend` to `'lsp`, it would not do anything
unless the user also manually added the `lsp` layer to the spacemacs `init.el`
file. This commit updates the `python` layer to correctly add the dependency
when needed, like the `c-c++` layer does.
2019-09-05 20:36:31 +02:00
Gabriel Arrillaga ec3bb9d660 [elixir] Fix README.org
Change elixir-backend from 'alchemist to 'lsp in LSP config instructions
2019-09-05 20:07:01 +02:00
Caleb Williams fe77ade0f0 [json] Add option to format on save 2019-09-05 18:58:08 +02:00
emacspace 1299f262ca documentation formatting: Sun Sep 1 21:18:40 UTC 2019 2019-09-01 23:08:29 -04:00
duianto f3650b6d2e [mu4e][doc] Fix a typo and org verbatim emphasis
Add emphasis to mentions of `mu` and `mu4e`.
Fix typo in a link description.
Add a missing key binding emphasis.
Change markdown surrounding backticks to org verbatim equal signs.
2019-09-01 23:11:10 +02:00
John Stevenson 7afa22e1d0 [Clojure] Update Clojure layer linter documentation
Enhancement to Clojure layer documentation for the clj-kondo linter added via
pul request #12611

Moved instructions to install section as clj-kondo and squiqgly can be added as
Clojure layer variables, just like clj-refactor and sayid.

Changed the install instructions to make them specific and to use clojure layer
variables, which is consistent with other Clojure layer options.

Elaborated on the install instructions to clarify requirements, constraints and
recommended linting tool.

Added credits to the changelog.
2019-09-01 23:07:12 +02:00
Matthew Leach 4914df0108 add O prefix for gnus-group-group-map
Since the `O` key is not used in the `group-group-mode-map` use it as a prefix
for the `group-group-group-map`.
2019-09-01 22:15:40 +02:00
emacspace 58d5bb9204 documentation formatting: Sat Aug 31 22:49:15 UTC 2019 2019-09-01 01:13:12 +02:00
Dieter Komendera 578689c497 [clojure] Fix jumping backwards after cider-find-var
`cider-jump-to-var` was renamed to `cider-find-var` here:
ceb2d7df75 (diff-e39c33031dc8d3e78b32ebee83293cd6L809-R846)

In https://github.com/syl20bnr/spacemacs/pull/9792/ `spacemacs/clj-find-var`
was added to be used as the jump handler for clojure modes. It uses
`cider-find-var` which doesn't push jump positions onto the evil jump stack so
the no longer current defadvice was more apparent.
2019-09-01 01:10:29 +02:00
mpanarin 3ee5aedbbf Add elixir-ls as a language backend for elixir 2019-09-01 00:33:39 +02:00
emacspace 7072f61922 documentation formatting: Sat Aug 31 21:42:39 UTC 2019 2019-09-01 00:24:30 +02:00
Fredrik Eckardt ce176008f3 [chore] Fix spelling error in prefix description
debuging -> debugging
2019-08-31 23:31:18 +02:00
smile13241324 53553e2307 [python] Add lsp as possible python formatter 2019-08-31 23:21:03 +02:00
smile13241324 290cacf2a9 [python] Bind formatter to == only for LSP backend 2019-08-31 22:55:34 +02:00
cormacc c4a05f7ebf Corrected keybinding collision (format-buffer)
`spacemacs/python-format-buffer` was bound to '='.
Subsequently clobbered by lsp layer declaration of '=' as prefix with subsidiary
keybindings.
Resolved by moving `spacemacs/python-format-buffer` binding to '=='.
Updated README accordingly.

Opportunistically added 'mspyls' dir to .gitignore
2019-08-31 22:19:53 +02:00
emacspace 592fb5863c documentation formatting: Sat Aug 31 19:04:38 UTC 2019 2019-08-31 22:15:53 +02:00
Luo Tianj b71c78655f add flycheck-clj-kondo as an optional package 2019-08-31 20:58:30 +02:00
duianto 145f7e56cc [ansible] Fix void-variable company-backends 2019-08-30 10:22:43 -04:00
emacspace e61e91fbc5 documentation formatting: Thu Aug 29 23:13:44 UTC 2019 2019-08-30 01:17:29 +02:00
duianto 424d029190 Revert "[gnus] Add G prefix to evil state"
This reverts commit 7ec33ba974.
2019-08-30 01:07:13 +02:00
Anatoli Babenia c5c63f48ca ansible: simplify filename matching re 2019-08-29 21:18:28 +02:00
duianto 7ec33ba974 [gnus] Add G prefix to evil state 2019-08-29 17:29:04 +02:00
Matthew Leach f088eb077c map gnus-group-get-new-news' to g r'
Since the `g' key is remapped in an evilified state, use the combination `g r'
to refresh the group buffer. This is similarly done in magit.
2019-08-29 17:10:03 +02:00
Sam Hedin 62ea30b479 Add cider clojuredocs keybind, remove grimoire 2019-08-27 21:31:59 +02:00
smile13241324 48ffd37594 Revert "[themes-megapack] Add ewal-spacemacs-themes to themes-megapack layer."
This reverts commit 883cf97308.
2019-08-26 19:58:34 +02:00
pancho horrillo 877f577bab [go] Update doc on LSP setup.
`gopls` is Google’s upcoming Go language server; the other implementation
mentioned in the `lsp-mode` doc¹ has been discontinued².

So, I've added the recommended procedure³ to install `gopls`.

¹: https://github.com/emacs-lsp/lsp-mode/
²: https://github.com/saibing/bingo
³: https://github.com/golang/go/wiki/gopls
2019-08-26 17:58:51 +02:00
Rodolfo Hansen e2d9e32e92 Add lsp-scala and metals as a language backend for scala 2019-08-26 17:50:07 +02:00
Ryota Kayanuma 57baa4ba4a Add kivy layer
Removed the kivy package from the major-modes layer.
2019-08-26 17:09:46 +02:00
emacspace 3747afb4b0 documentation formatting: Fri Aug 23 17:22:19 UTC 2019 2019-08-24 00:03:42 +02:00
syl20bnr 015414ae8c [Github] Do not install forge pacakge on Windows by default 2019-08-21 22:29:21 -04:00
Mathieu 272c96d855 Add Testify support for layers/+lang/go 2019-08-21 21:25:49 +02:00
syl20bnr dcb4da02a8 Bump undo limits to avoid frequent No further undo information
See https://github.com/syl20bnr/spacemacs/issues/12110#issuecomment-504079398
2019-08-20 22:54:46 -04:00
Henrique Jung 39b6156a2f [theme-megapack] Add chocolate-theme
"A dark chocolatey theme for Emacs" by Valeriy Savchenko.
https://github.com/SavchenkoValeriy/emacs-chocolate-theme/
2019-08-20 10:55:09 +02:00
syl20bnr 31353d7b43 Revert "Change default value for spacemacs-layouts-restrict-spc-tab to t"
This reverts commit eef7f8f61a.
2019-08-20 01:17:36 -04:00
syl20bnr bd97ef47ef Move doc for layout restriction and SPC TAB to DOCUMENTATION.org 2019-08-20 00:54:41 -04:00
syl20bnr eef7f8f61a Change default value for spacemacs-layouts-restrict-spc-tab to t 2019-08-20 00:54:14 -04:00
duianto 3521d7a11e Switch recreated messages buffer to evil-normal-state
If the messages buffer is deleted.
When it's recreated, then it opens in evil-evilified-state
where the evil keys `w` and `b` are undefined.
2019-08-19 20:48:41 +02:00
emacspace 617f717dce documentation formatting: Mon Aug 19 16:22:59 UTC 2019 2019-08-19 20:40:41 +02:00
Troy Pracy 3c67ba94f3 Add docstring to align-repeat-x commands
Update 'spacemacs|create-align-repeat-x macro to add a docstring to created
functions. The docstring refers the user to the macro, providing a link to
the source code.
2019-08-19 18:11:29 +02:00
sunlin7 53f1445ecc Fixed the =c-c++-default-mode-for-headers= should not affect the default behavior for Emacs > 26.1+ 2019-08-16 23:55:27 +02:00
Uros Perisic 883cf97308 [themes-megapack] Add ewal-spacemacs-themes to themes-megapack layer.
Currently, the theme also modifies `spacemacs-dark` if also loaded in
`dotspacemacs-themes`. A
[fix](https://github.com/nashamri/spacemacs-theme/pull/144) for this is on it's
way upstream to `spacemacs-theme`, but the maintainer already gave their
[blessing](https://github.com/nashamri/spacemacs-theme/issues/139).
2019-08-14 22:33:25 +02:00
emacspace 0ca502823c documentation formatting: Mon Aug 12 19:50:23 UTC 2019 2019-08-13 01:09:55 +02:00
Thanh Vuong 0e9866efce spacemacs-layout layer: limit commmands to work within layouts
Add options to restrict some functions to current layout's buffers

Thanks smile13241324 and duianto for suggestions and fixing typos
2019-08-12 21:41:12 +02:00
Michael Hauser-Raspe a500662a69 Add minimal zig mode. 2019-08-12 14:54:36 +02:00
Simon Pintarelli 0750b4e72c update org-layer: helm-org is now a separate package 2019-08-11 20:31:48 +02:00
bb2020 8ed7e5e7a1 Add `spacemacs/iwb-region-or-buffer'. 2019-08-11 20:15:40 +02:00
Trapez Breen d63ff5c0f2 Fix treemacs-project-toggle
Avoid error in spacemacs startup buffer
2019-08-11 19:39:47 +02:00
Michael Hauser-Raspe 3df5b43d28 Remove stray ruby file. 2019-08-10 11:32:20 +02:00
Dominik Schrempf 11ee097707 Bugfix `spacemacs/avy-goto-url'.
- Use `avy-jump' instead of the deprecated `avy--generic-jump'.
- Add a keybinding to also open URLs (SPC j U).
2019-08-10 11:23:01 +02:00
Benjamin Levy 600ca198aa Add jump handlers for nasm-mode 2019-08-09 13:28:55 +02:00
yqu212 50203d2c0f Add names to autohotkey mode prefixes 2019-08-08 12:53:16 +02:00
Haisheng Wu ac641c4a08 Fixes issue of customize search engine list
- add variable search-engine-config-list in order to support customization in
search-engine layer
- fixes issue #7999
2019-08-06 23:04:54 +02:00
duianto 2c905a0e82 Update changelog.develop and xclipboard layer
changelog.develop:
Added a new Dotfile changes section: Removed Variables
Moved a removed template variable entry:
from: Core changes > Fixed
to: Dotfile changes > Removed Variables

Surrounded commands with org verbatim (=)
Fixed typos

layers/+tools/xclipboard/readme.org:
Fixed a matching typo from changelog.develop
2019-08-06 15:43:17 +02:00
Benjamin Levy 0d43805b3c Layer +fun/emoji: Enable company-emoji-insert-unicode 2019-08-05 21:23:50 +02:00
Junxuan 6b2f849efd update helm-xref to set the correct xref-show-xrefs-function
helm-xref currently provides two functions and the user is expected
to use the correct one based on their emacs version. The lazy loading
logic has to be updated to set the correct xref-show-xrefs-function.
2019-08-05 20:34:04 +02:00
Benjamin Hipple cea98bcd54 shell: allow evil normal-mode movement in terminal buffer
As mentioned in https://github.com/syl20bnr/spacemacs/issues/10779#issuecomment-427712967,
emacs 26.1 changed the default behavior for term-char-mode to prevent cursor
movement. This change restores consistent behavior on all versions of emacs and
allows normal-mode motions to work again.

Note that the buffer is still read-only while in normal-mode, so operators that
change the line (such as `C`, `D`, `S`) still don't work.

Fixes #10956
Fixes #10779
2019-08-05 18:17:36 +02:00
smile13241324 9446a0f5d9 Add additional targets for search-engine layer 2019-08-04 16:32:45 +02:00
smile13241324 85fca8f323 Restore winner-mode auto start without breaking dumping
As winner-mode was moved from init.el to dump-init.el winner-mode
was not longer properly started for non-dumped emacs sessions.
Having winner-mode auto activate at startup did fix the issue
for non-dumping users but in turn broke the dumping process.

I have now moved the necessary winner-mode init to
spacemacs/setup-startup-hook which is only called
in the non-dumping case. To allow customizations I activate
winner-mode prior to loading user-init this will allow users
to deactivate winner-mode in the dotfile and fix ediff themselves
if this is wished for.
2019-08-04 14:49:10 +02:00
duianto 4bcd3402fe [doc] Clarify line wrapping vs truncation 2019-08-04 00:13:18 +02:00
emacspace 3f70e0bdad documentation formatting: Sat Aug 3 21:43:51 UTC 2019 2019-08-04 00:06:16 +02:00
smile13241324 1005ad2fd2 Add undocumented search-engines to README.org 2019-08-04 00:03:16 +02:00
smile13241324 e182488b1e Add additional search-engines to search-engine layer 2019-08-03 23:59:15 +02:00
smile13241324 7aa0967e12 Make search-engine layer support custom keywords for engine-mode 2019-08-03 23:37:30 +02:00
duianto 277eca6cea Update README.org (Updated)
- Added a changelog.develop entry to the various documentation changes section.
- Fixed a typo.
- Improved some of the wording.
- Mentioned that save or discard leaves helm-ag-edit not just iedit state.
2019-08-03 22:16:44 +02:00
Lucius Hu c8cdf8dc2b Update README.org to state how to discard changes made in iedit
- Added an entry on how to discard changes made in `iedit` states via `helm-ag`
2019-08-03 21:04:46 +02:00
smile13241324 d5d26af533 Disable lazy loading for winner-mode
Lazy loading of `winner-mode` breaks `ediff` and
`winner-undo`. As a hotfix I have deactivated
lazy loading for that package for now.

Just activating `winner-mode` after `winner-undo`
or `winner-redo` has been called does not solve
the issues described in #12582.
2019-08-02 22:48:08 +02:00
smile13241324 175ed2bcc2 Fix winner lazy loading issues 2019-08-02 22:06:47 +02:00
smile13241324 316afaa0fa Make haskell mode bind repl under "'" 2019-08-02 21:33:15 +02:00
Enze Chi 56ae091b62 remove duplicated code 2019-08-01 12:57:12 +02:00
Russell Mull b110ac09f9 Restore standard "si" binding for cider-jack-in-clj
It appears that this is still the common binding across all +lang layers.
2019-07-31 15:55:35 +02:00
Benjamin Levy 6db052334d Layer +chat/erc: Add spell checking and mIRC colors 2019-07-31 12:14:06 +02:00
Thanh Vuong 7bc23b895f Layout layer: counsel-projectile: requires fix
Guard :requires against ivy not projectile. projectile is already owned by
buil-in spacemacs-project layer, so it's always t.

This prevents install of ivy, counsel, swiper and counsel-projectile
packages regardless of helm layer
2019-07-28 16:45:53 +02:00
emacspace 93af3927ea documentation formatting: Sat Jul 27 13:24:53 UTC 2019 2019-07-28 01:09:03 +02:00
syl20bnr 08dc9567b8 [dump] Delay holy and hybrid config after dump is loaded 2019-07-26 22:46:08 -04:00
syl20bnr 0e2935b8d6 Add autoloads for winner-mode 2019-07-26 22:44:35 -04:00
syl20bnr 009777f6cf Add pre-dump for org, emacs-lisp and helm 2019-07-26 16:33:10 -04:00
Thanh Vuong ce30353b52 js, ts and react layers: linter option
this PR does two things for js-related layers:

(i) add option to disable lsp linter
javascript-lsp-linter for javascript and react layers
typescript-lsp-linter for typescript layer
when the value is t, lsp linter will be used in the layer
when nil, let flycheck pick up the best linters available such
as eslint

(ii) when syntax-checking(flycheck) layer is installed, then set
next-error-function value in react and javascript layers to nil, so that
spacemacs next-error, previous-error work A desciption of this issue can be
found at https://github.com/syl20bnr/spacemacs/issues/8078

Co-Authored-By: duianto <otnaiud@gmail.com>
2019-07-26 18:04:25 +02:00
Thanh Vuong b686109541 fix restclient layer
save one keystroke for helm-restclient and document it
2019-07-25 07:47:36 +02:00
Vityou 0835acd268 updated racket logo 2019-07-25 06:30:06 +02:00
Zane Sterling 942a34ce7c s/an helm/a helm/g
https://en.wiktionary.org/wiki/helm#Pronunciation
2019-07-24 15:36:43 +02:00
Thanh Vuong bd6d4c27fd fix #12554 goto-flycheck-error-list 2019-07-24 14:17:53 +02:00
Pepe Iborra 3e8578340d [haskell] include attrap when Dante is used 2019-07-21 20:23:30 +02:00
Steven Allen c0763a3240 lsp: avoid pulling in treemacs/helm when their respective layers aren't enabled 2019-07-21 17:59:41 +02:00
Guido Kraemer e9afae2285 [python] Fixed typos 2019-07-15 22:48:12 +02:00
duianto eaed61fb39 Fix canceling spacemacs/ace-buffer-links
problem:
Canceling "spacemacs/ace-buffer-links" with "C-g" showed the error message:
"goto-char: Wrong type argument: number-or-marker-p, t"

solution:
Only go to and press the link if it's a position (number).
2019-07-14 23:10:57 +02:00
duianto b9e61e6437 Add transient state keys _, j, k
Thanks sdwolfz for the suggestion to add underscore to the transient states,
then the shift key doesn't have to be released if it was held down to press `+`.

Added key bindings:
Evil numbers:
`SPC n _` decrease number under point
in the transient state:
`j` decrease number under point
`k` increase number under point

`SPC T T _` decrease transparency
`SPC z x _` scale down font
`SPC z f _` zoom out frame

Update documentation:
Zoom frame:
`q` quit transient state

Evil numbers:
`SPC n =` increase number under point
`SPC n _` decrease number under point
`0..9` add a number prefix argument
`q` quit transient state

Fixed a typo and made a small rewrite of the tip about using a prefix argument.

Added keys to transient states:
Font scaling:
Added `_` scale down
Reordered `k` assignment to match the order in the transient state

Frame transparency:
Added `_` decrease
Reordered `k` assignment to match the order in the transient state

Evil numbers:
Added `k` increase
Added `_` and `j` decrease

Zoom frame:
Added `_` zoom frame out
Reordered `k` assignment to match the order in the transient state

Which-key entries for Evil numbers `SPC n`:
Group together keys that call the same command:
From: + and =
To:   +,=

From: - and _
To:   -,_
2019-07-14 22:56:57 +02:00
Oguz Serbetci c023542948 Add org-brain bindings for visiting entries and adding headlines and resources 2019-07-14 22:39:57 +02:00
smile13241324 2384c7e5d2 Fix small typo in default popwin config for *undo-tree* buffer 2019-07-14 22:30:18 +02:00
Seong Yong-ju b74d6a9b66 Show *lsp-help* in a popup window using popwin 2019-07-14 22:19:52 +02:00
duianto 280050d4f2 [sql] Add SPC m g prefix: goto
And sort the prefix declarations alphabetically.
2019-07-13 16:06:53 +02:00
Michael Hauser-Raspe ae7139612b Add sql connect to connect to saved sql connection 2019-07-13 15:53:26 +02:00
John Stevenson cc43d5c898 [Clojure] keybinding spacemacs/clj-find-var
Update the existing `SPC m g g` keybinding to use the command
`spacemacs/clj-find-var`.  This makes finding a function definition a much
better experience as you dont have to have the REPL running to find a
definition, but when it is you can use a CIDER specific function.

`spacemacs/clj-find-var` is a wrapper that calls `cider-find-var` if the REPL is
running, otherwise it uses `dump-jump-go`.

Wrapper added in #9792
2019-07-13 15:12:55 +02:00
John Stevenson 8fd218f1e8 [Clojure] keybinding for updated repl jack-in commands
Latest CIDER release uses the following commands for starting the REPL from
within Emacs

`cider-jack-in-clj` to start a Clojure REPL
`cider-jack-in-clj&cljs` to start a Clojure and ClojureScript REPL
`cider-jack-in-cljs` to start a ClojureScript repl

The older aliases are deprecated and are being removed in the latest beta
release of CIDER

`cider-jack-in`
`cider-jack-in-clojurescript`

Keybindings for these jack-in commands have been updated and as there are three
options they have been moved under the repl > jack-in

The top level of the Clojure mode menu has the existing keybindings updated to
use the new commands.  A third top-level keybinding `&` has been added for
`cider-jack-in-clj&cljs`
2019-07-13 14:41:06 +02:00
duianto e12278a323 Revert "[Clojure] Keybinding require Clojure repl utils in current namespace"
This reverts commit 034ee0c311.

It was rebased with the previous commits message.
2019-07-13 14:40:44 +02:00
John Stevenson 034ee0c311 [Clojure] Keybinding require Clojure repl utils in current namespace
Although the Clojure repl utils (clojure.repl) are including in the user
namespace in Clojure projects, they are not available in your application
namespace.

The existing CIDER function cider-repl-require-repl-utils adds the Clojure
repl utils into the current namespace, so you can use functions such as doc
and source.

This is often a source of confusion for those new to Clojure / CIDER.
2019-07-13 12:50:11 +02:00
John Stevenson cd95789170 [Clojure] Keybinding require Clojure repl utils in current namespace
Although the Clojure repl utils (clojure.repl) are including in the user
namespace in Clojure projects, they are not available in your application
namespace.

The existing CIDER function cider-repl-require-repl-utils adds the Clojure
repl utils into the current namespace, so you can use functions such as doc
and source.

This is often a source of confusion for those new to Clojure / CIDER.
2019-07-13 11:52:32 +02:00
emacspace 85bd5e6df0 documentation formatting: Thu Jul 11 18:52:32 UTC 2019 2019-07-13 00:51:22 +02:00
Hong Xu cd24a73429 Add cliphist to the xclipboard layer. 2019-07-11 19:49:21 +02:00
Robert Zaremba d642095380 layer/+lang/go: refactore go-linter setup 2019-07-11 19:22:18 +02:00
Hong Xu 8485e69fa9 Remove documents for magithub in the github layer, as it has already been removed. 2019-07-11 18:08:00 +02:00
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
JAremko 6c12121cec fix links 2019-07-08 23:56:07 +03:00
ramz ee134745bd In docker layer adding shortcuts of machines, volumes and networks 2019-07-07 15:55:15 +02:00
duianto d6cdd6aa88 Add a tutorials section to SPC h T
`SPC h T e` for `emacs-tutorial` (aliased from `help-with-tutorial` for a more
descriptive name)
`SPC h T v` for `evil-tutor-start`

Added a wikipedia link to the `vi` article, where the origins of modal editing
is discussed.
2019-07-07 11:34:16 +02:00
Trapez Breen 9dbc0b9d0c Fix failing lsp-python-ms setup
Configuring lsp-python-ms variables properly.
2019-07-07 11:26:26 +02:00
Vikash Balasubramanian 3ed24436cd Enables eldoc for anaconda-mode 2019-07-07 09:07:17 +02:00
Vikash Balasubramanian 5def0eaae5 Fixes flycheck support in jsonnet files 2019-07-06 18:59:38 +02:00
Jake Romer 7c3d211726 Run foreign keys in evil-numbers transient state 2019-07-06 01:59:04 +02:00
Jonathan Chen 28adf374fe feat(clojure-lang): add cider-eval-sexp-at-point
Adds a useful CIDER command that doesn't have an idiomatic Spacemacs command.

Ref:
https://cider.readthedocs.io/en/latest/interactive_programming/#using-cider-mode
2019-07-06 00:17:03 +02:00
Mariusz Klochowicz d6c8df3d00 Add org-pomodoro keybinding in org-journal-mode. 2019-07-04 13:03:20 +02:00
emacspace d8defccf7a documentation formatting: Wed Jul 3 08:44:16 UTC 2019 2019-07-03 11:49:45 +03:00
JAremko b5af9b0b5d update .org tags 2019-07-03 11:32:58 +03:00
Benjamin Hipple 2bef3f67e0 dash: provide config option to skip auto-load of all docsets
In the upstream dash-docs and helm-dash documentation, they suggest a workflow
where users leave relatively little in `dash-common-docsets`, and instead add
per-mode hooks to enable specific docsets, since a user is unlikely to want
Python documentation while in a C++ buffer and vice versa. Currently, the
spacemacs dash layer will automatically discover all installed docsets and add
them to `dash-common-docsets`.

This commit adds a config option `dash-autoload-common-docsets` that can be set
to nil to skip the auto-loading and allow users to opt-in.

Co-Authored-By: duianto <otnaiud@gmail.com>
2019-07-01 21:42:25 +02: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
NicholasTD07 f2e4b8d377 Run set-fontset-font only if it is available (for emoji layer) 2019-06-29 13:57:44 +02:00
Olivier Verdier 7818fa3ccf add bindings to navigate between errors in tex mode 2019-06-28 20:32:11 +02:00
Brandon T. Willard 2cfcf54458 Use return value from advised function in yank-indent-region
Closes #12479.
2019-06-28 12:08:49 +02:00
syl20bnr 1aa0af260e Move indirect buffer key bindings to SPC b N prefix 2019-06-26 00:10:01 -04: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
syl20bnr f04ff9e837 Change SPC , to SPC j c to go to last change 2019-06-25 23:52:21 -04:00
syl20bnr 6ce974795e Change SPC j C to SPC j ( to jump to fist unbalanced parens 2019-06-25 23:49:21 -04:00
emacspace 0b0497d592 documentation formatting: Tue Jun 25 10:18:15 UTC 2019 2019-06-26 01:32:08 +02:00
Dave Aitken f40361fd64 Add reasonml layer 2019-06-25 12:03:36 +02:00
jcaw d4cca74854 Add support for visual line numbers
Emacs 26 added built-in support for line numbers, relative line numbers, and
visual line numbers. Spacemacs supports only absolute and relative, but there is
no way to access the visual mode. It's hard to get around this, since Spacemacs
abstracts line numbers to a reasonably high degree.

Arguably, `visual` is much more useful than `relative` as a display type. Visual
line numbers are like relative line numbers, but only lines that are actually
showing are counted. This means:

  1. Hidden lines are not counted. If a large amount of text is folded, the line
     numbers won't jump from "10" to "546". This is particularly useful in
     buffers like `magit-status`, where a large amount of information is folded
     by default.

  2. Lines that are wrapped are counted as multiple lines, since they're being
     displayed as multiple lines in the editor. Each visual line will be
     numbered - unlike `relative`, where the entire thing is numbered... Once.

With standard relative line numbers, you can't actually navigate using the line
numbers in the sidebar as soon as folded or wrapped lines are introduced. Since
this is one of the main use cases for relative line numbers, this is a big
problem.

Visual mode fixes that problem. Every line that's being displayed is labelled.
Numbers always correspond to the actual number of lines you'd need to navigate
to reach that line.

This commit extends Spacemacs' line number interface to provide visual line
number support.
2019-06-23 19:16:44 +02:00
Georgi Lyubenov f2a6872afb Adapt agda2-auto call to agda 2.6.0 changes
* It's now agda2-auto-maybe-all. If you are not currently in a hole
it tries to `auto` all holes by default.
* Find and set an agda-version variable, to keep compatibility with
previous agda versions.
2019-06-23 16:47:33 +02:00
duianto 4d4d1b5b38 Update Helm Transient State, show g and G keys
Revealed already bound navigation keys:
- `g` go to first candidate
- `G` go to last candidate

Moved `[q] quit` from bottom left to bottom right, to match other TSs.
Reduced spacing between keys and descriptions from two to one space.
2019-06-21 19:30:30 +02:00
Sheng Yang 0a202138b9 Allow mouse pasting in term based shells 2019-06-21 19:22:25 +02:00
duianto 279e70106f [treemacs] Load projectile key binding with treemacs
The `C-c C-p p` (`treemacs-projectile`) key binding wasn't loading automatically
with Treemacs, until the command had been called manually.
2019-06-21 19:08:01 +02:00
Jim Pudar 0f40fe9df2 Improve point handling in perltidy functions
This moves the point and content of the window close to where you were
before you ran perltidy. Of course if perltidy adds or removes a
significant amount of characters / lines as part of tidying, the point
will be moved by that amount. However in practice this I've found this
to be close enough.
2019-06-21 19:04:34 +02:00
duianto 5389bf976d [treemacs][doc] Update projects key binding prefix
The upstream Treemacs projects key binding prefix has changed.
From: C-p
To:   C-c C-p
2019-06-19 14:47:37 +02:00
Binbin Ye f644c59ab8 Add a layer variable osx-swap-option-and-command
set to non-nil to swap command and option key on macOS
2019-06-18 14:21:56 +02:00
Binbin Ye da3c7ee1f7 Add a default value for kbd-mac-command 2019-06-18 14:11:01 +02:00
duianto 1554bdda9f Remove new layout confirmation question 2019-06-17 13:23:17 +02:00
duianto de2297b2e1 Fix copied dir not in minibuffer, clipboard disabled
Fixed the minibuffer showing: `nil`
when `select-enable-clipboard` is `nil` and the current files
path/dir/file/line/column/etc. is copied with the keys under
the prefix: `SPC f y`
2019-06-17 09:20:01 +02:00
emacspace cbe174021c documentation formatting: Mon Jun 17 06:48:02 UTC 2019 2019-06-17 09:05:38 +02:00
Juha Jeronen 672e3db625 Customizable major-mode for new empty buffers
New var: dotspacemacs-new-empty-buffer-major-mode

Set to a symbol naming a mode (e.g. 'text-mode) to apply that major mode to any
buffers newly created in Spacemacs by spacemacs/new-empty-buffer.

Fixes #12382.
2019-06-17 08:26:56 +02:00
cormacc b80154bd52 Corrected instructions relating to ms language server from git 2019-06-15 23:55:20 +02:00
emacspace 7b406a016a documentation formatting: Fri Jun 14 07:02:59 UTC 2019 2019-06-15 10:49:33 +02:00
Andrew Grangaard 17c4219d05 Update reveal.js cdn url for new format and v3.8.0
* jsdeliver url format changed from `<project>/<version>/file` to `npm/<project>@<version>/<file>` sometime in 2017.
  The old urls still work, but they aren't getting updated.
* The current reveal.js version is 3.8.0

current CDN version: https://cdn.jsdelivr.net/npm/reveal.js@3.8.0
2019-06-14 08:56:19 +02:00
duianto ec01b45744 [chinese][doc] Add space before open parenthesis
A space was added before the open parenthesis containing chinese characters, in
the section titles.

This solves a convention issue in the table of contents links (that are
generated from the titles), where the latin and chinese characters were next to
each other without a separating space.

When the space is added, then the generated links change the space to a dash.

A space was also added before any open parenthesis (with chinese characters) in
the non title text.

And a single full-width close parenthesis was changed to the half-width version
to match the other close parenthesis.

Thanks AmaiKinono for pointing out the issue.
2019-06-13 21:40:08 +02:00
emacspace 19c429e7c0 documentation formatting: Thu Jun 13 13:33:14 UTC 2019 2019-06-13 15:49:54 +02:00
John Stevenson bb34374818 Add keybinding for cider-interupt
Interrupt longer running evaluations without having to kill or reset the REPL
connection.

Placed in the evaluate section, as it is specific to the currently running
evaluation.
2019-06-13 15:27:02 +02:00
Alexander Miller 2e14b4a88c Don't use large file check in buffers already in fundamental-mode.
This change will prevent unnecessary requests to literally open files that are
literal already (like elfeed's index file).
2019-06-13 15:05:34 +02:00
duianto 47f83609d5 [clojure][doc] markdown inline code to org verbatim
Change surrounding characters: markdown inline code to org verbatim.
2019-06-13 01:27:48 +02:00
duianto 9aaef2a22b Update Scrolling Transient State
Added new key bindings:
- In the Buffer column:
Added "g" and "G":
[</g] beg
[>/G] end
- In a new Other column:
[q] quit

Reordered the columns:
From: Large to small: buffer, full page, half page, line/column
To: Small to large: line/column, half page, full page, buffer

Reason: The most used (first listed) bindings are probably not scroll to the
"beginning" or "end" of the buffer.

Rearranged the half page columns two instances of "down/up" to one "down" and
one "up".

Reduced the TS width:
- Separated the line/column and full page keys to one "down" and one "up", and
the buffer keys to one "beginning" and one "end".
- Renamed "beginning" to "beg".

Reordered the key bindings (TS) logically: "up" above "down".

Reordered the key bindings (code):
Arranged them in the same order as the columns in the TS.
2019-06-13 00:49:43 +02:00
John Stevenson 218eb955ef Add keybinding for flyspell-correct-at-point
Add a keybinding to provide a simple way to correct the spelling of a word at
the current point.  This enables fixing the spelling mistake as it happens with
low ceremony.
2019-06-12 23:44:41 +02:00
Sebastian Nagel ba2edbb530 Add ox-jira as org export backend to org layer
Optionally enable is using org-enable-jira-support layer variable
2019-06-12 20:45:28 +02:00
Jordan Kaye 828a1919df Add dotnet cli layer 2019-06-12 20:36:14 +02:00
Michael Franz Aigner ddf7459a02 Fix lazy-loading of ruby-test-mode
This change fixes a syntax mistake in the use-package declaration of
ruby-test-mode that causes the package to be loaded immediately, instead of
deferring the load until the first ruby file is visited, as is intended.
2019-06-12 19:37:26 +02:00
Liu Chong bd61f2e8a0 Remove cider.nrepl/cider-middleware in lein quick start setting
Don't need this `cider.nrepl/cider-middleware` in lein profiles.clj.

It will result in error, the `cider.nrepl/cider-middleware` not middleware but a vector of all cider-nrepl middlewares:

> https://github.com/clojure-emacs/cider-nrepl/blob/master/src/cider/nrepl.clj#L483
2019-06-12 19:31:16 +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
AmaiKinono 5b7b5f2526 [chinese] Fix fcitx.el. And add a variable
Make fcitx.el work by default, it was not configured properly.

Added a layer variable to decide if dbus should be used or not:
chinese-fcitx-use-dbus
(default: nil)

Corrected README.org:
It's the dbus interface (not fcitx-remote) that is needed for linux.
2019-06-11 22:53:37 +02:00
emacspace 3d4e6fc0df documentation formatting: Sun Jun 9 19:54:33 UTC 2019 2019-06-09 22:02:10 +02:00
sunlin7 70a5a40d54 Make projectile recognize C++ projects by search for ".ccls" file 2019-06-09 21:59:46 +02:00
Miciah Masters 461a36b981 purpose: Add chat and mail purposes
Map erc, jabber, rcirc, and slack buffers to the "chat" purpose.

Map gnus, mu4e, and notmuch buffers to the "mail" purpose.
2019-06-09 21:47:21 +02:00
smile13241324 9ebf17af49 Make javascript layer adhere to REPL conventions and fix typescript doc 2019-06-09 21:21:30 +02:00
Uros Perisic eee7d20bfe Add and configure nodejs-repl package to javascript layer.
Add relevant keybindings and documentation, including a setting
`js2-include-node-externs` as a configuration variable for those that intend to
use `Spacemacs` for node projects, as it currently seems to be mostly aimed at
pure JS (https://github.com/syl20bnr/spacemacs/issues/483).
2019-06-09 18:29:08 +02:00
Ryan f1d55ed002 Add eslint as option for linting typescript 2019-06-09 17:59:01 +02:00
刘冲 803d4e7202 Fix mismatched brackets in markdown README
Added a missing close bracket and removed the useless line `dotspacemacs-configuration-layers '(`
2019-06-08 21:49:23 +02:00
Anton Alekseev b5027f8f2a Add key bindings for indirect buffer functions 2019-06-08 20:36:34 +02:00
Magnus Therning 37dcecbec9 Put the jump handlers straight into the buffer var
Fixes #12238
Fixes #12289
2019-06-06 14:36:09 +02:00
duianto 4cb9226302 Update changelog.develop and markdown readme 2019-06-05 22:45:34 +02:00
AmaiKinono 234c7e7e10 rebind markdown-insert-list-item to M-RET M-RET 2019-06-05 22:28:49 +02:00
AmaiKinono 0fcdf44b34 Add various keycommands to markdown layer. 2019-06-05 22:28:49 +02:00
Anton Alekseev 832ddd4268 Enable prettier formatter for HTML buffers 2019-06-05 18:48:54 +02:00
emacspace fc36771313 documentation formatting: Sun Jun 2 20:15:51 UTC 2019 2019-06-02 23:47:05 +02:00
duianto bbd75935e8 [helm] Load helm before completion-at-point
When trying to complete a path at the `:e ` evil-ex-completion prompt by
pressing `TAB`.

Before: The default Emacs `*Completions*` buffer opens.
After: The `HELM Completion At Point` buffer opens.

And sorted the transient hooks alphabetically.
2019-06-02 21:20:08 +02:00
cormacc 00b2db982d Added support for Microsoft Python Language Server
<<26/04/2019>>
Incorporated feedback from robbyoconnor and yyoncho.
Rebased.

<<08/04/2019>>
Rebased on develop tip

<<17/04/2019>>
Rebased

<<02/06/2019>>
Rebased. Incorporated feedback from duianto.
2019-06-02 21:14:50 +02:00
Boris Buliga 06730f24cc use orgtbl-mode only when org layer is used
1. Fixes #6535 - when org layer is not used, user will see an error upon
   visiting markdown file.
2. Mention orgtbl-mode in readme.
2019-06-02 20:50:51 +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
duianto 7dace901a2 [javascript][doc] Update key toggle live evaluation
The key binding was changed in this commit:
javascript: change key binding for repl live eval toggle
8bc9060af8

This updates the documentation.
From: SPC m s a
To:   SPC m T l
2019-06-01 14:49:27 +02:00
Seong Yong-ju ff4a08d3fa Add a missing prefix for plantuml-mode 2019-05-31 18:12:41 +02:00
Seong Yong-ju 59504029b1 Configure emmet-mode for typescript-tsx-mode 2019-05-31 17:57:37 +02:00
Seong Yong-ju 1e00461dd8 Organize the header file includes in C++ buffer 2019-05-31 17:34:36 +02:00
Seong Yong-ju 80ff9053a3 Add rubocopfmt to format Ruby buffers 2019-05-31 16:58:57 +02:00
Seong Yong-ju afa3dd0870 Add LSP support for stylesheet buffers 2019-05-31 16:37:02 +02:00
madand a281e6979f Fix dash//activate-package-docsets when using counsel-dash
When counsel-dash is installed, but helm-dash isn't, startup error
(void-function dash-docs-installed-docsets) will be triggered.

Since common functionality of both counsel-dash and helm-dash was refactored
into dash-docs, a standalone package, the layer code was updated to use the
variables and functions from that package. This also fixed the mentioned error.
2019-05-31 12:11:33 +02:00
emacspace 4610076709 documentation formatting: Thu May 30 07:45:00 UTC 2019 2019-05-30 22:56:18 +03:00
Christopher Eames 39ce04ccd9 fix indent-command. 2019-05-28 18:40:20 +02:00
benbotwin d1934f8e30 [sql] Add send line functions
Add wrappers forcing non-pop commands to not pop to the SQLi buffer
2019-05-28 18:06:28 +02:00
Kirill A. Korinsky ffffb90868 Introduced support of org-jira 2019-05-28 17:08:06 +02:00
emacspace 2aa62bb5ed documentation formatting: Tue May 28 14:41:10 UTC 2019 2019-05-28 17:43:54 +03:00
JAremko ce4e6e355f tag docs 2019-05-28 17:35:49 +03:00
JAremko e89f6f8537 fix html installer (docker dist) 2019-05-28 17:35:49 +03:00
David Parrish 0f9315e634 Add FAQ entry for using hlint with Intero backend 2019-05-28 13:04:08 +02:00
et2010 2e6e69eeff latex layer: add company-reftex 2019-05-28 11:47:03 +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
Billy Kaplan 5a0ab04653 Adding Ruby LSP Backend and DAP support 2019-05-27 22:09:31 +02:00
duianto 348e996f7d [multiple-cursors] Update snippet, sort key bindings
Show the better supported backend in the readme snippet.
2019-05-27 15:46:07 +02:00
emacspace c7c348a676 documentation formatting: Sun May 26 20:58:52 UTC 2019 2019-05-27 01:23:35 +03:00
bb2020 d68c6311d6 Add magnars's multiple-cursors backend 2019-05-26 22:51:26 +02:00
Juha Jeronen b4907d0540 Fix spacemacs//helm-open-buffers-in-windows
Opening more files than available windows, showed:
Symbol’s value as variable is void: cl-return

Fix #12358
2019-05-25 12:30:36 +02:00
duianto 8a4bf9c655 filetrees: remap winum-select-window-0-or-10
Problem:
`C-x w 0` calls `winum-select-window-0-or-10` which shows:
winum-select-window-by-number: No window numbered 10

Solution (Thanks Miciah):
Remap `winum-select-window-0-or-10` to the current filetree command:
`neotree-show` or `treemacs-select-window`

Then all three key bindings:
`C-x w 0`, `SPC 0` and `M-0` will call the same filetree command.

Additionally:
Renamed the remapped which-key name to the filetree command.

Wrapped lines to keep them under 80 chars.
2019-05-24 20:55:11 +02:00
bb2020 e1cde25da6 Add bindings for goto-last-change and check-parens 2019-05-24 18:42:55 +02:00
李旭 3ddd99d92c treemacs: Add missing key binding description
and fix some typo
2019-05-24 14:05:01 +02:00
Sorawee Porncharoenwase 8671362aa9 evil-unimpaired switch from normal to motion state
This change will make buffers with the motion state
(e.g., spacemacs home buffer) be able to use the
evil-unimpaired navigation key bindings.

Note that the normal state will inherit the motion
state map anyway, so there's no need to set the
normal state map separately.
2019-05-23 08:59:58 +02:00
bb2020 6f34185784 [ivy] Add ivy-ret-visits-directory variable 2019-05-21 22:47:21 +02:00
Ivan Yonchovski 23df5aa55e [java] Sync java lsp backend with latest lsp-java functionality
- new keybinds for the new functionality
2019-05-20 20:26:14 +02:00
Ivan Yonchovski 44a320efd6 [dap] Evilfy dap-mode windows 2019-05-20 20:05:19 +02:00
Oguz Serbetci 0d08e69f89 Fix typo on org-brain-add-friendship binding. 2019-05-20 19:43:44 +02:00
emacspace f1604ce3a4 documentation formatting: Mon May 20 12:30:13 UTC 2019 2019-05-20 15:36:04 +03:00
JAremko 4da94bc4ca Use single dockerfile
At the moment of this commit
the images haven't been updated yet
2019-05-20 15:25:00 +03:00
JAremko 5591943c32 fix links 2019-05-20 15:25:00 +03:00
JAremko 8f7b979808 add devdocs tool 2019-05-20 13:10:10 +03:00
emacspace 4c8d820585 documentation formatting: Sun May 19 20:32:09 UTC 2019 2019-05-19 23:52:00 +02:00
Ag Ibragimov fd76a7f300 Add j and k to transient states
It is nicer when user can stay in the "home row" for basic operations like
zooming in and out

Font Scaling Transient State
`k` scale up
`j` scale down

Frame Transparency Transient State
`k` increase transparency
`j` decrease transparency

Zoom Frame Transient State
`k` zoom frame in
`j` zoom frame out

Added two additional Zoom Frame TS keys:
`m` max frame
`f` fullscreen
2019-05-19 22:24:11 +02:00
Kalle Lindqvist 367f5ff28c spell-checking: add words to dictionary functionality
When writing documents in latex or any markup language there is soon or later
going to be unrecognized words that get falsely flagged as incorrect. These
functions and key-bindings allows the user to add unrecognized words to the
dictionary so they are recognized as correctly spelled words by ispell/flyspell.
This seem's like a must have feature for any application that does any kind of
spell checking.

Added key bindings:
SPC S a b for Add word to dict (buffer)
SPC S a g for Add word to dict (global)
SPC S a s for Add word to dict (session)

Spell Checking Transient State:
SPC S . B for Add word to dict (buffer)
SPC S . G for Add word to dict (global)
SPC S . S for Add word to dict (session)
2019-05-19 22:09:20 +02:00
JAremko 1554873414 fix links 2019-05-18 13:25:44 +03:00
JAremko 5cc823cc0f add flycheck-clojure 2019-05-18 02:17:43 +03:00
emacspace ababcef041 documentation formatting: Fri May 17 22:49:40 UTC 2019 2019-05-18 00:56:36 +02:00
Andrew Vit f15e242bb8 Update keybinding documentation for gtags setup 2019-05-18 00:37:35 +02:00
clwgg 6d406e034d Add org-cut-subtree key-bind to org layer
This binds org-cut-subtree to ~SPC m s d~, similar in spirit to other 'delete'
bindings in evil-mode emacs.
2019-05-18 00:09:07 +02:00
duianto bf75b9d899 Move add-hook inside progn
And limit lines to 80 chars.
2019-05-16 15:43:36 +02:00
Dominik Schrempf 15d8a03e5b `spacemacs-theme'; no overrides.
Do not override customizable settings from `spacemacs-theme', since those should
be set on a per user basis in the configuration file.
2019-05-16 00:00:31 +02:00
JAremko 988e6778ba
fmt docs 2019-05-15 21:10:07 +03:00
Anton-Latukha f6660f82d4
Switch to the new layers generator 2019-05-15 21:08:21 +03:00
Anton-Latukha 2ee74f55da layers: lang: new structure: add DSL (&markup), framework, util
layers: lang: mv framework -> programming/framework

layers: programming: framework: upd
2019-05-15 21:05:09 +03:00
Anton-Latukha ba074bc908 layers: lang: new structure: general: add pure, multi-paradigm (&js) 2019-05-15 21:04:48 +03:00
Miciah Masters 322528ca8d spacemacs-layouts: Fix adding buffers to new persp
Delete the hook that commit 9fcf8c898d added
to persp-created-functions, and change spacemacs/ivy-spacemacs-layouts,
spacemacs/helm-perspectives, spacemacs/helm-persp-switch-project, and
spacemacs/ivy-persp-switch-project to achieve the intended goal of adding
the desired buffers after creating a new perspective.

Change spacemacs/helm-persp-switch-project and
spacemacs/ivy-persp-switch-project as follows: If the user selects a
project but then quits without selecting a file or buffer, the new
perspective is now immediately killed.  Otherwise, if the perspective did
not already exist, any buffers that belong to the selected project are
added to the perspective.

Add the following actions to spacemacs/ivy-spacemacs-layouts and
spacemacs/helm-perspectives:

* Create a new perspective with the Spacemacs home buffer (default action).
* Create a new perspective with the buffers that belong to the current
  buffer's project.
* Create a new perspective with the buffers that belong to the current
  perspective (i.e., make a copy of the current perspective).

This commit resolves the problem reported in
9fcf8c898d (commitcomment-33343455).

This commit also fixes a problem with the default action for
spacemacs/ivy-spacemacs-layouts and spacemacs/helm-perspectives.  According to
commit 7b931a9f5b, the default action is supposed
to display the home buffer if the action creates a new perspective, which was
determined by checking whether the perspective was missing from the list of
perspectives _before_ switching.  However, commit
eb7ca651fe changed this logic so it was checking
whether the perspective was missing from the list of perspectives _after_
switching.  This commit restores the correct logic.

* CHANGELOG.develop: Update.
* layers/+completion/ivy/funcs.el (spacemacs/ivy-spacemacs-layouts): Add
"Copy Current Layout" and "Create Project Layout" actions to the docstring.
Use spacemacs//create-persp-with-home-buffer for the default action.
* layers/+completion/ivy/packages.el (ivy/post-init-persp-mode): Add
actions for spacemacs//create-persp-with-current-project-buffers and
persp-copy.
* layers/+spacemacs/spacemacs-layouts/funcs.el
(spacemacs||switch-layout): New macro.  Switch to the named perspective,
and initialize it using the provided forms if the perspective is new.
(spacemacs//create-persp-with-current-project-buffers): New function.
Create a new perspective with the current project's buffers.
(spacemacs||switch-project-persp): New macro.  Switch to the named
perspective, and evaluate the provided forms with
projectile-after-switch-project-hook bound with a hook that adds the
current project's buffers to the perspective.  If the user quits during the
evaluation of the forms, kill the perspective.
(spacemacs//create-persp-with-home-buffer): New function.  Switch to the
named perspective, and go to the Spacemacs home buffer if the perspective
is new.
(spacemacs/helm-perspectives): Use spacemacs//create-persp-with-home-buffer
for the default action.  Add actions for
spacemacs//create-persp-with-current-project-buffers and persp-copy.
(spacemacs//helm-persp-switch-project-action): New function.  Switch to the
named perspective and call projectile-switch-project-by-name, using the new
spacemacs||switch-project-persp macro.  Bind helm-quit-hook with a hook
that kills the new perspective if the user quits
projectile-switch-project-by-name.
(spacemacs/helm-persp-switch-project): Use
spacemacs//helm-persp-switch-project-action.
(spacemacs//ivy-persp-switch-project-action): New function.  Switch to the
named perspective and call counsel-projectile-switch-project-action with a
hook to add the project's buffers to the new perspective.
(spacemacs/ivy-persp-switch-project): Delete advice for
counsel-projectile-switch-project-action.  Use
spacemacs//ivy-persp-switch-project-action instead.
(spacemacs//add-project-buffers-to-persp): Deleted.
* layers/+spacemacs/spacemacs-layouts/packages.el
(spacemacs-layouts/init-persp-mode): Don't add a hook to
persp-created-functions.
2019-05-13 17:11:27 +02:00
emacspace 9a8612e8c6 documentation formatting: Mon May 13 02:07:29 UTC 2019 2019-05-12 22:11:52 -04:00
syl20bnr 5fc026d5ae [org] Add documentaion about org-cliplink 2019-05-12 22:01:26 -04:00
syl20bnr c471d91757 [ocaml] Sort key bindings 2019-05-12 21:57:17 -04:00
Lyman B. Gillispie af55934995 [ocaml] Add support for dune via dune-mode.
Dune is a popular build-tool for OCaml projects, the `dune` package adds:
 - Adds syntax highlighting
 - Template insertion
 - Some testing/compilation functions
2019-05-12 22:22:13 +02:00
bb2020 d7686199c8 [org] Add org-cliplink package 2019-05-12 22:13:41 +02: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
syl20bnr 953573ade5 [helm] Document SPC s C and sort key bindings 2019-05-12 11:35:35 -04:00
syl20bnr 6bb459fcf1 [alda] Sort key bindings 2019-05-12 11:31:01 -04:00
syl20bnr 8c9f3f8c4f [alda] Add image to README.org 2019-05-12 11:29:15 -04:00
syl20bnr 8fa16d19a9 [editing] Document key binding ~SPC x y~ and sort them 2019-05-12 10:59:57 -04:00
syl20bnr c2f14a2498 [org] Sort key bindings 2019-05-12 10:19:35 -04:00
syl20bnr c444a00c48 [org] Change transient key tc to ti for clock issues
As the most important keyword here is "issues", the clock is already referenced
with the t prefix wihich is about "time".
2019-05-12 10:15:09 -04:00
syl20bnr 0d123b28db [csharp] Change execute test key bindings to conventional ones
~SPC m t t~ is for test around point
~SPC m t l~ is to re-execute the last test
2019-05-12 10:09:10 -04:00
syl20bnr 6d8040f2db Replace some if by when where appropriate 2019-05-12 10:01:05 -04:00