Commit graph

5604 commits

Author SHA1 Message Date
Daniel Nicolai 6c15706edf Add grip-mode to github layer 2020-11-14 09:47:36 +01:00
Brad DeMorrow 184bb2b008
Add tR hotkey for org-table-recalculate-buffer-tables (#14130)
* Add tR hotkey for org-table-recalculate-buffer-tables

* Update Documentation

Co-authored-by: Brad DeMorrow <brad@demorrow.net>
2020-11-12 23:16:06 +01:00
Maximilian Wolff 48b1d2fcf9
[graphql] Revise package and config file
Removed obsolete comments
Replaced wrong header in config.el
Add missing progn and fix wrong parenthesis
2020-11-12 23:06:43 +01:00
Thanh Vuong dd2217b50e [new layer][graphql] add graphql layer
It builds around graphql-mode
- Syntax highlight and graphql calls with graphql-mode
- Autocomplete with comapy-dabbrev
- Format buffer with prettier
- Go to definition with ahs
2020-11-12 23:03:26 +01:00
Maximilian Wolff 0046448c81
[org] Fix key binding table formating 2020-11-12 22:52:55 +01:00
Marty Buchaus 836d5c315e
Org roam tag bindings (#14109)
* add org-roam tag-add and tag-delete +prefix
Co-authored-by: madand <dev@madand.net>
2020-11-12 22:50:31 +01:00
emacspace 55d94cbdda documentation formatting: Tue Nov 10 22:56:00 UTC 2020 2020-11-12 22:38:27 +01:00
madand 278db6a11f [pdf] ~?~ toggles transient sate documentation hint (shown by default)
Backwards compatible by showing the docs by default. Allows to reclaim the
precious display space for viewing the actual PDF.
2020-11-12 22:37:36 +01:00
Youmu 483d5493cd Remove eshell obsolete variable
`eshell-buffer-shorthand` was removed in Emacs 25, see https://github.com/emacs-mirror/emacs/blob/master/etc/NEWS.25#L1078-L1082
2020-11-12 22:33:06 +01:00
Maximilian Wolff 0d609c09d4
[latex] Fix broken binding for SPC m R TAB
Fixes key warning mentioned in #12975
2020-11-12 22:03:47 +01:00
Maximilian Wolff c3872f165c
[crystal] Add lsp support and revise key bindings
Also fixed not working flycheck integration.
2020-11-10 22:43:18 +01:00
Maximilian Wolff 48f25917c1
[web-search] Add Melpa Package Search option 2020-11-09 23:27:33 +01:00
Maximilian Wolff 24d8d329eb
[LSP] Add documentation for missing functional area "action" 2020-11-09 23:18:57 +01:00
Maximilian Wolff 5dd1b63219
[fsharp] Add LSP support 2020-11-09 23:12:04 +01:00
madand 4c2fcc13cb [org] Activate insert state after some org-insert-* commands
Having to manually press i after using any of these commands is annoying to say
the least. This commit affects the following commands:
- org-insert-drawer
- org-insert-heading
- org-insert-item
- org-insert-structure-template

Change to org-insert-heading also affects other commands that use it
internally (e.g. org-insert-subheading).
2020-11-02 19:49:51 +01:00
duianto ee45910a0d [ranger] Add nil to ranger-enter-with-minus possible values 2020-10-31 14:43:09 +01:00
emacspace 45691dd545 documentation formatting: Sat Oct 31 08:55:13 UTC 2020 2020-10-31 13:07:55 +01:00
Thanh Vuong 97868ced62 fix #14100
Vterm => VTerm sorry :)
2020-10-31 09:52:49 +01:00
Keith Pinson 61fc17c6ee [core] clear search highlights on narrow to indirect buffer
This avoids more problems found by @duianto.

Also:
* Use more descriptive variable names
* Print message explaining lack of narrowing in visual block mode
2020-10-31 09:15:12 +01:00
Keith Pinson 82974b454e [core] fix visual modes for narrow to indirect buffer
* Apply @duianto's fix to only activate visual selection it if it was active
  previous to the creation of the indirect buffer
* Block use of visual block mode because of continuing problems in that mode,
  and its questionable usefulness in this case
* Extract commonalities out of the narrowing functions
* Make the new keybindings into a list in the changelog for readability, per
  @duianto
2020-10-31 08:57:46 +01:00
Keith Pinson 5b4b6af8d3 [core] fix narrow to indirect buffer from visual mode 2020-10-31 08:57:46 +01:00
Keith Pinson 603d7fbe0b [core] provide keybindings for using narrow with an indirect buffer
This is useful if you want multiple narrowing in the same base buffer.

Fixes #12550 with proposed bindings by @duianto.
2020-10-31 08:57:46 +01:00
emacspace 0291e9eb56 documentation formatting: Mon Oct 26 23:33:02 UTC 2020 2020-10-30 21:51:07 +01:00
Maximilian Wolff abac41e8d0
Fix small doc typos in shell and latex layers 2020-10-30 21:44:17 +01:00
Thanh Vuong a477ea63ce [shell] new helm/ivy functions to search vterm history
Based on http://xenodium.com/search-bash-history-with-emacs-helm/

Add new helm/ivy functions `spacemacs/helm-vterm-search-history`,
spacemacs/counsel-vterm-search-history to search bash history and insert to
vterm/shell

Bind this function to M-r for vterm

New layer variable spacemacs-vterm-history-file-locatition to customize bash file

Default is nil.

Also bind add counsel-shell-history to `, H` for shell-mode in the same
convention as helm counterpart.

[shell] wip
2020-10-30 21:17:04 +01:00
Daniel Nicolai 60f859d26d
Specify configuration layers info pages and add cross links
Searching for information about configuration layers is confusing because both
the overview and development info pages have the same title (try it with
google). Specifying those info pages title names and adding cross links makes
the docs friendlier.
2020-10-30 21:10:48 +01:00
Maximilian Wolff 57baf7d237 Add lsp support to latex layer 2020-10-30 21:06:34 +01:00
duianto fa83c0ed5a [ranger] Add 'ranger as an option to ranger-enter-with-minus
Added 'ranger as an option to the variable: ranger-enter-with-minus
Changed the default value from: t to: 'deer.
Bound the key to evil-motion-state-map instead of evil-normal-state-map
so that - also works from the Spacemacs home buffer.
2020-10-30 20:55:04 +01:00
Carlos F. Clavijo 3eb66f4ce3 [erlang] add LSP support through erlang_ls 2020-10-26 23:29:49 +01:00
emacspace 41d658a49f documentation formatting: Fri Oct 23 17:59:51 UTC 2020 2020-10-26 23:18:03 +01:00
Lucius Hu 3c35407968
Minor changes on helm layer (#14088)
* Added `helm-ag-success-exit-status` when using `rg`

It's been advised by the upstream of `helm-ag` to set
`helm-ag-success-exit-status` to `'(0 2)`.

This commit adds this.

ref: https://github.com/emacsorphanage/helm-ag#helm-agel-with-other-searching-tools

Signed-off-by: Lucius Hu <lebensterben@users.noreply.github.com>

* Use `magit-status-setup-buffer` instead of `vcr-dir`

This is suggested by the package itself.
Ref: 4da1a53f2f/helm-ls-git.el (L184-L189)

Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2020-10-26 23:11:54 +01:00
madand 5884aa9aaa [ivy] Lazy load ivy-avy and ivy-hydra after ivy 2020-10-26 23:08:04 +01:00
nobv ab52131d98
Add lsp for purescript (#13840) 2020-10-23 18:57:47 +02:00
Ray Wang 905d4392c5
Add spacemacs-scratch-mode-hook
Also run-hooks in spacemacs/switch-to-scratch-buffer

update CHANGELOG.develop and retrigger workflow
2020-10-23 18:34:25 +02:00
Keith Pinson e2718dd046
[git] Implement performance hack for MacOS from Magit Manual (#14070)
* [git] make finding of Git on MacOS more reliable per @tko
* [git] remove Darwin condition on finding git executable
2020-10-23 18:21:22 +02:00
emacspace 1bca56f9fe documentation formatting: Thu Oct 22 18:55:54 UTC 2020 2020-10-22 23:35:07 +02:00
Aaron L. Zeng 1cbc752463 [ocaml] Add ocamlformat package and configure format-on-save 2020-10-22 23:28:41 +02:00
Keith Pinson 7cc1f06986 [org] SPC m s N -> SPC m s w to match mnemonics of SPC n w
I chose to go this way rather than the other way because:

* Whenever you can avoid holding down a modifier key, great!
* It seems like the more specific should yield to the more general

This may be a controversial change, because it could break some folks' finger
memory. However I consider this a very unpleasant inconsistency that inhibits
the development of finger memory, so I thought I would at least suggest it as
the default for Spacemacs.
2020-10-22 23:14:41 +02:00
Martin Račák 9c31d4f953 Hide sphinx-doc-mode lighter 2020-10-22 22:53:05 +02:00
Boris Sergeyev 3e033e39f6 [helm] helm-swoop, ignore helm-full-frame' and pop-up-windows'
because current implementation does not support full-frame usage:
see https://github.com/syl20bnr/spacemacs/issues/2157
2020-10-22 19:49:49 +02:00
nanashi0x74 76849892e1 Fix three typos in various files
This commit fixes typos in doc/layers.org and the readme.org files of bootstrap and
java layers.
2020-10-19 11:48:51 +02:00
nanashi0x74 c8b717c9be [lsp] Add keybinding for lsp-version command 2020-10-19 11:45:53 +02:00
Lucius Hu f2b17d8cd7 remove "SPC d" binding
"SPC d" was used for documentation related keybindings, such as in `dash`
layer.
But it's now used for `dap` layer exclusively.
Removing this won't cause any issue as `dap` layer would correctly set
the keybindings once it's loaded.
2020-10-17 10:23:24 +02:00
Rahul Rameshbabu 1dd17e10ee [c-c++] Fixed typo in README.org 2020-10-17 10:21:06 +02:00
NANASHI0X74 efcab8f61a
Bind typescript-format to "==" or "=" depending on backend (#14049)
* Bind typescript-format to "==" or "=" depending on backend

This fixes a problem when using 'lsp backend: the lsp layer binds its own
formatting functions under "=" as a prefix. The spacemacs/typescript-format
function which the typescript layer defines has advantages over these, mainly
it respects the typescript-fmt-tool variable (uses the formatting tool that
theuser specified).

This patch solves this by keybinding leader+"==" to the function when
typescript-backend is set to 'lsp and binding to leader+"=" in any other case.

* Fix an accidentally deleted keybinding in table in documentation

* use getter for backend variable

Co-authored-by: nanashi0x74 <rian.lindenberger@mpq.se>
2020-10-17 10:17:41 +02:00
emacspace 598ac10337 documentation formatting: Thu Oct 15 21:23:44 UTC 2020 2020-10-15 23:33:25 +02:00
Keith Pinson f4a050bc18 [editing] Integrate evil-vimish-fold via dotspacemacs-folding-method
Not confident that I have plugged this in everywhere that I should have. However
I tested locally and it seems to be working.
2020-10-15 23:21:15 +02:00
Richard Petri e98d865e61 [layers/+tools/languagetool] Allow HTTP server instead of binary 2020-10-15 23:12:41 +02:00
duianto 331bf1b5bf [ivy] Rebind C-k to C-M-k in ivy-reverse-i-search
This enables navigating up in the `ivy-reverse-i-search` list with `C-k`.

The same rebinding from `C-k` to `C-M-k` to kill a list entry,
is also done in the `ivy-switch-buffer`.
2020-10-15 23:10:06 +02:00
Daniel Nicolai 2cdb535d04 Fix counsel find-file functions to use Spacemacs large file check
By default Ivy uses `find-file` which uses Emacs `abort-if-file-too-large`
function to check/warn before opening large files. That function however does
not take into account Spacemacs its `spacemacs-large-file-modes-list`. Instead
ivy should use `find-file-noselect` to skip Emacs it large file warning and let
it to Spacemacs its `spacemacs/check-large-file` function. Additionally [Emacs
tips on
comments](https://www.gnu.org/software/emacs/manual/html_node/elisp/Comment-Tips.html)
recommends to use 3 semicolons for comments that function as headings.
2020-10-15 23:08:05 +02:00
kn07 5780501668 Port fix and enabled TLS encryption 2020-10-15 22:58:54 +02:00
niontrix 28dba78259
Fix fsharp-mode autocomplete not working
Fsharp-mode has recently undergone some major changes. FSAutocomplete is
no longer distributed with Fsharp-mode. Instead Eglot is used a language
server that pulls in FSAutocomplete. To get auto-completion working
again eglot-fsharp has to be required and an instance of Eglot has to be
started once an F# file is opened.
2020-10-15 22:42:51 +02:00
Bost b525363082
Group line-number funcs under SPC t n (#14014)
* Group `line-number` funcs under SPC t n
* Better name: absolute-line-numbers

Keep the old symbols around for backwards compatibility

Co-authored-by: Rostislav Svoboda <Rostislav.Svoboda@gmail.com>
2020-10-15 22:37:35 +02:00
Lucius Hu edc2528590
Improved documentation for LSP layer
- Added documentation for the following minor modes:
  - lsp-headerline-breadcrumb-mode
  - lsp-lens-mode
  - lsp-modeline-diagnostics-mode
  - lsp-modeline-code-actions-mode
- Added description of Code Lens feature.
- Added description of default values of any variablese introduced in the
  commit.
- Added a section to brief mention the DAP integration of lsp-mode, which
  leads users the DAP layer for more details.
- Re-formatted the document, inline codes are quoted by '~' instead of '='.
2020-10-15 22:20:27 +02:00
khjcph dad4406f70 Only set undo system if fun. exists.
The PR fixes an issue where spacemacs is in a bad state after upgrading. I
suppose what happens is that `evil-set-undo-system` is invoked before `evil` is necessarily the correct version.
2020-10-14 18:44:40 +02:00
Mariusz Klochowicz 1227cbd75d [org] Add major mode key bindings for org-jira
org-jira is typically used from org major mode - new keybindings add a more
convenient way of invoking its functions.

The new org-jira submenu is available under "mj" - using the same pattern as
org-trello.
2020-10-13 16:39:23 +02:00
Mariusz Klochowicz 2e27161c19 [org] Add org-roam support
Add org-roam support along with keybindings under new menu prefix "SPC a o r".

Assign layer search keybinding ("SPC a o /") to helm-org-rifle, falling back to
previously assigned function (org-occur-in-agenda-files) when using ivy.

Creating another keybinding for org-occur-in-agenda-files is not necessary,
as it can be accessed with another existing keybinding ("SPC a o o /").
2020-10-13 15:05:36 +02:00
duianto 0f65b000da
Handle buffer move/select/swap to last win nr +1 (#14015)
problem:
The following error messages are shown.

When trying to move, select or swap the current buffer,
to a window nr greater than the total number of open windows.

For example:
With only one window open.
`SPC b 2`
>ad-Advice-select-window: Wrong type argument: window-live-p, nil

In the Buffer Transient State (`SPC b .`):
- `C-2` (`spacemacs/buffer-transient-state/winum-select-window-2`)
>Wrong type argument: window-valid-p, #<window 12>

- `2` (`spacemacs/buffer-transient-state/move-buffer-window-no-follow-2`)
>Wrong type argument: window-live-p, #<window 14>

- `M-2` (`spacemacs/buffer-transient-state/swap-buffer-window-no-follow-2`)
>Wrong type argument: stringp, nil

Solution:
Show a descriptive message, if the target window nr is greater than the number
of open windows. And ignore the LV buffer (hydra).
2020-10-10 22:48:38 +02:00
nanashi0x74 b5e74cd463 Add missing dependency on javascripy layer
without this, spacemacs//javascript-setup-checkers in package.el:45 will not be
found unless user has the layer installed already
2020-10-10 22:28:20 +02:00
duianto e096d6dd1e Set evil-undo-system to undo-tree 2020-10-10 21:55:06 +02:00
Wieland Hoffmann b606d82dfb [ivy] Bind SPC s l to ivy-resume
Helm already has spacemacs/resume-last-search-buffer bound to it and is in my
muscle memory. spacemacs/resume-last-search-buffer doesn't work with ivy, so
just use ivy-resume.
2020-10-10 06:11:12 +02:00
emacspace a9fc0d5fcc documentation formatting: Thu Oct 8 06:38:34 UTC 2020 2020-10-08 09:49:06 +03:00
Kevin bf78bd4ec5 Add dtrt-indent layer 2020-10-06 12:30:47 +02:00
JAremko 7941a83dbc Fix link 2020-10-06 03:43:57 +03:00
Robert O'Connor 9ada738efd update copyright year to 2020 2020-10-05 20:48:10 +02:00
adispring 714512b139 Add web-mode-style-padding 0 to vue layer 2020-10-04 11:59:39 +02:00
Maximilian Wolff 23f956659b
Fix formatting of ivy keybinding table 2020-10-04 11:48:37 +02:00
Daniel Nicolai 34bd5ab40d
Add C-RET keybinding for ivy-alt-done 2020-10-04 11:48:36 +02:00
0kaguya 177db4472f remove package mercury-mode which no more exist 2020-10-04 11:32:56 +02:00
Daniel Nicolai 4acea82f7b Replace spacemacs/swiper with better native swiper functions
Spacemacs uses spacemacs/swiper functions that use the less sophisticated
spacemacs//counsel-current-region-or-symbol instead of ivy's native
ivy-thing-at-point function. This commit removes those spacemacs functions and
rebinds the shortcuts to their better native equivalents.
2020-10-04 11:16:10 +02:00
emacspace 8fff0ea4ee documentation formatting: Sat Oct 3 18:54:32 UTC 2020 2020-10-03 22:24:57 +03:00
JAremko 8227686194 Fix links 2020-10-03 21:52:09 +03:00
JAremko 3c1a58f8c6 add Features HL to LanguageTool readme 2020-10-03 21:52:09 +03:00
duianto 458782656a [pass] Fix travis-ci error on internal link
problem:
The internal link:
-  See [[info:auth#The Unix password store][its info page]] for more details on using it.

Caused an issues with travis-ci:
https://travis-ci.org/github/syl20bnr/spacemacs/jobs/732236190#L332

error: Link "info:auth#The Unix password store" has unknown type "info"

Solution:
Linked to the same page in the online manual.
2020-10-02 22:15:35 +02:00
Robert O'Connor 30c48158c1 [tabs] Fix typo 2020-10-02 14:22:33 +02:00
Stefan Ruschke 00b1f419a5 [python] Add sphinx-doc support 2020-10-01 13:23:47 +02:00
John Practicalli Stevenson f2c075b673 [clojure] key binding for cider eval list around point
New command added to CIDER in version 0.26 to evaluate the list around the
current point, different to evaluate sexp around point which also evaluates
symbols.

https://github.com/clojure-emacs/cider/pull/2881
2020-10-01 12:29:35 +02:00
duianto ce7c2f05d9 Fix typo, and uppercase a key 2020-09-28 16:08:10 +02:00
Daniel Nicolai 5812d52e6d Add instruction how to use ranger by default 2020-09-27 14:34:52 +02:00
Michael Peyton Jones 496a86bd3e literate-haskell-mode has been renamed to haskell-literate-mode
See 7ccb1ab0cc.

We should keep the old assignment around for a bit to support people on
old versions of `haskell-mode`.
2020-09-27 14:33:07 +02:00
Alexander Matyasko 85f5db280f
Add toggle for org-num-mode (#13978) 2020-09-27 14:28:43 +02:00
duianto 98ec7e559e
Lazy install protobuf layer for .proto files (#13983) 2020-09-27 14:26:31 +02:00
Daniel Luna f266d0768a
Adding magit-delta option for magit 2020-09-27 14:21:50 +02:00
Deepu Mohan Puthrote 8b888c6a08 introduces tabs layer with Centaur backend 2020-09-25 09:25:53 +02:00
duianto d72019e33d
[multiple-cursors] Disable evil-mc-mode in magit-mode (#13971)
Resolves #13948

problem:
The p key tries to paste in the read-only magit buffer,
instead of calling magit-push.

After toggling text-mode on and off (C-t or \),
because evil-mc-mode becomes enabled when text-mode is enabled.
2020-09-23 22:37:55 +02:00
Ray 359b6f5466
Don't let magit-gitflow mode overwrite C-f key binding. (#13973)
* Don't let magit-gitflow mode overwrite `C-f` key binding.

* Describe changes in CHANGELOG.develop
2020-09-23 22:31:44 +02:00
Maximilian Wolff 25d6364bdb
[version control] Revise git-gutter+ refresh on Magit refresh
It was possible before, that the utility function
`spacemacs//git-gutter+-refresh-in-all-buffers`
was not defined but called in the package file.
2020-09-23 21:42:46 +02:00
ClarityStorm 497c23a0f1
Fix git-gutter+ refresh on Magit refresh (#13958) 2020-09-23 21:40:45 +02:00
Maximilian Wolff a55d6287b1
[python] Fix small unintentional change from copyright date update 2020-09-23 21:26:07 +02:00
Robert O'Connor 82ba73a1c0
update copyright to 2020 2020-09-23 21:25:01 +02:00
duianto 3d5d4b2f28 [org] Fix readme: typo and table alignment 2020-09-21 13:15:32 +02:00
syl20bnr 6b23185992 [core] Swap SPC h d t and SPC h d T
As describing text feels more useful than describing themes.
2020-09-20 22:32:41 -04:00
syl20bnr 022b6128f2 [elisp] Fix loading of nameless from a dump 2020-09-20 21:17:21 -04:00
syl20bnr 35f1d57823 [modeline] Fix all-the-icons theme with utf-8 separator 2020-09-20 21:17:21 -04:00
syl20bnr 5fadc5bc68 [modeline] Fix dumper support for alternate modeline themes 2020-09-20 21:17:21 -04:00
syl20bnr e3acd91118 [core] Rename spacemacs|require to spacemacs|require-when-dumping 2020-09-20 21:17:21 -04:00
syl20bnr 82b2942cb7 [spaceline] Compile spaceline while dumping
And avoid compiling it when running from a dump.
2020-09-20 21:17:21 -04:00
Maximilian Wolff 582e229704
[go] Deprecate =go-mode= and revise the layer documentation
In addition I have simplified the layer code a bit
to remove unnecessary indirection in the way LSP
is set up.
2020-09-20 23:51:28 +02:00
Aaron Zeng a3ca3b65e2
Unicode fonts layer docs (#13966)
* [unicode-fonts] Fix typos in documentation

* [unicode-fonts] Suggest a few more fonts with ligatures

* [unicode-fonts] Fix docstring indentation
2020-09-20 21:24:18 +02:00
Maximilian Wolff 81187830b6
Revise ligature support
Fixed some smaller typos and removed
redundant checks for emacs version in
package.el.
2020-09-18 21:54:23 +02:00
Ade Attwood ea60cb2209
Add support for font ligatures in Emacs 27 + (#13921)
* Add support for font ligatures in Emacs 27 +

* Move ligatures under unicode-fonts
2020-09-18 21:47:05 +02:00
emacspace 30019bf34b documentation formatting: Wed Sep 16 21:43:22 UTC 2020 2020-09-18 21:18:44 +02:00
sunlin 8d204c78b4
Add `spacemacs/python-shell-send-statement' for sending statement (#13945) 2020-09-18 21:15:53 +02:00
Elric Milon 964a736cbf
[pass] Add support for auth-source-pass and password-store-otp. (#13950)
Co-authored-by: Elric Milon <whirm@gmx.com>
2020-09-18 21:11:58 +02:00
Rory O’Kane 99f8738b4c
[osx] Fix broken code in instructions for setting config variables (#13955)
Fix these problems:

- unbalanced parens
- misspelled name of function `setq-default`
2020-09-18 20:57:09 +02:00
Maximilian Wolff 9fd1f89867
Revert Fix git-gutter+ refresh on Magit refresh
this is causing errors in magit after staging a new
file and making a new commit.
2020-09-18 20:54:06 +02:00
Fredrik Simón 85bef62e2d
[lsp] Fix lsp-diagnostics-provider name (#13956)
`lsp-diagnostic-package` was renamed to `lsp-diagnostics-provider` in
[LSP version 7.0.1](f23159a85f/CHANGELOG.org (release-701)).
2020-09-18 20:31:30 +02:00
Maximilian Wolff 1f869031ab
Replace lambda with named function in gitter refresh fix
Hooks should not include anonymous functions therefore
I have replaced it with a named function.

https://github.com/bbatsov/emacs-lisp-style-guide
2020-09-18 20:22:27 +02:00
ClarityStorm c23b17833c
Fix git-gutter+ refresh on Magit refresh 2020-09-18 20:15:23 +02:00
Maximilian Wolff 31b9be9666
[org] Make org-rich-yank load eager, to not fail the first paste 2020-09-18 20:08:14 +02:00
Keith Pinson d4668c519f
[org] support rich insert of code from other buffers (org-rich-yank) (#13960) 2020-09-18 20:00:00 +02:00
thanhvg 26a9f51dff
[ivy] add ivy-avy (#13961)
ivy-avy makes it possible to select a candidate with avy by using C-' in an ivy minibuffer.

This functionality used to come with swiper, but it was split: https://github.com/melpa/melpa/pull/6951

Copy pasta from our sister project Doom: https://github.com/hlissner/doom-emacs/pull/3414
2020-09-18 19:54:06 +02:00
Keith Pinson 255f50696c
[core] add keybinding hdT for describe-text-properties (#13962)
This is to bundle it with other describe functions.
2020-09-18 19:45:32 +02:00
Keith Pinson b83dd9c786
[core] Fix evil keybindings when a link is selected in Custom-mode (#13963)
* [core] Fix evil keybindings when a link is selected in Custom-mode

This uses a separate keymap bound directly to the widget and circumvents the
existing evil keybindings.

This fixes the bug found by @duianto, which he posted
[here](https://github.com/syl20bnr/spacemacs/pull/13949#issuecomment-694685304).

* [core] Fix q and u to work everywhere in a Custom-mode buffer
2020-09-18 19:36:40 +02:00
Aaron Zeng c0e31e4b8d
Fix up markdown mode specifiers (#13964)
* [markdown] Anchor auto-mode-alist entries

A file named foo.mkd.patch should use diff-mode, not markdown-mode.

* [markdown] Simplify regexp in mode specifiers

Putting k in brackets here has no effect.
2020-09-18 19:29:41 +02:00
Maximilian Wolff d8260ea041
[lsp] Fix lsp-origami integration
Looks like the provided hook statement
is not working properly with this package.
I have replaced it with the recommended
way defined in the package itself and
now it seems to work.
2020-09-17 23:54:22 +02:00
Maximilian Wolff d900b26291
[html] Move emmet-expand from tab to C-return
tab is reserved by the auto-completion layer and
shall never be overwriten in a layer. This moves
emmet-expand to a similar binding which was
originally used by emmet for non evil users.

This treats evil and non evil users alike and
avoid conflicts with company key bindings.
2020-09-17 23:06:38 +02:00
Robbert van der Helm 14dcebd4a3 Add a layer for LanguageTool support
LanguageTool is an automated proofreader and grammar checker. This layer adds
the ability to check the current buffer's contents using LanguageTool.
2020-09-17 14:05:20 +02:00
Maximilian Wolff 2fbd853f93
[html] Fix emmet-mode overwriting company popup bindings
Still a layer changing the meaning of tab is
a bad idea, this key is reserved for auto-completion-layer.

We should add an alternative binding for it but this commit
focuses on removing the conflicts with company popup scrolling
first.
2020-09-16 23:26:43 +02:00
emacspace b91455a649 documentation formatting: Wed Sep 16 19:30:30 UTC 2020 2020-09-16 21:56:35 +02:00
Elric Milon 4c6c6c2e96 [lsp] Add support for lsp-origami 2020-09-16 21:54:00 +02:00
Maximilian Wolff 8dabfcd6c3
Revise evilification of Custom-mode
Load the respective package only if
vim or hybrid mode is used.

Format the source files and update
copy right header.
2020-09-16 21:26:27 +02:00
Keith Pinson 68debde4a2
[core] evilify Custom-mode if dotspacemacs-editing-style is 'vim
This has been requested many times but never implemented.

Fixes #6699
Fixes #5668
Fixes #7583
Fixes #13309
2020-09-16 21:16:23 +02:00
emacspace 58d2a69a07 documentation formatting: Mon Sep 14 18:13:15 UTC 2020 2020-09-15 10:48:00 +03:00
Maximilian Wolff 0284f80375
Revert "improves find-user-init-file"
This reverts commit c8b3e46ef8.

This change had negative side effects and
was therefore reverted. Please see #13933
for details.
2020-09-14 20:07:05 +02:00
Daniel Nicolai 1147e758bd Implement pyvenv-tracking-mode
The pyvenv-tracking-mode changes the virtual environment on changing focus
between buffers.
2020-09-14 18:53:19 +02:00
Aaron L. Zeng 2b4fd06dc1 [fasd] Fix bug in fasd-find-directory-only
`fasd-find-file` incorrectly interprets a prefix argument of value 1
as equivalent to nil ([issue][0]).

Work around this bug by just passing another positive number instead.
We choose 2.

[0]: https://framagit.org/steckerhalter/emacs-fasd/-/issues/14
2020-09-14 18:34:38 +02:00
beyondpie 8da6653d2b
[Python] Add python-shell-send-line function (#13942) 2020-09-14 18:32:23 +02:00
ClarityStorm 7a7b04abb5 Update number of LSP backends in C/C++ layer docs 2020-09-12 06:13:47 +03:00
Maximilian Wolff c70f322836
[clojure] Make sayid workaround also fix duplicate key in cider
When the corrupted `elc` file is detected
`cider-jack-in-lein-plugin` has a nil value
value added already which causes `cider` to fail.

This commit removes such a row in that case.
2020-09-11 21:55:00 +02:00
Maximilian Wolff 10e997338d
[clojure] Add workaround for corrupted sayid.elc file
It seems to happen from time to time that sayid is not
properly compiled after the installation. In this case
the variable `sayid-version` is `nil` causing
nRepl to fail.

This commit tries to work around this problem by
reinstalling the package if this corruption is detected.

This normally fixes the issue described in #13906.
2020-09-11 21:34:29 +02:00
emacspace 9d4633a3c7 documentation formatting: Tue Sep 8 19:20:03 UTC 2020 2020-09-10 18:05:48 +03:00
fperies b83eb11e3d
[layer/+lang/c-c++] Introduction of shortcut for rtags-symbol-type (#13929)
Introduction of <SPC/M-m> g t shortcut for rtags-symbol-type.
Replacement of previous <SPC/M-m> g t into <SPC/M-m> g u for rtags-dependency-tree
2020-09-08 21:17:31 +02:00
Benjamin Hipple c1650789d6 [ipython] Fix bindinding for RET in transient state
In the documentation, it says this performs execute cell and goto next, while
the code was just executing the cell.

This desync could be fixed in either direction, but executing and going to next
feels more ergonomic while in the transient state, since we're jumping around
running rather than editing in that mode, so I've fixed it to do that.
2020-09-08 20:56:52 +02:00
Christian Bäuerlein dcb3a60564 Update spacemacs-org README on bullet library
In 1451268757 org-bullets has been replaced with org-superstar, but this Readme was not updated.
2020-09-08 20:46:04 +02:00
Ade Attwood 14dd80da12 Disable php-extras when the php layer backend is lsp
This conflicts with `company-capf` and you don't get any company completions
from the lsp-mode

Fix issue #13524
2020-09-08 20:41:12 +02:00
Nicholas Kirchner 516da8dfbd [helm] Add the helm-org package so that helm-spacemacs-faq works
There is a (require 'helm-org) directive in helm-spacemacs-faq.el
which is triggered by the key sequence 'SPC h f'.
2020-09-08 11:03:55 +02:00
emacspace c9b8bcd73a documentation formatting: Sat Sep 5 22:23:18 UTC 2020 2020-09-06 04:59:59 +03:00
Martin Sosic 7705b33600 Improved Haskell language layer README. 2020-09-06 00:20:35 +02:00
Ivan Yonchovski 182bf1fe15 Do not enable fuzzy matching for locate if it is not wanted 2020-09-04 22:46:03 +02:00
Ag Ibragimov c8b3e46ef8 improves find-user-init-file
<SPC f e i> should work with Emacs profile switcher plexus/chemacs
2020-09-04 22:43:16 +02:00
emacspace 050a6d1973 documentation formatting: Fri Sep 4 16:48:12 UTC 2020 2020-09-04 22:33:54 +02:00
Maximilian Wolff cd2f56d9dd
[ipython] autoformat with proper elisp settings 2020-09-04 18:40:05 +02:00
Benjamin Hipple 10b39aa3df
[ipython] Fix elisp whitespace
This runs the default spacemacs elisp formatter on buffer save, with no
functional changes. I have further changes I'd like to integrate, but first
want to sweep this large but no-op diff forward.
2020-09-04 18:36:33 +02:00
Will Minshew 77ff667235
Bug fix emacs lisp debug keybindings (#13892)
* fix edebug readme keybindings
* fix lisp debugger readme keybindings
2020-09-04 18:29:07 +02:00
Ayush Goyal 96cc779cbe Support pyright language server for python layer
Microsoft has released pyright language server for python. It boasts better
performance than the old Microsoft language server for python. This commit adds
supports for pyright language server in python layer
2020-09-04 18:25:21 +02:00
enderger 14a767fc66
Replace Depreciated Package in Perl6 Layer (#13899)
* Switch from nabero's ron mode to my own custom ron-mode (hosted on MELPA)
* Replace depreciated perl6-mode withraku-mode
* Remember to update the init function
2020-09-04 18:16:43 +02:00
emacspace 39820dba71 documentation formatting: Sun Aug 30 01:56:48 UTC 2020 2020-08-29 22:04:37 -04:00
syl20bnr 52ec07bb44 [core] Fix installation of unused layer dependencies after SPC h SPC
Fix bug where layer dependencies of all layers (even the unused ones)
are installed after SPC h SPC and then SPC f e R
2020-08-29 21:51:52 -04:00
syl20bnr 2da9682921 [javascript] Fix default value for javascript-backend
Prevent a bug where tern is installed with SPC f e R and then
directly uninstalled if one uses the lsp layer.
2020-08-29 21:35:24 -04:00
emacspace 0fda75c688 documentation formatting: Fri Aug 28 21:26:14 UTC 2020 2020-08-28 23:41:29 +02:00
Aaron L. Zeng 524e4d19c7 Set org-log-done to 'time instead of t
Setting this variable to 'time is equivalent, while setting to t is
deprecated.
2020-08-28 23:20:40 +02:00
Lucius Hu a95593434d fixed typo in haskell/README.org
Fixed the typo and made the url correct
2020-08-28 23:18:42 +02:00
JAremko 18949e85e2 fix code block 2020-08-28 21:25:26 +03:00
Maximilian Wolff 15d93914f5
Fix "lsp is no valid syntax checker" error message
See #13841
2020-08-27 00:04:53 +02:00
wangtianshu a877cc4197 [bibtex] use `org-ref-completion-library' option to clean code 2020-08-26 22:54:04 +02:00
Daniel Hutzley ca2f776056 Switch from nabero's ron mode to my own custom ron-mode (hosted on MELPA) 2020-08-26 22:51:08 +02:00
duianto 5e9536e842
[lua] Remove require lsp-clients 2020-08-26 22:46:21 +02:00
Martin Sosic 7f1c72aa43 [layers/+lang/haskell] Removed intero, ghc-mod and company-ghci backends, set dante as default backend. 2020-08-26 22:34:59 +02:00
Martin Sosic 7732fcabd8 Add syntax-checking-auto-hide-tooltips variable to syntax-checking layer. 2020-08-26 22:24:37 +02:00
syl20bnr 39df5e26b6 [editing] Add qwerty-ca-fr layout to evil-swap-keys config 2020-08-21 17:35:24 -04:00
syl20bnr d19af574b9 [editing] Fix use-package invocation for evil-swap-keys 2020-08-21 17:27:26 -04:00
duianto 81d1c9f787 Fix org table evil paste
Paste using *table--cell-yank, in org-src-mode.
2020-08-19 23:46:21 +02:00
William Minshew 7e6fdb5641 add emacs-lisp (e)debug keybindings to readme 2020-08-19 23:19:49 +02:00
Martin Šošić 95400ec08e
[layers/+lang/haskell] Updated README with more detail about Dante + misc (#13802)
Updated README with more detail about Dante + misc
2020-08-19 23:11:01 +02:00
Martin Šošić 112fb65833
[layers/+lang/haskell] Make flycheck run hlint checker after dante checker. (#13804)
Make flycheck run hlint checker after dante checker in haskell layer.
2020-08-19 23:08:16 +02:00
fperies 18e35a8607
[layers/+lang/c-c++] Add RTags shortcuts for trees and dead functions (#13838)
* Add RTags shortcuts for trees and dead functions

The change will add 3 shortcuts for dependency, references trees and for finding dead functions.

* Additions of some key bindings
2020-08-19 23:00:23 +02:00
Colin Woodbury 61a9aeb42c [lsp] Remove mention of lsp-clients - fixes #13857 2020-08-19 20:04:39 +02:00
Maximilian Wolff 346be150f9
[core] Replace snoopy with evil-swap-keys and simplify setup
See #9316 for the discussion.
2020-08-18 00:08:01 +02:00
Maximilian Wolff 76301564c5
[cmake] Add lsp server support 2020-08-14 00:29:39 +02:00
Codruț Constantin Gușoi 3216aedb27 Better UX for opening and copying links 2020-08-13 22:17:36 +02:00
Maximilian Wolff e50890c490
[ocaml] Revise latest improvement to layer 2020-08-13 21:45:59 +02:00
Edwin Török 350a6ecdb8
lang/ocaml: fix flycheck-ocaml activation
We should always define the 2 flycheck initialization functions:
Spacemacs will call them as needed only when enabling syntax checking.
Previously flycheck wasn't getting activated at all.

Only activate `flycheck-ocaml` when a `.merlin` file is present.
It would work when there isn't but there is a high chance that you will
get a lot of errors displayed because it could not find any of the used
modules (`.merlin` specifies module paths).
OCaml projects usually do have a `.merlin` file
(either hand crafted or generated by the build system).

Signed-off-by: Edwin Török <edwin@etorok.net>

lang/ocaml: add merlin-eldoc and merlin-imenu support

This displays the type and documentation of thing under point
and highlights occurrences automatically when idle. Could be achieved by appropriate use of
keyboard shortcuts already set up by this module.

However `merlin-eldoc` can also display the expected type of function call parameters,
which merlin itself wouldn't.

`merlin-imenu` allows jumping to top level modules/functions/etc. bound
by default to `SPC j i`.

Signed-off-by: Edwin Török <edwin@etorok.net>

lang/ocaml: add merlin-iedit multiple cursor refactoring

bound to `, r e`.

Signed-off-by: Edwin Török <edwin@etorok.net>

fixup! lang/ocaml: add merlin-iedit multiple cursor refactoring

fixup! lang/ocaml: fix flycheck-ocaml activation

fixup! lang/ocaml: add merlin-eldoc and merlin-imenu support
2020-08-13 20:29:30 +02:00
Maximilian Wolff 793898f818
[core] Move snoopy mode to spacemacs-editing layer 2020-08-11 00:05:40 +02:00
Tim Jäger aa6ab15776
Add layer for snoopy-mode 2020-08-10 12:59:46 +02:00
Maximilian Wolff ce73d31263
[bibtex] Fix some minor issues in bibtex layer 2020-08-10 12:47:54 +02:00
Kalle Lindqvist 63a42d7600
[bibtex] cleanup layer, bind helm-bibtex and add ivy support
biblio-/core is pulled in by multiple packages in this
layer already and their package declarations was empty.
Users can access the functionality biblio offers
from helm-bibtex.
2020-08-10 12:05:55 +02:00
romain.gautier@nimamoh.net ba982822c6
Replace deprecated clojure-cheatsheet with helm-cider 2020-08-09 23:59:34 +02:00
Maximilian Wolff d65c091656
[clojure] Document new automatic namespace switching in REPL 2020-08-09 11:57:58 +02:00
Brandon Adams 3663b29a48
Support optional set-namespace argument to Clojure layer's , s B
The spacemacs analogue of cider-load-buffer-and-switch-to-repl-buffer
doesn't accept an argument to set the namespace while you are switching
to the repl buffer. This adds support for an argument, invokable with
the universal argument, for setting up the namespace as well. This will
eliminate an extra `(in-ns ...)` or `, s n` call as long as you invoke
`, s B` prefixed by the universal argument: `SPC u , s B`.
2020-08-09 11:57:58 +02:00
duianto e290dfbe7a [hy] Fix readme, remove = around links 2020-08-09 11:45:26 +02:00
duianto c6dc8fad47 [rust] Fix .ron support
Missing parentheses around:
"\\.ron\\'" . ron-mode

in the line:
:mode "\\.ron\\'" . ron-mode

Updated the rust readme to mention the .ron support.

And added a changelog.develop entry.
2020-08-09 11:30:00 +02:00
Daniel Hutzley c8f7752dfe Add Rusty Object Notation (RON) support to the Rust crate, predominantly used by the Amethyst Game Engine 2020-08-09 11:18:46 +02:00
duianto 240de6fe4f [hy] Add auto-completion installation instructions
hy-mode relies on jedhy for auto-completion
2020-08-09 11:14:58 +02:00
Leandro Doctors 641cb39afa Make Colemak layout more ergonomic 2020-08-09 11:07:59 +02:00
wang-d 4daa844574
Add more slack keybindings (#13806)
* alphabetize slack keybindings

Alphabetization makes it easier...
- to read the list
- to add new keybindings (because there's an obvious place)
- to merge this file (because insertions won't all happen at the end)

* Add more slack keybindings

T 'slack-all-threads
u 'slack-all-unreads

* Update documentation and changelog for slack keybindings

Also alphabetized the keybindings in the slack README

Co-authored-by: Damon Wang <damon.wang@gmail.com>
2020-08-09 10:51:12 +02:00
beyondpie 3388972c26
[ESS] Fix: remove obsolete variables in ESS (#13826)
* [ESS] Fix: remove obsolete variables in ESS

- use ess-offset-continued to replace the obsolete variables (from ESS 15.04):
  ess-first-continued-statement-offset
	ess-continued-statement-offset

- remove ess-expression-offset
  no such variable now

* [ESS] fix: keep ess-default-style instead of ess-style

- keep the original ess-default-style instead of ess-style
  since ess-default-style will be obsolete till ESS 19.04
	while current ESS version is 18.10
2020-08-08 07:35:25 +02:00
emacspace bc33fc46fc documentation formatting: Fri Aug 7 20:15:11 UTC 2020 2020-08-07 22:29:21 +02:00
Keith Pinson 75cd5a6c79 [haskell] fix: keybindings not bound in haskell-literate-mode
`literate-haskell-mode` was renamed to `haskell-literate-mode` in this commit:

7ccb1ab0cc

Even though a deprecated alias was added, it broke Spacemacs' keybindings, which
were still all bound w.r.t. the old name.
2020-08-07 22:23:06 +02:00
Keith Pinson 286c71bd40 feat: mnemonic, ergonomic keybindings for next-error, previous-error
When Spacemacs' fancy logic works well, it is breathtaking. Sometimes, however,
you may need a way to reach in for something a little more raw: in this case,
going straight to `next-error` rather than `spacemacs/next-error`.

I chose `cn`/`cN` because:

* They seem to be unused thus far
* It makes sense to put these keybinding under compile, since they are
  associated with Emac's base functionality for compilation.
* The analogous Ex commands are `:cn` and `:cN`. They work this way even in
  Spacemacs (but I am trying to wean myself off Ex mode, since I see the
  Spacemacs keybindings as far superior most scenarios).
* `cp` was already taken, so `cN` had to be used for going back.

Fixes #13815.
2020-08-07 22:21:47 +02:00
Martin Sosic 9d0174bd37 Added FAQ about fixing HLint parse error. 2020-08-07 22:12:42 +02:00
emacspace 7c3a10c3a1 documentation formatting: Fri Aug 7 11:44:44 UTC 2020 2020-08-07 13:54:27 +02:00
Jonas Strømsodd 47412d5bf7 Add support for enabling all-the-icons theme in treemacs layer 2020-08-07 13:52:31 +02:00
Maximilian Wolff 5e7f2d1b43
[nim] Add experimental lsp support 2020-08-07 13:32:45 +02:00
emacspace a76bda6a54 documentation formatting: Wed Aug 5 12:35:48 UTC 2020 2020-08-05 14:45:34 +02:00
Langston Barrett af6b1479f3 new layer: outshine (with outorg support)
outshine layer: Add "Features:" section to the README

outorg: use `a O` instead of `a o o` as a prefix

outshine: add transient state

outshine layer: (re)document keybindings, add imenu keybinding

outshine layer: fix outorg mode keybinding documentation

address review comments
2020-08-05 14:28:37 +02:00
duianto 04b80d610a [python][doc] Fix emphasis
README.org
Buffer formatting, first paragraph
The apostrophes before: yapf and black
caused the org emphasis verbatim equal signs to be visible.

config.el
python-formatter variable docstring
An apostrophe instead of a backtick, before the possible value: lsp
caused it to be shown with the default docstring color.
2020-07-29 08:37:42 +02:00
Tommi Komulainen f57ebbb994 [typescript] configure tslint also for lsp backend 2020-07-28 15:34:27 +02:00
Jaakko Luttinen 3834bb1151 [python] Support --last-failed for pytest. Fixes #12023 2020-07-28 14:19:44 +02:00
Martin Sosic 684976c993 [javascript] Add README details about linter configuration 2020-07-24 11:12:10 +02:00
Robert Roland d98cccaa2f [rust] Small typo fix
This fixes a small typo, switching ` for =
2020-07-24 10:54:02 +02:00
Damon Wang c393990452 Improve slack layer keybindings
1. Make slack-mode bindings available in slack-thread-message-buffer-mode
2. Bind : to slack-insert-emoji
2020-07-19 20:44:12 +02:00
Maximilian Wolff e41fe49a0c
[treemacs] Fix wrong instructions to set ace mode as default action 2020-07-18 22:45:54 +02:00
Maximilian Wolff afc133d2ff
[groovy] Fix broken binding for non-lsp company backend 2020-07-18 10:07:30 +02:00
emacspace fa991f0d62 documentation formatting: Sat Jul 18 07:52:04 UTC 2020 2020-07-18 10:01:18 +02:00
Maximilian Wolff a45c2ce7d5
[core] Revise fixed M-x binding
After the latest change the list of bindings
has been changed to a dynamic form which
is not only slow but very hard to maintain.

I have replaced the list with the original one
and replaced the fixed line with backquote notation
to keep it static.
2020-07-18 09:56:54 +02:00
hackartist 0e3065af92
[core] M-x prefix was fixed
* Issue
* It could not correctly bind a prefix.
* where `dotspacemacs-emacs-command-key` is modified,
* it continuously binds a `M-x` prefix to `SPC`
* `SPC` always looks as `M-x`

* Solution
* `SPC`, hard coded `string`, was modified to `dotspacemacs-emacs-command-key`

* Expectation
* When a `SPC` prefix is bound, it should be displayed as the registered name.
2020-07-18 09:53:01 +02:00
Loys Ollivier d0bfc51c7e
visual: apply ansi color only on compilation major mode
Some modes have compilation-mode as parent mode but the ansi coloring
scheme is breaking their highlighting.
i.e. https://github.com/Wilfred/ag.el/issues/124

Fix this by applying ansi-colors only when the major mode is
compilation-mode.

Signed-off-by: Loys Ollivier <loys.ollivier@gmail.com>
2020-07-18 09:47:34 +02:00
duianto 5150ac6c50 [helm] Hide helm-ff-cache-mode mode-line indicator 2020-07-18 09:40:14 +02:00
duianto dd397b1ad5 [semantic-web][docs] Fix layer renamed from semweb 2020-07-18 09:39:35 +02:00
Cormac Cannon bf1ef03bda [org] Updated 'Archive subtree' command to support customisation.
Binding ~SPC m s A~ to org-archive-subtree-default rather than existing
org-archive-subtree binding.
2020-07-18 09:38:54 +02:00
Codruț Constantin Gușoi 18bd126de4 Change browse-at-remote to "SPC go" sicne it is not github specific 2020-07-18 09:37:11 +02:00
Benjamin Yang 0fe36bed57 [shell] Update vterm binding in README
Back in commit ac3752ffd, the binding for `vterm` was updated to fit in with the
rest of the `shell` layer bindings (under `SPC a t s v`).  However, the `README`
was not updated to match.  This commit updates the `README` for the `shell`
layer.

Relates to #13503.
2020-07-18 09:35:11 +02:00
Keith Pinson 4e57eaceea
Remove gradle-mode to stop it breaking bindings of other major modes
After using Java mode, Gradle keybindings infect or even clobber keybindings of
any subsequently used major-mode. For example, the critical Agda major mode
keybinding of `l` as `agda2-load` gets with a Gradle menu!

The cause, found by @duianto, is that `emacs-gradle-mode` sets itself to a
[global](e4d665d578/gradle-mode.el (L176-L183))
minor mode. The docs for `define-minor-mode` say about `:global:`

> If non-nil specifies that the minor mode is not meant to be
> buffer-local, so don't make the variable MODE buffer-local.
> By default, the mode is buffer-local.

I don't know why `gradle-mode` is doing this; presumably there is some reason or
need for it. But the author of that package hasn't been on GitHub since 2017,
and the last update of the package itself is from early 2015.

To seal the deal, `gradle-mode` hasn't been working anyway (at least, I've never
got it to work). I've been running Gradle by launching a terminal within Emacs.

Fixes #13750.
2020-07-18 09:30:35 +02:00
Codruț Constantin Gușoi b3bbbd229d Update changelog with most important changes 2020-07-17 21:02:28 +01:00
Codruț Constantin Gușoi 698a981e8c Adds text insertion functinos and keys 2020-07-17 21:02:28 +01:00
Codruț Constantin Gușoi 69078f8d9b Disable the magic comment insertion by default 2020-07-17 21:02:28 +01:00
Codruț Constantin Gușoi f4f9f74075 Use refactor prefix for the quote and block toggles 2020-07-17 21:02:28 +01:00
Codruț Constantin Gușoi ecb06efbb4 Fix ruby mode handling for special files 2020-07-17 21:02:28 +01:00
Maximilian Wolff 56338b537d
[elm] Add lsp support 2020-07-17 18:13:18 +02:00
Benjamin Yang 39de9ff0af [spell-checking] Add keybinding for flyspell-region
For those times when just a comment needs to be spellchecked, `flyspell-region`
should have its own keybinding.
2020-07-16 10:46:36 +02:00
duianto 1e677bb532 Revert "[spacemacs-bootstrap] Fix mode-line evil state foreground"
This reverts commit 4562da2b56.

Revert reason:
emacsclient broken on develop branch by commit 4562da2b5
https://github.com/syl20bnr/spacemacs/issues/13766
2020-07-13 22:20:37 +02:00
emacspace dec350eb84 documentation formatting: Sun Jul 12 08:21:50 UTC 2020 2020-07-12 21:03:53 +02:00
John Practicalli Stevenson 5f7e56fecc [clojure] refactor namespace key bindings
Add key bindings to refactor namespace forms for existing functions in CIDER.

"ran" 'clojure-insert-ns-form
"raN" 'clojure-insert-ns-form-at-point
"run" 'clojure-update-ns
2020-07-12 21:01:57 +02:00
milserk aef1c2726f Restore attribute and variable names in theming layer docs
The example attributes and variables names were lost in a previous commit. This commit adds them back.
2020-07-12 21:00:06 +02:00
duianto 4562da2b56 [spacemacs-bootstrap] Fix mode-line evil state foreground
The evil state foreground color on the mode-line was set to
the mode-line background color.

This caused problems with some themes.
[FEATURE REQUEST] Darker option for mode-line color codes #13731

Solution:
Set the evil state foreground color to the darker of the
mode-line face foreground or background colors.
2020-07-12 20:53:51 +02:00
Aaron L. Zeng 1a28a26738 [osx] Don't initialize osx-dictionary on non-mac systems
Restore the `SPC x w d` key binding for define-word-at-point, from
spacemacs-language.
2020-07-12 20:51:06 +02:00
kenkangxgwe 21b3ae20b3
Update key bindings for vterm
* Sending <kbd>Esc</kbd> to vterm using `vterm--self-insert` results in `1;5u`,
using `vterm-send-escape` instead.
* <kbd>Ret</kbd> is not sent by `vterm--self-insert`, using `vterm-send-return`
instead.
2020-07-12 20:41:07 +02:00
Maximilian Wolff d4a590a2fd
[helm] Fix helm with universal argument 2020-07-12 10:18:25 +02:00
Maximilian Wolff 920f568d81
[groovy] Make all variables adhere to layer naming scheme 2020-07-12 01:42:44 +02:00
Maximilian Wolff 8e3ea78191
[kotlin] Add lsp support 2020-07-12 01:34:25 +02:00
Maximilian Wolff f3f0e3a98d
[groovy] Fix missing ")" in documentation 2020-07-09 22:05:19 +02:00
Maximilian Wolff 3985f0042b
[vimscript] Add lsp server support 2020-07-09 22:03:55 +02:00
tuh8888 ce5f278a2a [git] Allow multichar major mode leader key for exiting magit commit edits 2020-07-07 16:06:38 +02:00
Maximilian Wolff ac3752ffd7
Add missing prefixes to global application bindings 2020-07-06 23:13:52 +02:00
Maximilian Wolff eacab70047
[groovy] Add lsp server support 2020-07-06 22:26:07 +02:00
Magnus Therning 7f2dfe9c91 [haskell] Move keybindings when using LSP
A few of the layer's keybindings are shadowed when using the LSP backend:

- `F` - format buffer using stylish
- `hh` - lookup on Hoogle
- `gi` - navigate to imports

These are useful shortcuts to keep, so when the LSP backend is in use they are
rebound like this:

- `F` -> `S`
- `hh` -> `hg`
- `gi` -> `gl`
- `hH` -> `hG` (not one that is shadowed, but rebound to bind external and local
  Hoogle lookups to similir shortcuts)
2020-07-05 22:33:08 +02:00
Ivan Yonchovski 7a107e65d2
Make spacemacs/useful-buffer-p much faster
- `with-current-buffer` triggers a lot of hooks.
2020-07-05 22:28:47 +02:00
Ade Attwood 7a9a16ec96 Add ctp files to html language
When editing Cakephp template files there is not highlighting. This adds the
`.ctp` files to the html language using web-mode.
2020-07-03 22:41:35 +02:00
Maximilian Wolff b82bc40b3c
Fix ignored popwin declarations
Popwin automatically configures pupo purposes
if properly configured. While I was checking
the existing configs I have found that the
settings will be ignored if the config is not
done via a post-config hook.

A quick search revealed a lot of popwin configs
which never had any effect.

This commit fixes these and with this also
restores the missing pupo configs.
2020-07-03 21:51:33 +02:00
Ivan Yonchovski f895dfc2a9 Remove the references to lsp-ui-flycheck-enable 2020-07-03 20:18:17 +02:00
emiltoacs 0045a72f83 [org] update org-journal obsolete functions
Related to comment in
[Issue: #13735]
2020-07-03 20:14:49 +02:00
Maximilian Wolff b68b44a1b1
[tern] Remove unmaintained package company-tern
Company tern is not longer on melpa and had to be removed.
See #13725 for details.
2020-07-03 01:18:40 +02:00
Maximilian Wolff 70441bd088
[twitter] Rebind application level binding to resolve key conflicts
Latest revision of application level bindings conflicted
with old twitter bindings. This moves twitter in the
matching category.
2020-07-03 00:09:08 +02:00
John Practicalli Stevenson 92c010a207 [applications] refactor key bindings to layer categories
refactor key bindings for applications to provide additional room for
applications and use lower case characters.

Move calc-dispatch to `SPC a *`

Relates to #13503
2020-07-02 23:43:19 +02:00
Thanh Vuong 4928a9f55d [sql] fix regession by #13718
remove sql-mode which is not a package move its init to init-sql
2020-07-02 10:29:50 +02:00
emacspace 89b265e779 documentation formatting: Wed Jul 1 19:13:36 UTC 2020 2020-07-01 21:23:53 +02:00
Shunya Ishii 403aef6fd4 [SQL] Add lsp support 2020-07-01 20:49:01 +02:00
Joel Pettersson 244b3f58a2 [go] Fix search for current test function to run
spacemacs/go-run-test-current-function() previously failed when point was
anywhere but at the end of the line on the first line of the test function to
run.
2020-07-01 20:45:04 +02:00
Steve Lorimer 70232d9f58 [lsp] remove requirement for yasnippet 2020-07-01 20:42:51 +02:00