dmtrKovalenko / dmtrKovalenko/fff

[feature request] Find files based on the current buffer name

Open
#138 1 comment 2 reactions 0 assignees View on GitHub
triaged
Dominant language
Rust
Stars
10.7k
Forks
446
Avg merge
1d 21h
Merged PRs (30d)
39

Description

The [nixprime/cpsm](https://github.com/nixprime/cpsm) CtrlP matcher for CtrlP has this awesome feature:
> cpsm will still attempt to perform matching on an empty query based on the open file in the current buffer.

When Ctrlp is first open, a first match is performed based on the current buffer name.

I like this feature a lot because it allows me to quickly switch between the implementation file and his test file.
eg:
Having the file `foo.go` buf active, press ``, the first match of the list would be `foo_test.go` press enter, your done!

The current buffer name has to be ignore from the search result. (Which is another nice feature by itself!)

I know that swapping between file of similar name can be done in `vim-projectionist`, but I tend to prefer having one very smart way to select file rather than many.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.