Go to file
2022-01-23 21:30:00 -05:00
src Add kak responses and enable skipping whitespace 2022-01-23 21:30:00 -05:00
.gitignore Add initial code 2022-01-22 16:29:02 -05:00
Cargo.lock Add options 2022-01-22 23:16:12 -05:00
Cargo.toml Add cargo keywords 2022-01-23 21:28:31 -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
    }
}
----