-
Notifications
You must be signed in to change notification settings - Fork 1
Description
I put the command in TexShop document into my .vimrc file, and it did not work.
Here is an error output shows every time when I try to start Vim.
Error detected while processing /Users/admin/.vimrc:
line 51:
E492: Not an editor command: defaults write TeXShop BringPdfFrontOnAutomaticUpdate NO
Here is my .Vimrc set up.
" Comment: Following 3 lines are for Latex live editing
autocmd Filetype tex setl updatetime=1
let g:livepreview_previewer = 'open -a TeXShop'
defaults write TeXShop BringPdfFrontOnAutomaticUpdate NO
My machine is MacBook Air (13-inch, Early 2014).
Operating System is macOS High Sierra Version 10.13.
I edit .tex files on vim, using https://github.com/xuhdev/vim-latex-live-preview and TeXShop for preview.
My TeXShop version is 3.88 up-to-date.
I also allowed TeXShop Preference-External Editor-Automatic Preview Update.
Would you please solve my error? Thanks for developing great tools as such!