Skip to main content

PyEnchant wrapper for Kakoune

Project description


PyEnchant wrapper for Kakoune.


  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"

define-command lint-on-save "hook buffer BufWritePre .* lint"```
  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'


You can discuss features of this plugin on

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.

Files for kak-spell, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size kak_spell-0.1.2-py3-none-any.whl (4.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size kak-spell-0.1.2.tar.gz (4.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page