I broke up with neovim....vim is my best friend now
This commit is contained in:
109
dot_vim/doc/live-latex-preview.txt
Normal file
109
dot_vim/doc/live-latex-preview.txt
Normal file
@@ -0,0 +1,109 @@
|
||||
*live-latex-preview.txt* For Vim version 7.4. Last change: 2014 Feb 01
|
||||
|
||||
*live-latex-preview*
|
||||
|
||||
A plugin for creating a live-updating PDF preview for a LaTeX file in MuPDF
|
||||
|
||||
Default key bindings:~
|
||||
|
||||
\o = Begin/end auto-compilation and live-updating (Note:
|
||||
starting live compilation will also open PDF preview.)
|
||||
\p = Open/close PDF preview window. (Note: closing the
|
||||
PDF preview will also stop auto-compilation.)
|
||||
\s = Check the result of the last compilation;
|
||||
jump to first error in case of errors.
|
||||
\f = Forward search to page in PDF matching cursor
|
||||
position in source.
|
||||
\r = Reverse/inverse search to position in source
|
||||
matching active page in MuPDF. (Very approximate.)
|
||||
\c = End any compilations in progress, and begin new compilation
|
||||
now. (Useful for un-"stick"ing stalled compilations.)
|
||||
Note: if auto-compilation is turned off, this will still
|
||||
compile and show the results inside vim.
|
||||
|
||||
\<PageUp>, \<PageDown>, \<Up>, \<Down>, \<Right>, \<Left>, \G
|
||||
\m, \t, \-, \+, \= = Send the corresponding keystrokes
|
||||
to the MuPDF preview without losing focus on vim Window
|
||||
|
||||
The '\' can be changed by changing <LocalLeader>.
|
||||
|
||||
To suppress the default key mappings, insert:
|
||||
|
||||
let no_tex_maps = 1
|
||||
|
||||
into your .vimrc file. You may then define your own mappings which
|
||||
execute the command :call FunctionName(). The important function
|
||||
names defined by the plugin are:
|
||||
*LaunchMuPDF()* which opens the PDF preview;
|
||||
*CloseMuPDF()* which closes the PDF preview;
|
||||
*PDFViewingToggle()* which toggles the PDF preview on/off;
|
||||
*UpdatingToggle()* which toggles live-updating on/off;
|
||||
*CheckLiveUpdateStatus()* which returns the results of the last
|
||||
compilation, and jumps to the first error, if any; and
|
||||
*MuPDFForward()* and *MuPDFReverse()* for forward and reverse search.
|
||||
|
||||
Autosaving~
|
||||
|
||||
Be aware that when live updating is active, your file is saved whenever
|
||||
the cursor moves. Be sure to take the appropriate measures to keep
|
||||
back-up saves and undo files so you can undo changes if need be. If
|
||||
you would like the file to save with each keystroke even when the
|
||||
preview is not active, then put
|
||||
|
||||
let tex_preview_always_autosave = 1
|
||||
|
||||
into your .vimrc file.
|
||||
|
||||
*LaTeX-compilation* options
|
||||
|
||||
Using XeLaTeX~
|
||||
|
||||
To compile with XeLaTeX rather than PDFLaTeX, include the string
|
||||
'xelatex' somewhere in the first five lines of your file (e.g., in a
|
||||
comment).
|
||||
|
||||
Using LaTeX > dvips > ps2pdf (for, e.g., PSTricks support)~
|
||||
|
||||
If pstricks or related pst-* package is loaded in your preamble, this option
|
||||
will be automatically used. Otherwise, pdflatex or xelatex will be used.
|
||||
(Thanks to Hong Ying for implementing this.)
|
||||
|
||||
(Support for LuaLaTeX may be added in the future.)
|
||||
|
||||
Using biber instead of bibTeX~
|
||||
|
||||
To process bibliographic citations with biber instead of bibTeX, include
|
||||
the string 'biber' somewhere in the first five lines of your file (e.g.,
|
||||
in a comment).
|
||||
|
||||
Using -shell-escape~
|
||||
|
||||
To enable the -shell-escape command-line option, to allow
|
||||
LaTeX's \write18{..} command (for, e.g., the minted package), include
|
||||
the string 'shell-escape' somewhere in the first five lines of your file
|
||||
(e.g., in a comment).
|
||||
|
||||
LaTeX *subdocuments*
|
||||
LaTeX *root*
|
||||
|
||||
Working with subdocuments~
|
||||
|
||||
If you want to use the live preview feature while editing a
|
||||
sub-document, i.e., a document included in another document by means
|
||||
of LaTeX's \input{..} or \include{..} commands, then put a comment
|
||||
in the first five lines of the subdocument containing the string
|
||||
'root = main.tex' (replacing 'main.tex' with the actual name
|
||||
of the master file). This is meant to be compatible with the convention
|
||||
adopted by other editors such as TeXworks and TeXshop, which use
|
||||
the convention:
|
||||
|
||||
% !TeX root = main.tex
|
||||
|
||||
to indicate that the master document for a given file is named "main.tex".
|
||||
|
||||
All files should be in the same folder.
|
||||
|
||||
|
||||
Contact Kevin C. Klement <klement@philos.umass.edu> with bug reports.
|
||||
|
||||
vim:tw=78:ts=8:ft=help:norl:
|
||||
77
dot_vim/doc/tags
Normal file
77
dot_vim/doc/tags
Normal file
@@ -0,0 +1,77 @@
|
||||
CheckLiveUpdateStatus() live-latex-preview.txt /*CheckLiveUpdateStatus()*
|
||||
CloseMuPDF() live-latex-preview.txt /*CloseMuPDF()*
|
||||
LaTeX-compilation live-latex-preview.txt /*LaTeX-compilation*
|
||||
LaunchMuPDF() live-latex-preview.txt /*LaunchMuPDF()*
|
||||
MuPDFForward() live-latex-preview.txt /*MuPDFForward()*
|
||||
MuPDFReverse() live-latex-preview.txt /*MuPDFReverse()*
|
||||
PDFViewingToggle() live-latex-preview.txt /*PDFViewingToggle()*
|
||||
UpdatingToggle() live-latex-preview.txt /*UpdatingToggle()*
|
||||
clang_close-preview clang_complete.txt /*clang_close-preview*
|
||||
clang_complete clang_complete.txt /*clang_complete*
|
||||
clang_complete-author clang_complete.txt /*clang_complete-author*
|
||||
clang_complete-auto_select clang_complete.txt /*clang_complete-auto_select*
|
||||
clang_complete-auto_user_options clang_complete.txt /*clang_complete-auto_user_options*
|
||||
clang_complete-cc_args clang_complete.txt /*clang_complete-cc_args*
|
||||
clang_complete-clang_restore_cr_imap clang_complete.txt /*clang_complete-clang_restore_cr_imap*
|
||||
clang_complete-clang_trailing_placeholder clang_complete.txt /*clang_complete-clang_trailing_placeholder*
|
||||
clang_complete-compilation_database clang_complete.txt /*clang_complete-compilation_database*
|
||||
clang_complete-compl_kinds clang_complete.txt /*clang_complete-compl_kinds*
|
||||
clang_complete-complete_auto clang_complete.txt /*clang_complete-complete_auto*
|
||||
clang_complete-complete_macros clang_complete.txt /*clang_complete-complete_macros*
|
||||
clang_complete-complete_patterns clang_complete.txt /*clang_complete-complete_patterns*
|
||||
clang_complete-conceal_snippets clang_complete.txt /*clang_complete-conceal_snippets*
|
||||
clang_complete-configuration clang_complete.txt /*clang_complete-configuration*
|
||||
clang_complete-copen clang_complete.txt /*clang_complete-copen*
|
||||
clang_complete-description clang_complete.txt /*clang_complete-description*
|
||||
clang_complete-faq clang_complete.txt /*clang_complete-faq*
|
||||
clang_complete-hl_errors clang_complete.txt /*clang_complete-hl_errors*
|
||||
clang_complete-issues clang_complete.txt /*clang_complete-issues*
|
||||
clang_complete-jumpto_back_key clang_complete.txt /*clang_complete-jumpto_back_key*
|
||||
clang_complete-jumpto_declaration_in_preview_key clang_complete.txt /*clang_complete-jumpto_declaration_in_preview_key*
|
||||
clang_complete-jumpto_declaration_key clang_complete.txt /*clang_complete-jumpto_declaration_key*
|
||||
clang_complete-keybindings clang_complete.txt /*clang_complete-keybindings*
|
||||
clang_complete-library_path clang_complete.txt /*clang_complete-library_path*
|
||||
clang_complete-license clang_complete.txt /*clang_complete-license*
|
||||
clang_complete-loaded clang_complete.txt /*clang_complete-loaded*
|
||||
clang_complete-make_default_keymappings clang_complete.txt /*clang_complete-make_default_keymappings*
|
||||
clang_complete-omnicppcomplete_compliance clang_complete.txt /*clang_complete-omnicppcomplete_compliance*
|
||||
clang_complete-optional_args_in_snippets clang_complete.txt /*clang_complete-optional_args_in_snippets*
|
||||
clang_complete-options clang_complete.txt /*clang_complete-options*
|
||||
clang_complete-periodic_quickfix clang_complete.txt /*clang_complete-periodic_quickfix*
|
||||
clang_complete-snippets clang_complete.txt /*clang_complete-snippets*
|
||||
clang_complete-snippets_engine clang_complete.txt /*clang_complete-snippets_engine*
|
||||
clang_complete-sort_algo clang_complete.txt /*clang_complete-sort_algo*
|
||||
clang_complete-todo clang_complete.txt /*clang_complete-todo*
|
||||
clang_complete-use_library clang_complete.txt /*clang_complete-use_library*
|
||||
clang_complete-user_options clang_complete.txt /*clang_complete-user_options*
|
||||
clang_complete.txt clang_complete.txt /*clang_complete.txt*
|
||||
g:clang_auto_select clang_complete.txt /*g:clang_auto_select*
|
||||
g:clang_auto_user_options clang_complete.txt /*g:clang_auto_user_options*
|
||||
g:clang_close_preview clang_complete.txt /*g:clang_close_preview*
|
||||
g:clang_compilation_database clang_complete.txt /*g:clang_compilation_database*
|
||||
g:clang_complete_auto clang_complete.txt /*g:clang_complete_auto*
|
||||
g:clang_complete_copen clang_complete.txt /*g:clang_complete_copen*
|
||||
g:clang_complete_loaded clang_complete.txt /*g:clang_complete_loaded*
|
||||
g:clang_complete_macros clang_complete.txt /*g:clang_complete_macros*
|
||||
g:clang_complete_optional_args_in_snippets clang_complete.txt /*g:clang_complete_optional_args_in_snippets*
|
||||
g:clang_complete_patterns clang_complete.txt /*g:clang_complete_patterns*
|
||||
g:clang_conceal_snippets clang_complete.txt /*g:clang_conceal_snippets*
|
||||
g:clang_hl_errors clang_complete.txt /*g:clang_hl_errors*
|
||||
g:clang_jumpto_back_key clang_complete.txt /*g:clang_jumpto_back_key*
|
||||
g:clang_jumpto_declaration_in_preview_key clang_complete.txt /*g:clang_jumpto_declaration_in_preview_key*
|
||||
g:clang_jumpto_declaration_key clang_complete.txt /*g:clang_jumpto_declaration_key*
|
||||
g:clang_library_path clang_complete.txt /*g:clang_library_path*
|
||||
g:clang_make_default_keymappings clang_complete.txt /*g:clang_make_default_keymappings*
|
||||
g:clang_omnicppcomplete_compliance clang_complete.txt /*g:clang_omnicppcomplete_compliance*
|
||||
g:clang_periodic_quickfix clang_complete.txt /*g:clang_periodic_quickfix*
|
||||
g:clang_restore_cr_imap clang_complete.txt /*g:clang_restore_cr_imap*
|
||||
g:clang_snippets clang_complete.txt /*g:clang_snippets*
|
||||
g:clang_snippets_engine clang_complete.txt /*g:clang_snippets_engine*
|
||||
g:clang_sort_algo clang_complete.txt /*g:clang_sort_algo*
|
||||
g:clang_trailing_placeholder clang_complete.txt /*g:clang_trailing_placeholder*
|
||||
g:clang_use_library clang_complete.txt /*g:clang_use_library*
|
||||
g:clang_user_options clang_complete.txt /*g:clang_user_options*
|
||||
live-latex-preview live-latex-preview.txt /*live-latex-preview*
|
||||
live-latex-preview.txt live-latex-preview.txt /*live-latex-preview.txt*
|
||||
root live-latex-preview.txt /*root*
|
||||
subdocuments live-latex-preview.txt /*subdocuments*
|
||||
Reference in New Issue
Block a user