Skip to main content

PyEnchant wrapper for Kakoune

Project description

kak-spell

PyEnchant wrapper for Kakoune.

Installation

  1. Install the Enchant library, and the required dictionaries. See PyEnchant documentation for details.

  2. Install the kak-spell script, for instance with pipx:

pipx install kak-spell
  1. Install plug.kak and add the following lines in your kakrc:
plug "dmerejkowsky/kak-spell"
  1. (optional): declare a user mode and some mappings:
declare-user-mode kak-spell
map global user s ': enter-user-mode kak-spell<ret>' -docstring 'enter spell user mode'
map global kak-spell e ': kak-spell %opt{spell_lang}<ret>' -docstring "enable spell checking"
map global kak-spell c ': kak-spell-clear<ret>' -docstring 'clear spelling highlighters'
map global kak-spell n ': kak-spell-next<ret>' -docstring 'go to next spell error'
map global kak-spell r ': kak-spell-replace<ret>' -docstring 'suggest a list of replacements'
map global kak-spell a ': kak-spell-add<ret>' -docstring 'add the selection to the user dict'
map global kak-spell x ': kak-spell-remove<ret>' -docstring 'remove the selection from the user dict'

Discuss

You can discuss features of this plugin on discuss.kakoune.com.

I'd like to thank all the people who contributed code and ideas to make usage of this plugin easier.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kak-spell-0.1.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

kak_spell-0.1.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file kak-spell-0.1.0.tar.gz.

File metadata

  • Download URL: kak-spell-0.1.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.3 CPython/3.7.1 Linux/5.4.0-4-amd64

File hashes

Hashes for kak-spell-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e724813a9c1fe56d4e8cc941463848a0ce3451abd0a587522d28b486be2e6a0a
MD5 abf410569b61d688cfaff4c341acecfa
BLAKE2b-256 0b859790ae5a8befef060c3f9c85fb9558abcd486672043d9755bee7b7bebc5e

See more details on using hashes here.

File details

Details for the file kak_spell-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: kak_spell-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.3 CPython/3.7.1 Linux/5.4.0-4-amd64

File hashes

Hashes for kak_spell-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c8e2935cd46f83bbff476e83d22927d8b3582fc0ffe4b0816e4db599cae95a8a
MD5 4d3c9de2876d77676d8cc8e16c3ee566
BLAKE2b-256 e5a67dc2a15ca33302cd9849567e7e68929d7132191d221f2d602d0d3846a9b4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page