userspace-installation-maid/.local/bin/fzvim

12 lines
227 B
Bash
Executable File

#!/bin/bash
# stands for fuzzy vim
selected_path="$(find ~/Code/ ~/.local/bin/ ~/.config/ -type d -not -path '*/\.git*' -print | fzf)"
if [ ! -z "${selected_path}" ]
then
echo "${selected_path}"
nvim "${selected_path}"
fi