Commit Graph

20 Commits

Author SHA1 Message Date
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
Bruno Tavares 3d11456f51 Fix flyspell correction on spell-checking layer
Using the `spell-checking` layer mini-mode `Space S .` would cause an error

```
Wrong type argument: commandp -- flyspell-correct-previous-word-generic
```

According to the [README](https://github.com/d12frosted/flyspell-correct#deprecations-in-v05), it has since moved the command to a new name, which is not available anymore.

This commit changes the command used to point to the new name to make the transient mode work again.
2019-04-29 14:48:09 +02:00
duianto ee811f7b13 Unify packages list parentheses style
problem:
some layer packages lists have the open and closing parentheses on the same line
as the first and last listed package, but most seem to have them on a separate
lines.

solution:
put the open and close parentheses on separate lines, except for lists with only
a single package, they are written on the same line as the variable name and
parentheses.

fix the lists indentation
2018-11-21 21:35:38 +00:00
Boris Buliga 39e4f1ab7c
update to flyspell-correct v0.5
`flyspell-correct-word-generic` and `flyspell-correct-previous-word-generic` are
deprecated and replaced by `flyspell-correct-at-point` and
`flyspell-correct-wrapper` respectively.

`flyspell-correct-wrapper` has a so-called 'rapid' mode, where you can correct
multiple words in a single run.
2018-10-05 09:38:59 +03:00
Francesc Elies Henar c57dd4870a Adds spell checking transient state 2018-09-01 00:19:59 +03:00
syl20bnr ebe4c60264 Revert "Defer packages by default using use-package-always-defer"
This reverts commit 29c78ce841 and all other fixes
that have been made afterwards.

The motivation is that use-package is seen by many as a replacement for
`require`. Is use-package always defer the loading of packages then is breaks
this use case, this does not respect POLA so even if it was making Spacemacs
loading faster (up to 3s faster on some startup on my machine) we just cannot
use it, it would be irresponsible. Spacemacs should be easy to use, loading
performance will come with time but it is not a priority.
2018-03-03 23:40:10 -05:00
syl20bnr 29c78ce841 Defer packages by default using use-package-always-defer
Warning now `:defer t` is implied, to force a package to load `:demand t` is
now necessary.
2018-02-27 23:32:52 -05:00
syl20bnr 326965d4ce Happy New Year 2018! 2018-01-04 02:00:25 -05:00
syl20bnr e2e532bb49 core: change <function>p to <function>-p suffixes for consistency
Also defined aliases for backward compatibility with `usedp` functions.
2017-07-02 10:09:39 -04:00
syl20bnr fb27ede558 Bump year in copyright headers
Happy New Year 2017!
2017-01-05 23:08:17 -05:00
d12frosted d3fd067a3d
defer flyspell-correct packages loading 2016-12-22 15:35:13 +02:00
ralesi 29925a0b94
Defer loading of flyspell-correct-helm, otherwise it just requires helm 2016-12-22 15:33:41 +02:00
d12frosted 583415cdf8 update flyspell-correct after breaking changes 2016-06-07 23:27:30 -04:00
syl20bnr a8faf7e6d8 flyspell: set flyspell-popup delay to 0.8 2016-06-01 23:00:02 -04:00
Uri Sharf f367c4b5aa spell-checking: new package flyspell-popup 2016-06-01 22:56:13 -04:00
syl20bnr a2de9a63af Use :toggle keyword instead of when forms 2016-05-29 22:39:21 -04:00
syl20bnr 1f993bddf6 Rename spacemacs-helm and spacemacs-ivy layers to helm and ivy
For ivy users: be sure to update your dotfile by replacing spacemacs-ivy
by ivy
2016-05-15 22:24:27 -04:00
d12frosted 9f57a0da63 use flyspell-correct instead of helm-flyspell
flyspell-correct plays nicely with custom front-ends, and it has support
of ivy and helm out of box
2016-05-11 20:52:02 -04:00
syl20bnr 173e2a5421 Move all prefix names from config.el to init functions 2016-04-03 00:12:28 -04:00
syl20bnr 9d0558992c layers directory: create new categories
+chat
+checkers
+emacs
+intl
+os
+pair-programming
+tags
+theme
+web-services
2016-03-23 21:39:43 -04:00
Renamed from layers/spell-checking/packages.el (Browse further)