Go to file
2022-01-22 18:25:22 -05:00
src First commit that works 2022-01-22 18:25:22 -05:00
.gitignore Add initial code 2022-01-22 16:29:02 -05:00
Cargo.lock Add initial code 2022-01-22 16:29:02 -05:00
Cargo.toml Add initial code 2022-01-22 16:29:02 -05:00
README.adoc First commit that works 2022-01-22 18:25:22 -05:00

= rust-selection-sort.kak

== Configuration

[source,title='kakrc']
----
define-command s -params 0..1 %{
    eval -save-regs '"' %{
        reg dquote %val{selections}
        eval %sh{
            regex="${1:-.*}"
            eval set -- "$kak_quoted_selections"
            ~/syncthing/code/rust-selection-sort.kak/target/debug/rust-selection-sort "$regex" "$@" > "$kak_command_fifo"
        }
        exec R
    }
}
----