Skip to content

Small tidy ups + Focus acquisition #1

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

Merged
merged 9 commits into from
Mar 9, 2018
Merged

Conversation

lostgoat
Copy link
Contributor

@lostgoat lostgoat commented Mar 1, 2018

Hey,

Found you plugin pretty useful. I made a few cleanups and added an extra feature to acquire focus on the remote server when a buffer is opened there.

Could I also trouble you to add a license to your repo? Currently unlicensed code is technically not allowed to be used by anyone else.

Thanks for the great plugin!
Andres

When we open a buffer in a separate vim instance, bring it to the
foreground and switch focus to avoid mouse usage/having to hunt down
the window.
Move the .vim file into a plugin/ folder so that plugin managers will
autoload it.
Keep our own augroup of autocmds to limit our clearing scope.
When this happens, just prompt the user like in usual scenarios.

This can happen with old dangling swap files (that the user might want
to recover).
Don't want to pollute the local buffer list.
@codeape2
Copy link
Owner

codeape2 commented Mar 2, 2018

Great, will merge your changes and add a license, thanks!

I am more of a PyCharm user these days I must confess - but still use vim occasionally. Do the tests still work?

@codeape2 codeape2 self-assigned this Mar 2, 2018
@lostgoat
Copy link
Contributor Author

lostgoat commented Mar 2, 2018

I tested this manually because the tests weren't passing for me on codeape2:master. The two monitor tests work fine, but the three monitor test fails.

I get the same results on lostgoat:master, two monitor test passes, but three fails.

Btw, you might want to update the README as well to s/lostgoat/codepe2/g. Otherwise the installation instructions will point to my repo :)

@codeape2 codeape2 merged commit 1ef67e7 into codeape2:master Mar 9, 2018
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