Skip to content

BringPdfFrontOnAutomaticUpdate command does work #1

Description

@adamsx97

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions