Skip to content

Do not update when a special buffer is selected#166

Merged
ryanoasis merged 1 commit intoryanoasis:masterfrom
svanharmelen:b-window-switching
Sep 23, 2016
Merged

Do not update when a special buffer is selected#166
ryanoasis merged 1 commit intoryanoasis:masterfrom
svanharmelen:b-window-switching

Conversation

@svanharmelen
Copy link
Copy Markdown
Contributor

The word “special” in the title, in this case means anything else that a normal buffer (a file). Additionally make sure we reset the alternate window as well so we can keep using that as expected.

For details why this fix is needed, please see this issue ctrlpvim/ctrlp.vim#235 and the comments (mainly the last 5 or so) of this PR ctrlpvim/ctrlp.vim#303

Also please see Xuyuanp/nerdtree-git-plugin#63 as the related code was copied from there and they just merged the same fix as well. So this PR implements that same fix as users have reported the same issue when using this plugin as well.

Please see Xuyuanp/nerdtree-git-plugin#63 including the comments and the references to an issue logged with the `CtrlP` plugin.

This PR implements the same fix as users have reported the same issue when using this plughin as well.
@ryanoasis
Copy link
Copy Markdown
Owner

Good stuff and thanks for this!

I usually like to test things out even for the most benign changes but this same fix has already been applied elsewhere as you mentioned. 😄

For now I am going to merge and do version update later

@ryanoasis ryanoasis merged commit 0288d01 into ryanoasis:master Sep 23, 2016
@svanharmelen
Copy link
Copy Markdown
Contributor Author

👍

@ryanoasis ryanoasis modified the milestone: v0.9.0 Sep 23, 2016
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