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

Moving to method sometimes done in wrong split #80

Open
mattiaslundberg opened this issue Jan 28, 2016 · 1 comment
Open

Moving to method sometimes done in wrong split #80

mattiaslundberg opened this issue Jan 28, 2016 · 1 comment
Assignees
Labels

Comments

@mattiaslundberg
Copy link

I have build my workflow around using ctrlp and ctrlp funky. The way I use it is to use <Ctrl-p> to open ctrlp. And then <Ctrl-b> and <Ctrl-f> to move around the plugins. (I can't reproduce this when opening ctrlp funky directly).

When using ctrlp funky with this workflow together with 2 splits I often end up in a situation where the file opened (using enter) is opened in the wrong split (the left or the upper one while the intended one is the other), ending up with the same file opened in two splits.

The solution I've came up with involves changes to ctrlp (mattiaslundberg/ctrlp.vim@860c7d3) and ctrlp funky (mattiaslundberg@17d1b6a). I'm aware that this isn't a proper solution, but it seems to work for my case. The problem (atleast in my understanding) seems to be related to that ctrlp never calls the function function! ctrlp#funky#funky(word, ...) when using the workflow described.

I'm not sure if this is something that can be solved in ctrlp or in ctrlp funky or if I'm even close to understanding this. Any assistance in how to proceed to get this figured out would be appreciated.

Thanks for a great plugin!

@tacahiroy
Copy link
Owner

Thanks for your report.
indeed - I'll take a look and see how I can resolve this.

@tacahiroy tacahiroy added the bug label Aug 31, 2017
@tacahiroy tacahiroy self-assigned this Aug 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants