Am using macvim 8.2.319 (installed it by running the downloaded dmg file) on macOS Catalina (10.15.4).
My .gvimrc file:
set guifont=JetBrains\ Mono:h15
set nu!
call plug#begin('~/.vim/plugged')
Plug 'itchyny/lightline.vim'
Plug 'preservim/nerdtree'
call plug#end()
map <C-t> :NERDTreeToggle<CR>
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')'
When I run macvim by doing this:
gvim Hello.py
The line numbers are set but I can't see liteline anywhere (I did do a PlugInstall and PlugUpdate).
When I try to open NERD tree by clicking on Control-t, it states this:
E492: Not an editor command: NERDTreeToggle
By, the way, I don't have a .vimrc file created...
Why are the NERDTree and liteline plug-ins not working on macvim?