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
- Host: GitHub
- URL: https://github.com/vbauerster/phantom.kak
- Owner: vbauerster
- License: unlicense
- Created: 2020-08-24T19:13:28.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-24T19:20:26.000Z (almost 6 years ago)
- Last Synced: 2025-11-21T01:20:27.708Z (8 months ago)
- Homepage: https://kakoune.org
- Size: 19.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING
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