Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6894635
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:48:27+00:00 2026-05-27T06:48:27+00:00

I am using Vim and GVim on a Win32 platform (alas, Windows is against

  • 0

I am using Vim and GVim on a Win32 platform (alas, Windows is against my nature, but it’s a work machine). I have noticed in GVim that when it returns to focus (either using the mouse, or via ALT+TAB) there is a brief lag of 2-3 seconds before the cursor resumes flashing and it becomes usable. I definitely do not experience this in when running Vim from the console. I have not it experienced on Linux boxes either, but then I do not edit such long files on my home machine.

Previously I also experienced the slow behaviour when switching between splits within a GVim session (using <c-w><c-w>). Some of the files I edit can be very long, and I have a custom statusline which requires some processing, and GVim was apparently recalculating the highlighting, folding and statusline every time. I was able to avoid that by setting

set eventignore=BufEnter,WinEnter,BufWinEnter

But I still have the problems when the GVim window itself regains focus. Adding set eventignore+=FocusGained makes no difference. Is there any way to persuade GVim to return to focus more smoothly?

Thanks for your help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T06:48:27+00:00Added an answer on May 27, 2026 at 6:48 am

    I’m guessing you have any of the following lines on a network drive (in a corporate environment, the Home drive (My Documents etc.) is frequently on a fileserver…

    • the file itself – this might not be fixable
    • the swapfile (:se noswap to disable, :se directory="C:\blabla" to relocate)
    • the undofile (:se noundofile to disable, :se undodir="C:\blabla" to relocate)

    I explicitely moved all of these files to a local folder on my Win32 setup. (Hey, I’m also the guy known to mutilate the virus checker enough to disable on-access scanning just to speed things up a little).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'v been using vim/gVim so far in my Linux Machine, and I have a
I am using VIM in Windows. The problem is that I want to use
I'm mainly using terminal vim and/or gvim 7.2 to work on my Perl project
I am using gvim 7.3 on Windows 7 64 bit Professional. Within vim I
Am using vim and have a large text file that contains some html thrown
I started using vim/gvim for windows few days ago. I use notepad++ until now
I have these Vim mappings for Git. Most of the commands below work, but
I want to develop C on Windows, but I really like just using vim
While using Vim (at home and at work), I often find myself doing similar
I have recently started using Vim as my text editor and am currently working

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.