English
Ask Your Question
0

in vi editor infedora 25 version how to change the colour of characters please resolve it

asked 2017-09-09 16:14:52 +0000

BJ gravatar image

updated 2017-09-11 08:05:50 +0000

villykruse gravatar image

in vi editor infedora 25 version how to change the colour of characters please resolve it

edit retag flag offensive close merge delete

Comments

I'll try helping you if I understand your question.

fcomida ( 2017-09-11 01:01:00 +0000 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-10-11 21:06:41 +0000

msum gravatar image
  • You can use the :colorscheme command to change the whole colour scheme. Use tab completion to find out the available themes.
  • If you only want to change the colour of one type of text (e.g. plain text), use the hi command, e.g. hi Normal ctermfg=Red to make the text red.

If you want to make those changes persistent, put the commands into your ~/.vimrc.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Stats

Asked: 2017-09-09 16:14:52 +0000

Seen: 29 times

Last updated: Oct 11