An open API service indexing awesome lists of open source software.

https://github.com/jcocozza/fs

very simple find string
https://github.com/jcocozza/fs

search-in-text

Last synced: 6 months ago
JSON representation

very simple find string

Awesome Lists containing this project

README

          

# Fs

Fs is a text file search tool. It searches for regex pattern matches in the directory and subdirectories that it is told to.
By default is will start searching in the directory it is located in.

I wanted to learn a little more about vim/vimscript so I decided to build a (very) simplified version of [the_silver_searcher](https://github.com/ggreer/the_silver_searcher).
The basic design was inspired by [fzf.vim](https://github.com/junegunn/fzf.vim)

Both of these tools are way better then Fs.

## Install

The binary is located in [releases](https://github.com/jcocozza/fs/releases).

For use in vim you can just use vim's built in plugin manager.
```bash
cd ~/.vim/pack/git-plugins/start
git clone https://github.com/jcocozza/fs.git
```
The `fs` binary needs to be in your path to use the vim plugin.

## Searching in Vim
The vim plugin should work out of the box provided the `fs` binary is in your path.

Launch it with `:Fs`.
You will be prompted to enter the search pattern. Once you start typing, results will be asynchronously loaded.
To leave the search window press ``.
`` will drop you into the file that you selected.
Use arrow keys (`/`) to navigate in the resulting file list.