Crates.io | skyspell_kak |
lib.rs | skyspell_kak |
version | |
source | src |
created_at | 2022-02-12 15:21:10.733873 |
updated_at | 2025-01-19 16:39:54.592952 |
description | skyspell - kakoune integration |
homepage | |
repository | https://github.com/your-tools/skyspell |
max_upload_size | |
id | 531369 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
Install skyspell.
Install skyspell_kak
:
$ cargo install skyspell_kak
Make sure that skyspell-kak
is in your PATH
.
Call skyspell-kak init
in your kakrc
file:
evaluate-commands %sh{
skyspell-kak init
}
You can now call the various :skyspell-
commands
Typical workflow:
skyspell-enable <LANG>
to install the skyspell-check
hook.skyspell-list
to list all error in a special *spelling*
buffer*spelling*
, execute the given action (see
skyspell-help
for details). You can for instance choose to add
the error to the list of exceptions for the current project:skyspell-replace
to
open a menu containing the replacements suggestions.Note that instead of using skyspell-list
and then Enter
to jump from
on spelling error to the next, you can also use skyspell-next
and
skyspell-previous
.
It's advised to create a skyspell
user mode:
For instance:
map global user s ': enter-user-mode skyspell<ret>' -docstring 'enter spell user mode'
map global skyspell d ': skyspell-disable<ret>' -docstring 'clear spelling highlighters'
map global skyspell e ': skyspell-enable en_US<ret>' -docstring 'enable spell checking in English'
map global skyspell l ': skyspell-list <ret>' -docstring 'list spelling errors in a buffer'
map global skyspell h ': skyspell-help <ret>' -docstring 'show help message'
map global skyspell n ': skyspell-next<ret>' -docstring 'go to next spell error'
map global skyspell p ': skyspell-previous<ret>' -docstring 'go to previous spell error'
map global skyspell r ': skyspell-replace<ret>' -docstring 'suggest a list of replacements'
skyspell also declares a face named SpellingError
that you can change if you want
to show spelling errors in a different way.