color syntax by default

Skip to first unread message

Vincent Douce LeMathoscope

Apr 4, 2021, 12:32:34 PM4/4/21
to vim_mac
my vim 8.0 freshly installed does not provide syntax color by default
i am obliged to type :syntax on at each opening of a new doc
how can i correct this ?

ps also, the "visual mode" does not seem to be effective ?
how can i do ?

also, i spent half an hour searching on internet how to update but not found
if on "" i type "vim update" in the field it does not give any "vim" result

any help welcom…


Yee Cheng Chin

Apr 4, 2021, 11:33:18 PM4/4/21
For defaulting to syntax on, if you have a configuration file (~/.vimrc), you need to manually specify that in your vimrc by adding "syntax on". Vim also comes with some better defaults (including turning syntax on) that you could just load in in your vimrc file (type ":h defaults.vim" to see how to do that)

Visual mode should work, how is it not working? You may want to be more descriptive when asking for help as it's a little hard to be able to help otherwise.

Vim can be installed via multiple ways. The default Vim installation (I imagine that is what you have?) is installed via macOS. You can't update that yourself as Apple manages that installation. Other popular methods include using Homebrew to manage Vim (go to for installation instructions), or if you want a GUI just download a MacVim binary from which comes with an auto-updater to update MacVim for you.

You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit

You received this message because you are subscribed to the Google Groups "vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
Reply all
Reply to author
0 new messages