Home  >  Q&A  >  body text

vim is too colorful, don’t use colors

vim is too fancy. I want it to be simple, without any color, and all fonts should be normal white. How to do it?

天蓬老师天蓬老师2712 days ago692

reply all(5)I'll reply

  • 某草草

    某草草2017-05-16 16:35:50

    Under /etc/, there is a file named vimrc, in which you can set up and turn off syntax highlighting - -

    reply
    0
  • 怪我咯

    怪我咯2017-05-16 16:35:50

    Command line input:

    cat << EOF >> ~/.vimrc
    :syntax off
    EOF

    reply
    0
  • PHP中文网

    PHP中文网2017-05-16 16:35:50

    Use vi, clam

    reply
    0
  • 迷茫

    迷茫2017-05-16 16:35:50

    ~/.vimrc

    syntax off

    reply
    0
  • 黄舟

    黄舟2017-05-16 16:35:50

    If you just want to change the current window, directly execute the following command:
    :syntax off
    :colo evening

    colo changed the theme to night, so it has a black background and white words

    reply
    0
  • Cancelreply