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
Release history Release notifications | RSS feed
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 details)
Built Distribution
File details
Details for the file kak-rope-0.3.0.tar.gz
.
File metadata
- Download URL: kak-rope-0.3.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.11 CPython/3.9.7 Linux/5.13.0-20-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cebdbc803149c0d4e1e0a9c8da82f06788c97a852e3865f286ae7e49edd7b0a1 |
|
MD5 | 13e275cb7490cee95d28a5db72f6a310 |
|
BLAKE2b-256 | b5c89f8e13ab1dad79c78f35b662af806f42c826db5ff9745223396837644ccc |
File details
Details for the file kak_rope-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: kak_rope-0.3.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.11 CPython/3.9.7 Linux/5.13.0-20-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a80b5b3a62cf9dc751c5cb96fa4f3290975b3f99919252ffcf97a320fbf652d |
|
MD5 | 78f8c53d8ec6f87af2413fa9f4721a13 |
|
BLAKE2b-256 | 0f6c73ca594e4ffaac57e949ab7271b8faaf78f86b68b14d6ae684b220909945 |