fzf functions

πŸ“ FZF_RG_FD_COMPLETE_GUIDE.md πŸš€ The Ultimate FZF + Ripgrep + fd Guide for Termux (2025) The Trinity of Modern CLI Tools Last Updated: October 2025 Optimized for: Termux on Android πŸ“¦ Official Repositories fzf: https://github.com/junegunn/fzf (Fuzzy Finder) ripgrep (rg): https://github.com/BurntSushi/ripgrep (Fast grep alternative) fd: https://github.com/sharkdp/fd (Fast find alternative) πŸ“‹ Table of Contents Installation Why This Trinity? Quick Start FZF + FD Integration FZF + Ripgrep Integration The Complete Trinity Real-World Workflows Advanced Recipes Custom Functions Library Performance Optimization Termux-Specific Tips πŸ“₯ Installation Install All Three Tools in Termux # Update package lists pkg update && pkg upgrade # Install the trinity pkg install fzf ripgrep fd # Optional but highly recommended companions pkg install bat exa git # Verify installations fzf --version rg --version fd --version 🎯 Why This Trinity? The Problem with Traditional Tools: # Slow and verbose find . -type f -name "*.js" 2>/dev/null # Limited and outdated grep -r "function" . # Not interactive locate file.txt The Modern Solution: Tool Purpose Speed Features fd Find files πŸš€ 3-10x faster than find Ignores .git, colors, smart case rg Search content πŸš€ 5-50x faster than grep Respects .gitignore, colors fzf Interactive filter πŸš€ Instant fuzzy search Preview, multi-select, keybindings Combined Power: # Find files blazingly fast + interactive selection + live preview fd --type f | fzf --preview 'bat --color=always {}' # Search content everywhere + interactive results + jump to line rg --line-number . | fzf --delimiter : --preview 'bat --color=always {1} --highlight-line {2}' ⚑ Quick Start Basic Commands fd (Fast Find) # Find all files fd # Find by name fd config # Find specific type fd -e js # JavaScript files fd -e py # Python files fd -e md # Markdown files # Find in specific directory fd config /etc # Include hidden files fd -H # Search in depth fd --max-depth 3 rg (Ripgrep) # Search in current directory rg "pattern" # Case-insensitive search rg -i "pattern" # Show line numbers rg -n "pattern" # Search specific file types rg -t js "function" rg -t py "def " # Show context (lines before/after) rg -C 3 "pattern" # Search and show file names only rg -l "pattern" fzf (Fuzzy Finder) # Basic fuzzy find fzf # With preview fzf --preview 'cat {}' # Multi-select fzf -m # Custom height fzf --height 40% πŸ”— FZF + FD Integration 1. Basic File Finder (fd + fzf) # Simple file search fd --type f | fzf # With preview fd --type f | fzf --preview 'bat --color=always --style=numbers {}' # Include hidden files fd --type f --hidden | fzf --preview 'bat --color=always {}' # Exclude patterns fd --type f --exclude node_modules --exclude .git | fzf --preview 'bat {}' 2. Directory Navigation (fd + fzf) # Jump to any directory cd $(fd --type d | fzf) # With preview of directory contents cd $(fd --type d | fzf --preview 'ls -lah {}') # With tree preview (if tree is installed) cd $(fd --type d | fzf --preview 'tree -L 2 {}') # With exa preview (modern ls) cd $(fd --type d | fzf --preview 'exa -lah --icons {}') 3. File Type Specific Searches # Find and edit JavaScript files vim $(fd -e js | fzf --preview 'bat --color=always {}') # Find Python files fd -e py | fzf --preview 'bat -l python --color=always {}' # Find config files fd -e conf -e config -e yaml -e yml -e json | fzf --preview 'bat --color=always {}' # Find images fd -e jpg -e png -e gif | fzf --preview 'termux-open {}' # Find markdown files fd -e md | fzf --preview 'bat --color=always -l markdown {}' 4. Set fd as Default for fzf Add to ~/.bashrc or ~/.zshrc: ...

October 28, 2025 Β· 26 min Β· Nejuni

fzf

πŸ“ FZF_COMPLETE_GUIDE.md πŸš€ FZF (Fuzzy Finder) - Complete Guide for Termux (2025) Last Updated: October 2025 Official Repository: https://github.com/junegunn/fzf Version: Latest stable (0.55+) πŸ“‹ Table of Contents What is fzf? Basic Usage Essential Daily Commands Key Bindings Advanced Usage Preview Window Integration Examples Customization Termux-Specific Tips 🎯 What is fzf? fzf is a blazingly fast, general-purpose command-line fuzzy finder. It’s an interactive Unix filter for command-line that can be used with any list: files, command history, processes, hostnames, bookmarks, git commits, etc. ...

October 28, 2025 Β· 12 min Β· Nejuni

ffmpeg

FFmpeg CLI Tool - Complete Guide for Termux (2025) Table of Contents Introduction Basic Syntax Video Conversion Audio Operations Video Compression Video Editing Extract Audio/Video Streaming & Recording Image Operations Advanced Operations Useful Tips Introduction FFmpeg is a powerful multimedia framework that can decode, encode, transcode, mux, demux, stream, filter, and play almost any media format. This guide covers the most useful commands for daily use in Termux. Official Resources: ...

October 28, 2025 Β· 13 min Β· Nejuni

rg

rg (ripgrep) - A Lightning-Fast Search Tool Official Repository: https://github.com/BurntSushi/ripgrep Version: Latest (2025) Platform: Termux (Android) Author: Andrew Gallant (BurntSushi) Table of Contents Introduction Why Use ripgrep? Basic Syntax Most Useful Daily Commands Advanced Usage Search Patterns & Regex Practical Examples Configuration Tips & Tricks Performance Optimization Introduction ripgrep (rg) is a line-oriented search tool that recursively searches your current directory for a regex pattern. It’s designed to be faster than grep, ag (The Silver Searcher), and ack while respecting your gitignore rules. ...

October 28, 2025 Β· 18 min Β· Nejuni

fd

fd - A Fast and User-Friendly Alternative to β€˜find’ Official Repository: https://github.com/sharkdp/fd Version: Latest (2025) Platform: Termux (Android) Table of Contents Introduction Why Use fd? Basic Syntax Most Useful Daily Commands Advanced Usage Practical Examples Tips & Tricks Introduction fd is a simple, fast, and user-friendly alternative to the traditional find command. It’s designed to be intuitive and comes with smart defaults that make it perfect for everyday use. Key Features: ...

October 28, 2025 Β· 10 min Β· Nejuni

curl

🌐 cURL - Complete Guide for Termux (2025) Table of Contents About cURL Basic Usage Essential Daily Commands HTTP Methods API Development Advanced Features Configuration Troubleshooting About cURL cURL (Client URL) is a command-line tool for transferring data with URLs. It supports numerous protocols and is the industry standard for API testing and data transfer. Official Website: https://curl.se/ Version: 8.5.0+ (latest as of 2025) License: MIT-like (curl license) Maintainer: Daniel Stenberg & community Supported Protocols HTTP, HTTPS, FTP, FTPS, SCP, SFTP, TFTP, DICT, TELNET, LDAP, LDAPS, MQTT, FILE, IMAP, IMAPS, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, GOPHER, GOPHERS ...

October 28, 2025 Β· 24 min Β· Nejuni

aria2

πŸ“₯ Aria2 - Complete Guide for Termux (2025) Table of Contents About Aria2 Basic Usage Essential Daily Commands Advanced Features Configuration Troubleshooting About Aria2 Aria2 is a lightweight, multi-protocol & multi-source command-line download utility. It supports HTTP/HTTPS, FTP, SFTP, BitTorrent, and Metalink. Official Repository: https://github.com/aria2/aria2 Version: 1.37.0+ (latest as of 2025) License: GPL-2.0 Key Features Multi-connection downloading (up to 16 connections per file) BitTorrent support with DHT, PEX, encryption Metalink support RPC interface for remote control Resume capability Bandwidth throttling Basic Usage Simple Download # Download a single file aria2c https://example.com/file.zip # Download with custom filename aria2c -o myfile.zip https://example.com/file.zip # Download to specific directory aria2c -d /sdcard/Download https://example.com/file.zip Essential Daily Commands 1. Fast Multi-Connection Download # Use 16 connections (maximum speed) aria2c -x 16 -s 16 https://example.com/largefile.iso # -x: maximum connections per server # -s: split file into N pieces Example: ...

October 28, 2025 Β· 10 min Β· Nejuni