All New

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Login


All New Login

All gists matching topic fzf

Recently created
Least recently created
Recently updated
Least recently updated
santiago's Avatar

santiago / vd.sh - fzf pick + vim edit

0 likes
0 forks
1 files
Last active 1747056365
use fzf to select file and launch editor
bash fzf linux vim
1 #!/usr/bin/env zsh
2
3 # Use fzf and open file in text editor
4
5 vd() {
6 # folder, default to current directory
7 # depth, default to 1
8 local dir=${1:-.}
9 local depth=${2:-1}
10 local selected_file
Newer Older

Powered by Opengist ⋅ Load: 5ms⋅

English
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文