Skip to content

coreyja/fzf.devicon.vim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fzf 💜 devicon ❤️ vim

Things is a fork of fzf.vim that adds in support for devicons via the devicon-lookup tool

This fork is compatible side by side with fzf.vim however it is NOT required! The commands that this plugin exports are post-fixed so as to NOT conflict with the originals

Due to the rename that took place after the fork updates from upstream need to be applied manually. Also not all the changes to upstream are relevant cause much of the scope is reduced. The current latest git commit from fzf.vim that is included here is e0d131d95364edf940a70127fcb5748b86e6955e

Example GIF

fzf.devicon.fzf example gif

Installation

Dependencies

fzf.devicon.vim depends on the devicon-lookup utility version >= 0.8 This must be installed separately, and can be installed via cargo

cargo install devicon-lookup

fzf.devicon.vim also depends on the basic Vim plugin of the main fzf repository which means you need to install both "fzf" and "fzf.devicon.vim". README-VIM.

Using vim-plug

Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'coreyja/fzf.devicon.vim'

fzf#install() makes sure that you have the latest binary, but it's optional, so you can omit it if you use a plugin manager that doesn't support hooks.

Dependencies

Commands

Command List
:FilesWithDevicons [PATH] Files (runs $FZF_DEFAULT_COMMAND if defined)
:GFilesWithDevicons [OPTS] Git files (git ls-files)
:GFilesWithDevicons? Git files (git status)
:AgWithDevicons [PATTERN] ag search result (ALT-A to select all, ALT-D to deselect all)
:RgWithDevicons [PATTERN] rg search result (ALT-A to select all, ALT-D to deselect all)
:RGWithDevicons [PATTERN] rg search result; relaunch ripgrep on every keystroke
:LocateWithDevicons PATTERN locate command output
  • Most commands support CTRL-T / CTRL-X / CTRL-V key bindings to open in a new tab, a new split, or in a new vertical split
  • Bang-versions of the commands (e.g. Ag!) will open fzf in fullscreen
  • You can set g:fzf_command_prefix to give the same prefix to the commands
    • e.g. let g:fzf_command_prefix = 'Fzf' and you have FzfFiles, etc.

License

MIT

About

fzf 💜 devicon ❤️ vim

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages

  • Vim Script 93.5%
  • Shell 6.5%