Home

Awesome

FZTerm

This plugin is deprecated, see One term

Idea

FZTerm is my attempt at a fuzzy finder plugin, using a floating terminal and basically nothing else. The basic idea is to make it fully customizable, the plugins provides the basic framework and a few implementations. The only dependencies are bat, fzf and ag, but the framework is still usable without them.

Usage

Vim commandSummaryRespects g:fzterm_ignorefunction called
:FilesLists files in pwdYesfiles
:GFilesLists git-filesNogitFiles
:BuffersLists open buffersNobuffers
:BranchesLists git branches and lets you checkout to the selected oneNobranch
:AgSearches files with the silver searcherYesag
:RgSearches files with RipgrepYesrg
:FilesOrGFilesRuns :Files or :GFiles depending on the presence of a .git directory at vim's pwdNofilesOrGitFiles
:CommitsLists git commits and shows you detailsNocommits
:BlameRuns git blame on the file and lets you search the lines, displaying commit details in preview windowNoblame
:CommitRuns git commit in the preview windowNocommit
:DocumentSymbolsGets document symbols from neovim's built-in lspNodocumentSymbols
:WorkspaceSymbolsGets workspace symbols from neovim's built-in lspNoworkspaceSymbols
:ReferencesGets references to keyword under the cursor from neovim's built-in lspNoreferences
:MappingsFuzzy search for nvim mappingsNomappings
:ColorsFuzzy search colorschemes and use the selected oneNocolors
:RangerBrowse files using ranger and open one in the current windowNoranger

Configuration

Extensions

  command FilesExcludeHidden :lua require'fzterm'.fzterm('rg --files .')