Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/delapouite/kakoune-user-modes

A collection of handy user modes for kakoune
https://github.com/delapouite/kakoune-user-modes

kakoune plugin

Last synced: about 1 month ago
JSON representation

A collection of handy user modes for kakoune

Awesome Lists containing this project

README

        

# kakoune-user-modes

[kakoune](http://kakoune.org) user modes

## Install

Add `user-modes.kak` to your autoload dir: `~/.config/kak/autoload/`.

Or via [plug.kak](https://github.com/andreyorst/plug.kak):

```
plug 'delapouite/kakoune-user-modes' %{
# Suggested mappings
map global user a ': enter-user-mode anchor' -docstring 'anchor mode'
map global user e ': enter-user-mode echo' -docstring 'echo mode'
map global user f ': enter-user-mode format' -docstring 'format mode'
map global user i ': enter-user-mode enter' -docstring 'enter mode'
map global user k ': enter-user-mode keep' -docstring 'keep mode'
map global user l ': enter-user-mode lint' -docstring 'lint mode'
map global user r ': enter-user-mode rotation' -docstring 'rotation mode'
map global user t ': enter-user-mode trim' -docstring 'trim mode'
map global user / ': enter-user-mode search' -docstring 'search mode'
}
```

## Usage

A collection of user modes that you may find handy.
Nothing revolutionary, just convenient mappings to avoid using ``

## Tips

```
alias global u enter-user-mode
```

With this alias, `:u` provides a quick fuzzy-access to all user-modes

## See also

- [buffers user-mode](https://github.com/Delapouite/kakoune-buffers)
- [mirror user-mode](https://github.com/Delapouite/kakoune-mirror)
- [text-objects user-mode](https://github.com/Delapouite/kakoune-text-objects)
- [useful user-modes](https://discuss.kakoune.com/t/useful-user-modes/730)

## Licence

MIT