An open API service indexing awesome lists of open source software.

https://github.com/vbauerster/phantom.kak

Seamless integrate phantom selections in the existing command set of Kakoune
https://github.com/vbauerster/phantom.kak

Last synced: 4 months ago
JSON representation

Seamless integrate phantom selections in the existing command set of Kakoune

Awesome Lists containing this project

README

          

# phantom.kak

Phantom selections for [Kakoune].

## Installation

Add [`phantom.kak`](rc/phantom.kak) to your autoload or source it manually.

## Usage

In _normal mode_:

- Press F to add selections.
- Press f to restore selections and consume register.
- Press Alt + f to clear phantom selections.
- Press Space (the keep selection command) twice to clear phantom selections.

In _insert mode_:

- Press Alt + i to _insert_ the main selection.
- Press Alt + a to _append_ the main selection.
- Press Alt + n to _insert_ the next selection.
- Press Alt + p to _insert_ the previous selection.

You can configure the `Phantom` face to your liking, which defaults to bold-italic-underline.

## Credits

Initial implementation and original idea from [occivink]/[kakoune-phantom-selection].

[occivink]: https://github.com/occivink
[kakoune-phantom-selection]: https://github.com/occivink/kakoune-phantom-selection

[Kakoune]: https://kakoune.org