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 677383
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T01:02:00+00:00 2026-05-14T01:02:00+00:00

I use Vim & Git together. I tend to merge/switch Git branches alot. I

  • 0
  1. I use Vim & Git together.
  2. I tend to merge/switch Git branches alot.
  3. I tend to have lots of vim buffers open.

  4. Is there a way to tell vim: when I execute this git command (which switches branches), reload all buffers? Since I have hooks into all my vim-git interaction, letting vim know when to do the reload is not a problem. The question is: how to force vim to reload all buffers?

  • 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-14T01:02:01+00:00Added an answer on May 14, 2026 at 1:02 am

    You can try setting the autoread option on.

    :set autoread
    

    From the vim help:

    When a file has been detected to have been changed outside of Vim and
    it has not been changed inside of Vim, automatically read it again.

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

Sidebar

Related Questions

I started playing with Haskell and I use Vim. I have autoindent on in
I use vim. Specifically I am using Janus . I have expandtab set. However,
I use Vim's spell checking to validate texts in Russian. We have letter ё
Sometimes I want to use a minimal vim configuration, so with pathogen I have
I use vim for coding. When I have to compile the current file, Currently
I'm trying out ViEmu with Visual Studio 2010 & R#. In Vim I use
There is good snippet for changing cursor color: if &term =~ xterm\\|rxvt use an
I use vim (7.1) on OpenVMS V7.3-2. I connect to VMS trough a telnet
I use Vim and Vim plugins for Visual Studio when writing C++. Often, I
I use VIM editor for PHP, i know many people will point to PDT

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.