Changes

Jump to navigation Jump to search
35 bytes removed ,  11:01, 2 July 2020
m
drop dup title and navbox
< [[Text Editors]] | [[Related Programs]] >
http://www.vim.org/
let g:context_mtxrun = 'PATH=$HOME/Applications/ConTeXt-Beta/tex/texmf-osx-64/bin:$PATH mtxrun'
You may To enable synctex by setting <tt>g:context_synctex</tt> to disable SyncTeX, use <tt>1\setupsynctex[state=start]</tt> (the default is and <tt>0\setupsynctex[state=stop]</tt>): let g:context_synctex = 1, respectively, in your document.
You may pass <tt>mtxrun</tt> additional options by putting them in <tt>g:context_extra_options</tt>.
For example:
let g:context_extra_options = '--arrange --autopdf'
The <tt>--autogenerate</tt>, and <tt>--nonstopmode</tt> and <tt>--synctex</tt> options are always included in the
command.
You can reset the key mapping to speed ConTeXt compiling.
Just add the following code to your <tt>_vimrc</t>tt> (or <tt>.vimrc</tt> file under Linux) file:
<pre>
"run setup and complie, then open the result pdf file
"run setup and make list of the current file
map <F8> <Esc><Esc>:sil ! "D:\context\tex\setuptex.bat && texmfstart texexec.pl --autopdf --pdf --list --result=%:p:r_list %"<CR><CR>
 
</pre>
that improve on it, in particular, to provide automatic completion of keywords:
* µcompleteMUcomplete[https://github.com/lifepillar/vim-mucomplete]* Coc [https://github.com/neoclide/coc.nvim].
* Completor[https://github.com/maralla/completor.vim]
* NeoComplete[https://github.com/Shougo/neocomplete.vim]
* SuperTab[https://github.com/ervandew/supertab]
In the asciicast at the top of this page µcomplete MUcomplete was used.
=== UltiSnips ===
TexLet g:Tex_DefaultTargetFormat = 'cont'
{{Installation navbox}}
[[Category:Text Editors]]

Navigation menu