Skip to content

Flick when invoke some commands #543

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

Open
3 tasks done
ghost opened this issue Dec 6, 2017 · 6 comments
Open
3 tasks done

Flick when invoke some commands #543

ghost opened this issue Dec 6, 2017 · 6 comments

Comments

@ghost
Copy link

ghost commented Dec 6, 2017

  • Category
    • Bug
  • OS
    • Windows
  • Vim
    • Vim

-->
I've found that fzf.vim has same problem as describled here when invoke commands preservim/tagbar#348
Tested with: Commits, BCommits, BTags, Tags, GFiles, GFiles?.
Any chance of fixing it?

@janlazo
Copy link
Contributor

janlazo commented Dec 11, 2017

junegunn/vim-plug#636

This is a problem in GVim on Windows only because of system. I don't encounter this in terminal Vim.

Vim jobs don't create a new window so there's no need to use python or any external languages to fix this problem. There's an attempt to use job_start instead of system in junegunn/vim-plug#594 but it wasn't stable enough for me when I last tried it. It's tedious to track down the minimum patch required on each OS to reliably use job_start instead of system so I gave up on it.

It can be done but I'm not interested on working on this right now. It's hard to work around internal issues and design choices in Vim.

@ghost
Copy link
Author

ghost commented Dec 11, 2017

Thanks, hope it be fixed soon, use those commands on every buffers :)

@janlazo
Copy link
Contributor

janlazo commented Mar 26, 2018

@ghost
Copy link
Author

ghost commented Jun 8, 2018

@janlazo : how to run it in :terminal? can you give a modified code to achive the solution?

@janlazo
Copy link
Contributor

janlazo commented Jun 8, 2018

@tuyenpm9 The vim-patch suggests adding set guioptions+=! in your gvimrc but you need a recent release, such as Vim 8.1, for it to work. I haven't tried it though since I use my own shim for consistency with terminal Vim.

@ghost
Copy link
Author

ghost commented Jun 8, 2018

Have no idea this patch8.0.1616 has been patched yet, but from what I've tested on my machine (gvim 8.1 1-26/windows10) with my full vimrc, cmd windows appear faster but still do appear, with guioptions=egt!

Good news that at least it might be faster.

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

No branches or pull requests

1 participant