-1

Here is my vimrc

call plug#begin('~/.vim/plugged')

call plug#end()

I am getting this error ,

-bash: .vimrc: line 3: syntax error near unexpected token `('
-bash: .vimrc: line 3: `call plug#begin('~/.vim/plugged')'

Couldn't figure why, any idea? Installed it from here https://github.com/junegunn/vim-plug

RasenRhino
  • 47
  • 5

1 Answers1

1

Your vimrc is meant to be automatically sourced by Vim during startup and by nothing else. Sourcing it in your shell makes no sense whatsoever.

romainl
  • 186,200
  • 21
  • 280
  • 313