Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always use g:ctrlp_by_filename option #279

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bleshik
Copy link

@bleshik bleshik commented Jul 28, 2016

No description provided.

@mattn
Copy link
Member

mattn commented Jul 28, 2016

This change is not required. s:byfname are set as same value of the global variable if you set g:ctrlp_by_filename.

@bleshik
Copy link
Author

bleshik commented Jul 28, 2016

The problem with the current behaviour is that the value of s:byfname may changed using C-D and next time you open CtrlP the value is the last one which was used. The desired behaviour is to always use the specified g:ctrlp_by_filename on every invocation of CtrlP, no matter in what state you left the value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants