2024-04-23 00:52:28 -04:00
|
|
|
#!/bin/bash
|
|
|
|
|
2024-04-23 05:24:45 -04:00
|
|
|
# stands for fuzzy vim
|
2024-04-23 00:52:28 -04:00
|
|
|
|
2024-04-23 05:46:16 -04:00
|
|
|
selected_path="$(find ~/Code/ ~/.local/bin/ ~/.config/ -maxdepth 2 -type d -not -path '*/\.git*' -print | fzf)"
|
2024-04-23 00:52:28 -04:00
|
|
|
|
2024-04-23 05:24:45 -04:00
|
|
|
if [ ! -z "${selected_path}" ]
|
2024-04-23 00:52:28 -04:00
|
|
|
then
|
2024-04-23 05:24:45 -04:00
|
|
|
echo "${selected_path}"
|
|
|
|
nvim "${selected_path}"
|
2024-04-23 00:52:28 -04:00
|
|
|
fi
|