color syntax by default

Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

color syntax by default

Mathoscope Éveilleur de Mathématiques
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

--
--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_mac/7fcd522f-b1de-4c14-8bf3-0f4b7e7bfab2n%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: color syntax by default

Yee Cheng Chin-2
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.

On Sun, Apr 4, 2021 at 9:32 AM Vincent Douce LeMathoscope <[hidden email]> wrote:
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

--
--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_mac/7fcd522f-b1de-4c14-8bf3-0f4b7e7bfab2n%40googlegroups.com.

--
--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_mac/CAHTeOx8f7p1t_VO7GYnmGgwtQZYKyjqOZYDcVJtj_5q__t8STA%40mail.gmail.com.