diff options
| author | Akshay Nair <phenax5@gmail.com> | 2026-07-02 10:49:39 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2026-07-02 10:49:39 +0530 |
| commit | 13a2f89ecbda892aeaf5533a2779a96fec2968e2 (patch) | |
| tree | 23c2dca66ec7d595f941bdae2033b84bca09ff2c /autoload/+init.kak | |
| parent | 8ff33f448ead9dcfe87395a81302bb57d4124d7d (diff) | |
| download | kakoune-config-13a2f89ecbda892aeaf5533a2779a96fec2968e2.tar.gz kakoune-config-13a2f89ecbda892aeaf5533a2779a96fec2968e2.zip | |
Add selection mode + git link base branch
Diffstat (limited to 'autoload/+init.kak')
| -rw-r--r-- | autoload/+init.kak | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/autoload/+init.kak b/autoload/+init.kak index 0fc5183..0bf78d9 100644 --- a/autoload/+init.kak +++ b/autoload/+init.kak @@ -40,3 +40,9 @@ hook global RegisterModified '/' %{ # Highlight search add-highlighter -override global/search regex "%reg{/}" 0:search } + +declare-user-mode selection +map global user z ': enter-user-mode selection<ret>' -docstring 'Selection mode' +# Turn all selections as "next" pattern. Press n to go to next +map global selection f ': exec "%val{selection_count}n"<ret>' -docstring 'Focus selection' + |
