AutoYADM commit: 2025-05-30 15:05:09
This commit is contained in:
parent
e935d7b3fd
commit
0e82ccfdb9
1 changed files with 7 additions and 3 deletions
|
@ -1,13 +1,17 @@
|
|||
# <https://github.com/delapouite/kakoune-hump>
|
||||
|
||||
declare-option regex hump [A-Z]+(?![a-z])|[A-Z][a-z]+|[a-z]+|_[a-zA-Z0-9]+
|
||||
declare-option regex hump [A-Z][a-z]+|[A-Z]+|[a-z]+
|
||||
|
||||
define-command -hidden select-current-hump %{
|
||||
execute-keys %exp{<a-a>c%opt{hump},%opt{hump}<ret>}
|
||||
}
|
||||
|
||||
define-command -hidden select-next-hump %{
|
||||
execute-keys h/[A-Z][a-z]+|[A-Z]+|[a-z]+<ret>
|
||||
execute-keys /[A-Z][a-z]+|[A-Z]+|[a-z]+<ret>
|
||||
}
|
||||
|
||||
define-command -hidden select-previous-hump %{
|
||||
execute-keys l<a-/>[A-Z][a-z]+|[A-Z]+|[a-z]+<ret><a-semicolon>
|
||||
execute-keys <a-/>[A-Z][a-z]+|[A-Z]+|[a-z]+<ret><a-semicolon>
|
||||
}
|
||||
|
||||
define-command -hidden extend-next-hump %{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue