Actually, it's pronounced "mouv"
Place in autoload or use plug.kak.
Mouvre provides helper commands for defining custom movements. The following terminology is employed for commands:
"jump" implies the cursor moves to a location and reduces the selection to the cursor.
"select" implies the cursor moves to a location and selects from the previous location to current location.
"extend" impales the cursor moves to a location and selects from the previous location to current location.
The following commands are provided with the plugin:
jump-forward-regex-start
jump-forward-regex-end
jump-backward-regex-start
jump-backward-regex-end
jump-start
jump-end
select-forward-regex-start
select-forward-regex-end
select-backward-regex-start
select-backward-regex-end
select-start
select-end
extend-forward-regex-start
extend-forward-regex-end
extend-backward-regex-start
extend-backward-regex-end
extend-start
extend-end
extend-to-offset
select-to-offset
extend-by-command
select-by-command
create-movement-command
create-bidirectional-movement-command
create-regex-movement-command
search-no-wrap
reverse-search-no-wrap
Additionally, two filetype plugins are provided for git-style diffs and for the toml filetype. The git-diff plugin creates bindings for moving between diff chunks, and the toml filetype creates bindings for moving between table sections There is also a path user mode created, which creates movement bindings for paths
(jump|select|extend) forward to next match for <regex> (does not wrap).
Cursor will be placed at the start of the regex match.
(jump|select|extend) forward to next match for <regex> (does not wrap).
Cursor will be placed at the end of the regex match
(jump|select|extend) backward to next match for <regex> (does not wrap).
Cursor will be placed at the start of the regex match
(jump|select|extend) backward to next match for <regex> (does not wrap).
Cursor will be placed at the end of the regex match
(jump|select|extend) to the start of the buffer
(jump|select|extend) to the end of the buffer
Extend current selection to byte-offset <offset>
Select from cursor to byte-offset <offset>
Extends current selection to the point at which the cursor ends after executing <command>
Select from current location to the point at which the cursor ends after executing <command>
Creates two new movement commands which make use of <command>
The two commands are:
- select-<partial-name>
- extend-<partial-name> They will select or extend from the current selection to the location reached by <command>. The two commands will require <params> argument count.
Creates five new movement commands which make use of <fwd-command> and <bkwd-command>
The five commands are:
- select-forward-<partial-name>
- extend-forward-<partial-name>
- select-backward-<partial-name>
- extend-backward-<partial-name>
- select-surrounding-<partial-name> The commands will require <params> argument count
Create a bidirectional movement commands based on a regex string
The following commands will be created after calling this command:
- jump-forward-<partial-name>
- jump-backward-<partial-name>
- select-forward-<partial-name>
- extend-forward-<partial-name>
- select-backward-<partial-name>
- extend-backward-<partial-name>
- select-surrounding-<partial-name>
Performs a forward regex search, but fails instead of wrapping
Performs a reverse regex search, but fails instead of wrapping