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
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.