color syntax by default

12 views
Skip to first unread message

Vincent Douce LeMathoscope

unread,
Apr 4, 2021, 12:32:34 PMApr 4
to vim_mac
hi
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 "formulae.brew.sh" i type "vim update" in the field it does not give any "vim" result

any help welcom…

Vincent

Yee Cheng Chin

unread,
Apr 4, 2021, 11:33:18 PMApr 4
to vim...@googlegroups.com
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 https://brew.sh for installation instructions), or if you want a GUI just download a MacVim binary from https://macvim-dev.github.io/macvim/ 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 http://www.vim.org/maillist.php

---
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 vim_mac+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_mac/7fcd522f-b1de-4c14-8bf3-0f4b7e7bfab2n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages