Skip to main content

Python refactoring actions for kakoune

Project description


Integrating rope refactoring library with kakoune.


First, install the kak-rope binary and its dependencies:

pipx install kak-rope

Then, configure kakoune, for instance using plug.kak:

plug "git+" config %{
  # Suggested mappings
  declare-user-mode rope
  map global user r ' :enter-user-mode rope<ret>' -docstring 'enter rope mode'
  map global rope a ':rope-add-import ' -docstring 'add import'


See builtin kakoune help. All commands defined in this module starts with rope-.


  • Install poetry
  • Install required dependencies
poetry install

Before submitting a change, run the following commands:

poetry run invoke lint

You can now use git-send-email and send a patch to

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-rope-0.1.0.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

kak_rope-0.1.0-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

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