leadr 2.8.6

Shell aliases on steroids
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env nu

# Set this directory as the config directory to load the test mappings
$env.LEADR_CONFIG_DIR = ($env.FILE_PWD)

source ../init.nu

# Add a keybinding for testing
$env.config.keybindings ++= [{
    name: leadr
    modifier: Control
    keycode: Char_g
    mode: [emacs vi_insert vi_normal]
    event: {
        send: executehostcommand
        cmd: "__leadr_invoke__"
    }
}]