runex 0.1.14

Cross-shell abbreviation engine that expands short tokens into full commands
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
 | append {
    name: runex_paste
    modifier: control
    keycode: char_v
    mode: [emacs vi_insert]
    event: {
        send: executehostcommand
        cmd: "
            let clip = ({NU_BIN} paste-clipboard | str join '')
            if not ($clip | is-empty) {
                commandline edit --insert $clip
            }
        "
    }
}