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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T08:47:18+00:00 2026-06-02T08:47:18+00:00

In macvim, is it possible to make tab names full length (i.e. not shortened?)

  • 0

In macvim, is it possible to make tab names full length (i.e. not shortened?)

e.g., If I open a-very-really-quite-long-file-name.txt, its name in the tab is shortened to a-very-really-q.... This is frustrating if you open several files open with long names, which are similar at the start. (In console vim, this shortening doesn’t happen).

Is there an option or setting which prevents this shortening?

(My option guitablabel=%M%t where %t is the file name (the docs don’t seem to mention shortening), and I’m using macvim 7.3.)

  • 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-06-02T08:47:19+00:00Added an answer on June 2, 2026 at 8:47 am

    I found an ok solution at http://code.google.com/p/macvim/wiki/UserDefaults
    You can make the tab labels wider with the following code typed into a terminal ($ signs are prompts, don’t type them):

    $ defaults write org.vim.MacVim MMTabMinWidth 200
    $ defaults write org.vim.MacVim MMTabOptimumWidth 300
    $ defaults write org.vim.MacVim MMTabMaxWidth 400
    

    Where you can change the numbers (which are pixel widths) as you like. It’s not a perfect solution — tab label widths are not dymnamically sized to the file name length. So it you open a really long file name, too wide even for the extra wide setting you made, you will still get abbreviation & dots.

    If anyone knows a better solution, I’d be keen to hear it …

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

Sidebar

Related Questions

When using NERD Tree on MacVim, I can open a file in a new
When I use FuzzyFinder plugin to open a new file in MacVim, it opens
When I write html in MacVim I keep the same file open in a
Is there a way to set up MacVim to open a new file in
I use MacVim as my editor within Xcode. By default Command-B and :make are
I'm using macvim and I love it. I also happen to really like the
I am using MacVim (basically gvim for the mac). If I open macvim from
Is it possible to not display a ~ for blank lines in Vim? This
I upgraded my macvim to 7.3 recently and I can no longer open nerdtree
I want cscope to open files in MacVim instead of vim, so I'm trying

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.