Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Possible Duplicate:
Make text bold in vim

I am working on Ubuntu and using vim to make C files. I want to make the entire text in the editor bold. How can I do that without installing any plugin? I am not looking to make specific words bold. I am using a black background. Colors in bold would make the editor look really good.

share|improve this question

marked as duplicate by akira, Indrek, ChrisF, Bobby, soandos Oct 18 '12 at 9:33

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
Are you using vim in a terminal/console session - so you just want to use a bold font rather than a regular font in the console? If so, what console application are you using? –  Paul Oct 18 '12 at 3:08
    
@Paul: I am using bash. I do not want to make the text in the shell. I want it only for Vim. Can you help? –  Parth Shah Oct 18 '12 at 4:44
    
@ParthShah: vim running as a console application uses the fonts provided by the console / terminal. you can specify fonts within vim only when running in a gui-version. –  akira Oct 18 '12 at 6:18
    
@akira: Perfect! That's the answer I was looking for. Seems so obvious. Silly me! –  Parth Shah Oct 18 '12 at 10:27

1 Answer 1

If you are using vim in the terminal and don't mind making the text bold for all your terminal windows, you can usually change the font (and font weight) in the terminal emulator. E.g. if you use gnome-terminal (the default), you can go Edit > Preferences, untick "Use the system fixed width font" and then click the font and choose the bold variant of the one you want from the list.

If you use a GUI Vim such as GVim, you can change the font: http://vim.wikia.com/wiki/Change_font, and simply specify the bold variant, e.g. "Monospace Bold".

share|improve this answer
    
It does not look good in the terminal! It looks good only in vim. GVim is obviously a solution. Any other solution specifically for Vim? –  Parth Shah Oct 18 '12 at 4:41

Not the answer you're looking for? Browse other questions tagged or ask your own question.