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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T20:43:00+00:00 2026-05-27T20:43:00+00:00

I have been having a font rendering problem with GVim on Ubuntu for quite

  • 0

I have been having a font rendering problem with GVim on Ubuntu for quite a while. I frequently notice the problem when switching between tabs. After I switch between tabs, sometimes lines will not be rendered. If I hit ctrl+l, the content in the tab will be redrawn and the missing lines are rendered correctly. I guess I could write a function in my .vimrc to automatically run ctrl+l after I switch tabs, but I feel that I would only be avoiding a problem rather than fixing the underlying issue.

  • Ubuntu 11.10
  • GVim 7.3
  • .vimrc: set guifont=Inconsolata\ 12

I have been having the problem for a long time with different versions of Ubuntu and different gui fonts set. I’d love to hear any ideas anyone has that might help me fix this problem.

These are the functions I use for switching tabs:

function TabLeft()
   let tab_number = tabpagenr() - 1
   if tab_number == 0
      execute "tabm" tabpagenr('$') - 1
   else
      execute "tabm" tab_number - 1
   endif
endfunction

function TabRight()
   let tab_number = tabpagenr() - 1
   let last_tab_number = tabpagenr('$') - 1
   if tab_number == last_tab_number
      execute "tabm" 0
   else
      execute "tabm" tab_number + 1
   endif
endfunction

map <silent><C-S-PageUp> :execute TabRight()<CR>
map <silent><C-S-PageDown> :execute TabLeft()<CR>
  • 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-27T20:43:01+00:00Added an answer on May 27, 2026 at 8:43 pm

    I have seen font rendering glitches on Ubuntu. My workaround has been to use ‘textmode’ style tabheadings, see guioptions.

    Here is my preferred setting:

    :se guioptions=agim
    

    Note that

    • I may be imagining things, but is seems snappier too
    • It results in more screen real estate for editing
    • The above settings also remove all scrollbars (who needs scrollbars?)

    To just change the tab heading style, try, e.g.

    :se guioptions-=e
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been having a problem that has troubled me for a while. Searching
I am having a problem, for a while I have been trying to figure
I have been having the following problem, i think it's probably due to the
Hello I have been having trouble with this for a while now. I have
This is a really weird problem that I have been having. When I download
I have been having a problem lately with my JavaScript CODE and taking a
I have been having a problem with using Bundler and being able to access
I have been having this problem for a few days now, and really cant
I have been having some issues with LINQ-To-SQL around memory usage. I'm using it
I have been having some problems trying to get my PHP running. When 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.