Hi, James--

On Wed, Apr 8, 2020 at 5:35 PM James Dekker <[email protected]> wrote:

> My When I try to load it using either:
>
> . .gvimrc
>
> or
>
> source .gvimrc
>
> It outputs the following error:
>
> -bash: .gvimrc: line 4: syntax error near unexpected token `('
> -bash: .gvimrc: line 4: `call plug#begin('~/.vim/plugged')'
>

The error looks like it is caused by running ". .gvimrc" or "source .gvimrc"
at the Bash command prompt.
If you want to source the gvimrc, you should probably do "source ~/.gvimrc"
or "source $MYGVIMRC" at the : prompt inside Vim.

On Sun, Apr 12, 2020 at 12:31 AM Yee Cheng Chin <[email protected]>
advised:

> You probably want to put the plug initializations in your vimrc instead of
> gvimrc. gvimrc should only be for GUI specific options.
>

I'm not a Vim expert, so this is a guess: Putting the plug initialization
in vimrc  may help, because vimrc and gvimrc are run at different points in
the startup process.

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

Reply via email to