Files
dotfiles/dot_config/nushell/nu_scripts/custom-menus/fuzzy/directory.nu
Cian Hughes 896af887ca Changed . token to _dot
This change allows the dotfiles to work with chezmoi (e.g: on windows)
and improves grepability with neovim/telescope
2024-11-07 13:52:17 +00:00

17 lines
434 B
Nu

{
name: fuzzy_dir
modifier: control
keycode: char_s
mode: [emacs, vi_normal, vi_insert]
event: {
send: executehostcommand
cmd: "commandline edit --append (
ls **/*
| where type == dir
| get name
| input list --fuzzy
$'Please choose a (ansi magenta)directory(ansi reset) to (ansi cyan_underline)insert(ansi reset):'
)"
}
}