All Projects → rlivings39 → vscode-fzf-quick-open

rlivings39 / vscode-fzf-quick-open

Licence: MIT License
vscode extension providing quick file/folder open and searching using fzf

Programming Languages

typescript
32286 projects
shell
77523 projects
Batchfile
5799 projects

Projects that are alternatives of or similar to vscode-fzf-quick-open

fzwal
A pywal theme picker with live preview based on fzf.
Stars: ✭ 27 (-35.71%)
Mutual labels:  fzf
vscode-checkpoints
Checkpoints for your code editing.
Stars: ✭ 27 (-35.71%)
Mutual labels:  vscode-extension
multicopy
VS Code extension to copy and paste multiple snippets of code in your workspace.
Stars: ✭ 29 (-30.95%)
Mutual labels:  vscode-extension
vsc html5 boilerplate
This is a Visual Studio Code snippet extension for generating HTML 5 boilerplate code
Stars: ✭ 32 (-23.81%)
Mutual labels:  vscode-extension
vscode-wow-api
WoW extension for VSCode
Stars: ✭ 40 (-4.76%)
Mutual labels:  vscode-extension
vscode-javascript-booster
Sprinkle extra refactorings, code actions and commands over your JavaScript! 🍩 TypeScript and Flow are first class citizens as well!
Stars: ✭ 115 (+173.81%)
Mutual labels:  vscode-extension
vscode-sqflint
SQF Language server extension
Stars: ✭ 16 (-61.9%)
Mutual labels:  vscode-extension
Shortcut-Menu-Bar-VSCode-Extension
Add handy buttons like beautify, show opened files, save, toggle terminal, etc to the editor menu bar in VSCode. You can also create your own buttons with custom commands. VSCode Marketplace link: https://marketplace.visualstudio.com/items?itemName=jerrygoyal.shortcut-menu-bar
Stars: ✭ 126 (+200%)
Mutual labels:  vscode-extension
vscode-gitbook-kit
An Extension for VSCode to act as gitbook editor
Stars: ✭ 26 (-38.1%)
Mutual labels:  vscode-extension
clj-kondo.lsp
Clj-kondo language server and VSCode extension: https://marketplace.visualstudio.com/items?itemName=borkdude.clj-kondo
Stars: ✭ 17 (-59.52%)
Mutual labels:  vscode-extension
Render-CRLF
This Visual Studio Code extension shows end-of-line character (CR, LF, or CRLF) when whitespace rendering is turned on.
Stars: ✭ 16 (-61.9%)
Mutual labels:  vscode-extension
vscode-create-file-folder
A small vscode extension that help you to create files & folder in Atom Style.
Stars: ✭ 27 (-35.71%)
Mutual labels:  vscode-extension
vscode-tlaplus
TLA+ language support for Visual Studio Code
Stars: ✭ 213 (+407.14%)
Mutual labels:  vscode-extension
git-commands
Fuzzy search git commands with fzf
Stars: ✭ 18 (-57.14%)
Mutual labels:  fzf
markdown-live
📝 Real-time Markdown Editor & Previewer for VS Code
Stars: ✭ 18 (-57.14%)
Mutual labels:  vscode-extension
vsc
☢️ A fresh-looking, neon theme for Visual Studio Code Almost radioactive.
Stars: ✭ 24 (-42.86%)
Mutual labels:  vscode-extension
vscode-interactive-graphviz
Interactive Graphviz Dot Preview for Visual Studio Code
Stars: ✭ 57 (+35.71%)
Mutual labels:  vscode-extension
vscode-explicit-folding
Customize your Folding for Visual Studio Code
Stars: ✭ 46 (+9.52%)
Mutual labels:  vscode-extension
vscode-gleam
📟 Gleam support for VS Code
Stars: ✭ 34 (-19.05%)
Mutual labels:  vscode-extension
paruz
A fzf terminal UI for paru or pacman
Stars: ✭ 29 (-30.95%)
Mutual labels:  fzf

Build Status Marketplace Installs Rating

fzf-based fuzzy searching in VScode to open files/folders and filter ripgrep results

Any time that vscode requires interaction with the OS file dialog, the workflow can become much less efficient. This comes up when opening files outside of your workspace folders or adding a workspace folder. This extension solves that by providing these actions using fzf.

Provides an interface to search using ripgrep and browse the results using fzf. This is inspired by Vim's rg and fzf integration. The search pattern defaults to the word under your cursor or your current selection and is easily overridden.

Works on *nix, Mac, and Windows. Tested with CMD, PowerShell, and Git Bash on Windows.

Usage

Provides the commands:

  • fzf: Search using rg and fzf to search using fzf and ripgrep
  • fzf: Open file using fzf opens a terminal in which you can choose a file
  • fzf: Add workspace folder using fzf to add a workspace folder

On terminal launch, the pwd is chosen based on the active editor file. Also adds

  • fzf: Search in PWD using rg and fzf
  • fzf: Open file in PWD using fzf
  • fzf: Add workspace folder from PWD using fzf

which are the same as above but switches to parent directory of active file on every invocation.

Bind the commands to keyboard shortcuts to launch faster.

Configuration

Change the setting fzf-quick-open.initialWorkingDirectory to override the initial working directory used for the fzf terminal. Change fzf-quick-open.findDirectoriesCmd to change the command used to find directories. Something like fd --type d is very fast if you use fd.

By default fzf is used as the fuzzy matcher command. To change this to add flags or use another tool like skim (sk) modify the setting fzf-quick-open.fuzzyCmd to be the command that should be run. It will be plugged in to a context like: rg searchTerm | fzf --ansi --print0 ... and needs to support --ansi --print0 flags.

To change the rg case matching options use the setting fzf-quick-open.ripgrepSearchStyle to choose between:

  • Case sensitive
  • Ignore case
  • Smart case

To pass other flags to rg add them to fzf-quick-open.ripgrepOptions.

Setup

  1. Install fzf

  2. Install ripgrep

  3. For best performance you should set up fzf to use the amazingly fast fd

    ~/.config/fish/config.fish

    set --universal FZF_DEFAULT_COMMAND 'fd'

    ~/.bashrc

    echo "export FZF_DEFAULT_COMMAND='fd'" >> ~/.bashrc
  4. Configure the setting fzf-quick-open.findDirectoriesCmd to use fd: fd --type d

Examples

Search with ripgrep Search with rg and fzf

Open file Open file with fzf

Open workspace folder Add workspace folder with fzf

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].