Skip to main content

Python refactoring actions for kakoune

Project description

kak-rope

Integrating rope refactoring library with kakoune.

Installation

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

pipx install kak-rope

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

plug "git+https://git.sr.ht/~dmerej/kak-rope" 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'
}

Usage

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

Contributing

  • 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 https://lists.sr.ht/~dmerej/kak-rope

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.3.0.tar.gz (4.4 kB view hashes)

Uploaded source

Built Distribution

kak_rope-0.3.0-py3-none-any.whl (4.4 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page