mirror of
https://github.com/foo-dogsquared/dotfiles.git
synced 2025-01-30 22:57:54 +00:00
45 lines
908 B
Plaintext
45 lines
908 B
Plaintext
use std/dirs
|
|
use std/dirs shells-aliases *
|
|
|
|
$env.config.keybindings = $env.config.keybindings | append [
|
|
{
|
|
name: dirs_quickadd
|
|
modifier: control
|
|
keycode: char_f
|
|
mode: [emacs vi_normal vi_insert]
|
|
event: {
|
|
send: ExecuteHostCommand
|
|
cmd: "dirs add .."
|
|
}
|
|
}
|
|
|
|
{
|
|
name: dirs_drop
|
|
modifier: alt
|
|
keycode: char_f
|
|
mode: [emacs vi_normal vi_insert]
|
|
event: {
|
|
send: ExecuteHostCommand
|
|
cmd: "dirs drop"
|
|
}
|
|
}
|
|
|
|
{
|
|
name: dirs_prev
|
|
modifier: control
|
|
keycode: char_h
|
|
mode: [emacs vi_normal vi_insert]
|
|
event: [
|
|
{
|
|
send: ExecuteHostCommand
|
|
cmd: "dirs prev"
|
|
}
|
|
|
|
{
|
|
send: ExecuteHostCommand
|
|
cmd: "cd -"
|
|
}
|
|
]
|
|
}
|
|
]
|