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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T14:35:02+00:00 2026-05-25T14:35:02+00:00

Whenever I work with multiple buffers, there is always one empty. I would like

  • 0

Whenever I work with multiple buffers, there is always one empty. I would like to not have that if I open a file with vim from the command line (i.e. I don’t want to create a new file, or choose to create a new file by naming it first and starting vim with that name). How can I do this?

Edit:

I’m launching gvim the following way:

I have an alias in my bashrc: alias g="gvim --remote-silent"

I open files from the command line with: g name-of-file

At this point (if I didn’t already have an instance of gvim open), I have two buffers:

enter image description here

Edit2:

Platform is Linux Mint, version is: VIM – Vi IMproved 7.3 (2010 Aug 15, compiled Mar 24 2011 07:07:39).

I updated my NERDTree plugin as David suggested, but it didn’t help. Other plugins I use: Pathogen, a, doxygentoolkit, nerdtree, snipmate, vim-rails,
ack_plugin, easymotion, protobuf, sparkup, yankring,
bufexplorer, matchit, rainbow, surround,
clang_complete, nerdcommenter, repeat

  • 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-25T14:35:03+00:00Added an answer on May 25, 2026 at 2:35 pm

    I don’t have your problem on

    • linux, gvim – Vi IMproved 7.3 (2010 Aug 15, compiled Mar 24 2011 07:07:34) Included patches: 1-35
    • windows gvim – Vi IMproved 7.2 (2008 Aug 9, compiled Aug 9 2008 18:46:22) MS-Windows 32-bit GUI version with OLE support

    You are probably looking at a bug.

    You might be able to debug things by cleaning your $MYVIMRC (temporarily) and running gvim --noplugin.

    Alternatively inspect all settings (like bufhidden and other suspect parties)

     :set
     :setglobal
    

    and see from which script/plugin they are being set (bufhidden as an example only here):

     :verbose set bufhidden
     :verbose setglobal bufhidden
    

    You might also inspect autocommands (that might prevent buffers from being wiped)

     :verbose au
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have worked with pointers a lot, but still whenever I work with them,
At work, we have several applications with databases in a centralized SQL server. Whenever
We have quite a bit of reusable code at work (a good thing). Whenever
Whenever I design a database, I always wonder if there is a best way
Whenever I have to use a BOOL flag which maintains its value across multiple
I have a drop down with multiple options. Whenever you choose an option, the
Whenever I work on a system of any flavor that has a particular way
Whenever I work on the server, I find it very annoying to just have
Newbie question. I have a NSMutableArray that holds multiple objects (objects that stores Bezier
I'm trying to build a select-box like custom dropdown that should close whenever I

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.