Commit Graph

251 Commits

Author SHA1 Message Date
Karl Yngve Lervåg
52bd7ae47b Refactoring: Extract formatexpr module 2016-02-06 20:03:09 +01:00
Karl Yngve Lervåg
664b7259ce Update docs on <f7> mapping (#335) 2016-01-30 09:01:52 +01:00
Karl Yngve Lervåg
4f00544482 Updated doc comment on neovim 2016-01-28 23:19:40 +01:00
Karl Yngve Lervåg
c51fad17dd Improved documentation for f7 mapping (#335) 2016-01-28 15:26:19 +01:00
Karl Yngve Lervåg
6cbe5cfe77 Added simple documentation of unite sources (#330) 2016-01-27 23:25:17 +01:00
Karl Yngve Lervåg
bd69bed3e1 Added dated copyright to license 2016-01-24 22:26:46 +01:00
Karl Yngve Lervåg
248bbeed2e Refactored: extracted text_obj.vim from motion.vim 2016-01-21 22:48:04 +01:00
Karl Yngve Lervåg
61c7aca7bc Final change of name -> VimtexToggleMain (#211) 2016-01-15 23:37:08 +01:00
Karl Yngve Lervåg
456c65aa27 Updated SumatraPDF settings example (fixes #326) 2016-01-14 20:04:48 +01:00
Karl Yngve Lervåg
987fa7c130 Updated default key for subfile toggle (#211) 2016-01-14 15:06:26 +01:00
Karl Yngve Lervåg
de89fe4fa5 Added documentation for SubfileToggle (#211) 2016-01-14 15:04:14 +01:00
Karl Yngve Lervåg
ff22868333 Minor fix to docs 2016-01-12 23:15:44 +01:00
Karl Yngve Lervåg
25cdfa6bb1 Fix #241 - Add support for import package 2016-01-12 23:14:02 +01:00
Karl Yngve Lervåg
a2904d1780 Examples of anonymous snippets (#322, #295) 2016-01-12 15:19:26 +01:00
Karl Yngve Lervåg
d660b0ae42 Minor update to docs 2016-01-04 23:41:34 +01:00
Karl Yngve Lervåg
33daacfed8 Improve file name completion (#308) 2016-01-04 23:28:58 +01:00
Karl Yngve Lervåg
bb04215684 Simple version of includegraphics complete (#308) 2016-01-04 13:05:25 +01:00
Karl Yngve Lervåg
f4683e3439 Added a FAQ entry about neovim (#262) 2015-12-25 23:16:47 +01:00
Karl Yngve Lervåg
99d82c2394 Big update to imaps feature (#295)
- Removed automatic snippets
- Added utility command (+ map) to view imaps "VimtexImapsList"
- Updated documentation
- Use <expr>-mappings for imaps
2015-12-21 23:37:32 +01:00
Karl Yngve Lervåg
9878c66b34 Fix #279: Create custom maps only in tex files 2015-12-06 21:46:08 +01:00
Karl Yngve Lervåg
eb78213222 Add option to fold multiline comments (#289) 2015-12-04 23:02:50 +01:00
Karl Yngve Lervåg
5cc4fead62 Change fakesection fold text and add doc
Ref. #292
2015-12-04 22:24:02 +01:00
Hexchain Tong
7c43e85082 Fix a typo in documentation 2015-12-01 17:28:26 +08:00
Karl Yngve Lervåg
e2702279c6 Change default fold options 2015-11-26 22:28:42 +01:00
Karl Yngve Lervåg
bf9935ad9e Updated docs on folding (#283) 2015-11-25 22:44:12 +01:00
Karl Yngve Lervåg
8b5332987c Revert removal of option description 2015-11-25 13:53:48 +01:00
Enno Nagel
e51a1f87dc document automatic fold setup 2015-11-22 15:34:02 +01:00
Karl Yngve Lervåg
5771ed00aa Added option to fix quickfix with noautochdir
- Use `let g:vimtex_quickfix_fix_paths = 1` to enable
- Also added test files.

Fixes #256
2015-11-20 09:47:51 +01:00
Karl Yngve Lervåg
ce6f423e7a Added VimtexReload - easier vimtex development 2015-11-15 23:01:02 +01:00
Karl Yngve Lervåg
b9ddd1df7b Add formatexpr (#238) 2015-11-11 22:11:37 +01:00
Karl Yngve Lervåg
3820728db4 Add version check (#273) 2015-11-10 23:26:24 +01:00
Karl Yngve Lervåg
ec5d693e85 Added vimtex-info-full mapping (default lI) 2015-11-07 23:28:38 +01:00
Karl Yngve Lervåg
9bdfb49d08 Updated initialization of default mappings
Now a default mapping is not created if the user has defined a custom mapping
for the corresponding <plug>(vimtex-...) mapping.
2015-11-07 23:28:03 +01:00
Karl Yngve Lervåg
8b26c1d3c9 Added missing doc on paragraph motions 2015-11-07 23:25:40 +01:00
Karl Yngve Lervåg
e4c6a530ec Added docs on the autocmd events 2015-11-07 23:23:26 +01:00
Karl Yngve Lervåg
e799f04201 Add rich delimiter toggling (solves #229) 2015-11-02 23:25:04 +01:00
Karl Yngve Lervåg
ba0bc2cf2e Updated docs for imaps feature 2015-10-22 13:33:45 +02:00
Karl Yngve Lervåg
2b949a99f1 Added disabled filter and documentation for imaps
See #251
2015-10-19 22:05:30 +02:00
Karl Yngve Lervåg
e9068beef5 Updated feature list in docs and readme 2015-10-19 20:58:14 +02:00
Karl Yngve Lervåg
a93d0cbb89 Updated matchparen stuff (#252) 2015-10-19 11:39:00 +02:00
Karl Yngve Lervåg
52dda72795 Fixed dangling paranthesis 2015-10-16 10:11:58 +02:00
Karl Yngve Lervåg
cbd0d59d70 Fixed problem with compilation on windows (fixes #235) 2015-10-07 00:09:52 +02:00
Karl Yngve Lervåg
47ac958f76 Change default value of g:vimtex_syntax_minted 2015-08-03 21:51:37 +02:00
Karl Yngve Lervåg
0686d92631 docs: Added link to Skim wiki 2015-07-31 10:41:03 +02:00
Karl Yngve Lervåg
f1ee9e7b35 Improved docs on multi-file projects (cf. #200) 2015-07-10 23:03:18 +02:00
Karl Yngve Lervåg
b10486b729 Update main file detection
Detect main file with `\documentclass` instead of `\begin{document}`.
2015-07-07 22:54:24 +02:00
Karl Yngve Lervåg
22eabfe48e Use generic interface for generic viewers
This update removes the viewers

  qpdfview
  sumatrapdf
  skim
  okular

from the possible g:vimtex_view_method values.  Instead, these viewers
may now be defined with the `general` view method using the options

  g:vimtex_view_general_viewer
  g:vimtex_view_general_options
  g:vimtex_view_general_options_latexmk

Resolves: #180
2015-06-30 21:52:42 +02:00
Karl Yngve Lervåg
100ce1aa13 Use new option for callback executable
Added new option: g:vimtex_latexmk_progname.  The default value is v:progpath
if available, else v:progname.  In some cases, e.g. for MacVim, the value
should be set manually.  I do not currently know the correct value to set.

Resolves: #186
2015-06-21 20:32:50 +02:00
Karl Yngve Lervåg
b1b15c6877 Improved latexmk kill when deleting a buffer
We now store some script variables whenever a buffer is left.  These variabes
are then used when a buffer is deleted to test if a latexmk process must be
killed.

The new implementation seems more robust and is no longer dependent on the
'hidden' attribute in vim.

Fixes: #189
2015-06-20 19:44:48 +02:00
Karl Yngve Lervåg
a7ca172143 Added doc about requirement for |hidden|
See: #189
2015-06-20 18:40:30 +02:00
Karl Yngve Lervåg
5a4664ff41 Add support for minted package
Supports c, csharp and python out of the box.  More languages may be added to
the list `g:vimtex_syntax_minted` (see help for more info).

Resolves: #167
2015-06-17 21:05:40 +02:00
Karl Yngve Lervåg
6d7b0abd16 A lot of convenient restructuring 2015-06-06 23:49:28 +02:00
Karl Yngve Lervåg
a76cba6330 Updated docs to reflect code structure change 2015-06-06 20:21:48 +02:00
Karl Yngve Lervåg
5444067f4a Moved default value to change.vim and added doc 2015-06-06 20:21:29 +02:00
Karl Yngve Lervåg
b252dc0b5f Added VimtexInfo! 2015-06-06 00:03:51 +02:00
Karl Yngve Lervåg
0ca317e459 Added comment on xdotool for zathura (cf. #171) 2015-05-25 18:05:14 +02:00
Karl Yngve Lervåg
b084da901b Improved VimtexWordCount (fixes #166) 2015-05-16 22:14:52 +02:00
Karl Yngve Lervåg
62236ee002 Initial version of VimtexWordCount (#166)
It has some more potential for improvement, both in how the count is
displayed after `:VimtexWordCount` and in adding some options.
2015-05-10 11:00:31 +02:00
Karl Yngve Lervåg
188fd8ed37 Fixed stupid typo 2015-05-07 18:17:55 +02:00
Karl Yngve Lervåg
a012df2a28 Fixed typos (fixes #165) 2015-05-07 14:57:32 +02:00
Karl Yngve Lervåg
763a796273 Improve support for output_directory (fixes #162)
Old code did not support absolute paths for output directory.
2015-05-05 20:49:29 +02:00
Karl Yngve Lervåg
5d39c6b4b2 Note about latexmk version for -output-directory
See #161
2015-05-05 06:21:03 +02:00
Karl Yngve Lervåg
e74fc287ed Improved support for subfiles package (#155)
Added parsing of main file from `\documentclass[main.tex]{subfiles}`.
2015-04-29 15:40:08 +02:00
Karl Yngve Lervåg
3f62338895 Add buffer var for main file (fixes #155) 2015-04-26 09:02:28 +02:00
Karl Yngve Lervåg
1dad424c2c Trim returned fold text (closes #149)
Also added a short comment on 'fillchars' to docs.
2015-04-09 07:51:33 +02:00
micbou
59b6f510e7 Update YouCompleteMe documentation 2015-04-06 20:16:17 +02:00
Karl Yngve Lervåg
20f8176019 Minor improvements to docs 2015-04-04 16:49:16 +02:00
Jakub Klinkovský
25fa818947 expand documentation with YCM autocompletion configuration 2015-04-04 15:26:15 +02:00
Karl Yngve Lervåg
d2bd4ad597 Added comment on internal tex plugin 2015-04-03 09:02:31 +02:00
Karl Yngve Lervåg
9826dc2c77 Added info on autocompletion to docs (completes #107) 2015-03-24 14:11:33 +01:00
Karl Yngve Lervåg
945d16e657 Fixed minor error in docs 2015-03-24 12:39:49 +01:00
Karl Yngve Lervåg
4619503c24 Rewrote the documentation 2015-03-24 10:31:32 +01:00
Karl Yngve Lervåg
92544e6a0b Added some info on table of labels 2015-03-21 19:38:50 +01:00
Karl Yngve Lervåg
862fe620a1 Wrote about latest changes in changelog 2015-03-21 17:11:36 +01:00
Karl Yngve Lervåg
8553295739 Updated doc to represent ToC changes 2015-03-21 16:39:51 +01:00
Karl Yngve Lervåg
b4fc6c53b1 Added indentation file for bibliographies 2015-03-19 15:11:11 +01:00
Karl Yngve Lervåg
9e1b75374b Updated docs 2015-03-10 07:45:15 +01:00
Karl Yngve Lervåg
5cac6c7c4c Removed duplicate tag (fixes #130) 2015-03-09 14:49:21 +01:00
Karl Yngve Lervåg
318ad4566e Added comment on vim internal tex plugin 2015-03-08 20:09:35 +01:00
Karl Yngve Lervåg
a14cc5997d Changed plugin name to vimtex 2015-03-08 17:15:44 +01:00
Karl Yngve Lervåg
423f240810 Added comment on yse and ysc commands (#126) 2015-03-02 15:56:51 +01:00
Karl Yngve Lervåg
f201abb073 Support for zathur pdf viewer (fixes #118) 2015-02-23 13:22:47 +01:00
Karl Yngve Lervåg
45bba0c585 Minor update to terminal vim requirements 2015-02-18 09:35:13 +01:00
Konfekt
9972bfbd20 document necessity of --servername in Unix terminal Vim 2015-02-18 09:12:33 +01:00
Karl Yngve Lervåg
69c12a8b28 Minor update 2015-02-10 17:05:58 +01:00
Karl Yngve Lervåg
7e5a465f3b Added VimLatexLacheck command 2015-02-10 14:50:49 +01:00
Karl Yngve Lervåg
eec38de0cf Minor changes to docs 2015-01-29 21:19:40 +01:00
Karl Yngve Lervåg
7f117363d8 Improved docs, improved MuPDF support 2015-01-29 21:12:43 +01:00
Karl Yngve Lervåg
fa87fbfe4e Clean up view.vim and updated docs
Also added okular to set of viewers
2015-01-29 13:37:38 +01:00
Karl Yngve Lervåg
b1657f4400 Updated doc to explain dsc and csc 2015-01-27 21:48:29 +01:00
Karl Yngve Lervåg
cc0a8e35dc Moved several options 2015-01-26 15:41:40 +01:00
Enno Nagel
9dade3c42a add VimLatexErrors! that does not open the quickfix window 2015-01-10 14:56:28 +01:00
Karl Yngve Lervåg
f5256badce Added reverse search for MuPDF (fixes #89) 2015-01-02 18:54:43 +01:00
Karl Yngve Lervåg
6d47439877 Add option latex_latexmk_options (fixes #90) 2015-01-01 15:20:07 +01:00
Karl Yngve Lervåg
0a8cbaafd9 Changed split_side to split_pos (fixes #91) 2015-01-01 11:31:15 +01:00
Karl Yngve Lervåg
ed4733165c Updated documentation (fixes #84) 2014-12-25 15:20:14 +01:00
Karl Yngve Lervåg
ce8d663f6a Added FAQ section, added #87 2014-12-21 11:33:07 +01:00
Karl Yngve Lervåg
42c6ecbf6c Added sumatrapdf to list of viewers 2014-12-08 20:37:42 +01:00
Karl Yngve Lervåg
be02246fec Generalized view functionality 2014-12-07 20:08:19 +01:00
Karl Yngve Lervåg
f9073001ec Added comment to docs (#75) 2014-12-04 20:46:51 +01:00
Karl Yngve Lervåg
283fbeda8a Updated forward search mapping for SumatraPDF (#76) 2014-12-04 20:40:26 +01:00
Karl Yngve Lervåg
b23050a77f Account for space in SumatraPDF inv search (#77) 2014-12-04 20:35:47 +01:00
Karl Yngve Lervåg
f4fa5e5df1 Added banged version of VimLatexCompileSS (#71) 2014-12-04 20:30:29 +01:00
Karl Yngve Lervåg
2fcf029892 Add hide_line_numbers explanation to docs 2014-12-02 20:18:18 +01:00
Karl Yngve Lervåg
032bc29cc5 Minor adjustment to single shot compile 2014-12-01 18:27:56 +01:00
Karl Yngve Lervåg
590713fd54 Fixed some command tags 2014-12-01 10:53:17 +01:00
Enno Nagel
b488bb5ca4 tag cmd line commands in doc 2014-12-01 10:22:05 +01:00
Karl Yngve Lervåg
406e3725f6 Added single shot compile command (solves #71) 2014-12-01 08:28:44 +01:00
Karl Yngve Lervåg
02b68bdff8 Improvements to TOC (see #67) 2014-11-22 17:29:30 +01:00
Karl Yngve Lervåg
8948a94157 Minor fix to docs (cf. #67) 2014-11-22 16:51:31 +01:00
Karl Yngve Lervåg
c2b5f12691 Shellescape to allow file name with space (fixes #65) 2014-11-19 13:54:56 +01:00
Karl Yngve Lervåg
75c19f25ec Improved doc on ignored warnings (see #61) 2014-11-12 18:15:08 +01:00
Karl Yngve Lervåg
ac44035f4d Added command and doc for latex#latexmk#toggle 2014-11-06 20:30:27 +01:00
Karl Yngve Lervåg
3c0390ca47 Minor doc clean up 2014-10-26 10:35:34 +01:00
Konfekt
ce370c0882 Remind activating synctex in latexmkrc for forward/backward search 2014-10-24 10:12:28 +02:00
Konfekt
e192ad4161 Include SumatraPDF setup for forward and backward search
Works like a charm over here.
2014-10-23 20:24:08 +02:00
Karl Yngve Lervåg
0dc505bd58 Added option to turn of continuous mode (see docs) 2014-08-24 21:22:24 +02:00
Karl Yngve Lervåg
563c06483b Added g:latex_toc_hide_preamble (fixes #46) 2014-08-10 20:44:57 +02:00
Karl Yngve Lervåg
4a1fa3bbdb Minor fixes to previous TOC updates 2014-08-10 20:43:57 +02:00
Karl Yngve Lervåg
f85ce35436 Updated TOC, added g:latex_toc_secnumdepth
Real time update of displayed TOC levels.
2014-08-10 18:45:32 +02:00
Karl Yngve Lervåg
4e6ca11f07 Add section about synctex to docs 2014-08-03 10:23:01 +02:00
Karl Yngve Lervåg
0c5495d90c Added utility function to show latexmk output 2014-08-02 15:09:22 +02:00
Karl Yngve Lervåg
94a67005e0 Add support for on demand folding
Inspired by recent pull request for LaTeX-Box:
https://github.com/LaTeX-Box-Team/LaTeX-Box/pull/205
2014-07-24 19:16:11 +02:00
Karl Yngve Lervåg
53cdd12c94 Added latex keyword to docs 2014-07-22 00:12:25 +02:00
Karl Yngve Lervåg
4ffbd0f655 Updated docs after main file search updates 2014-07-18 01:09:45 +02:00
Karl Yngve Lervåg
2de33a68d5 Added commands
Also made minor syntactical changes for source code folding
2014-07-15 14:51:54 +02:00
Karl Yngve Lervåg
1dc51f6578 vim-latex now supports Windows 2014-07-15 13:43:34 +02:00
Karl Yngve Lervåg
1e4e173aa4 Add close_environment (finishes #11) 2014-07-04 16:12:40 +02:00
Karl Yngve Lervåg
992448b06a Added option to only open quickfix window on error
Use
  let g:latex_quickfix_open_on_warning=0
to prevent vim-latex to open quickfix window if there are only warnings.
2014-06-13 22:47:27 +02:00
Karl Yngve Lervåg
83a579fd21 Changed a few option names (check vimrc!)
Also improved the doc.
2014-06-13 21:24:51 +02:00
Karl Yngve Lervåg
4f6b74d3e6 Add latex#change#to_command and default mapping
Mapped by default to <F7> in both normal and insert mode.

Solves #10.
2014-04-14 22:37:26 +02:00
Karl Yngve Lervåg
d8dc0d880d Fix minor error in doc 2014-04-14 22:35:58 +02:00
Karl Yngve Lervåg
c0a195430d Improved latexmk interface: added callback
Added a simple callback function that utilizes the clientserver in vim and the
$success_cmd and $failure_cmd in latexmk to call latex#latexmk#error() after
compilation.  The feature is enabled by default, because it strikes me as
a very nice feature!

Note that this feature might require a minor update to existing .latexmkrc
files, in that existing $success_cmd and $failure_cmd should end in a semicolon
in order to allow vim-latex to append the callback.  I hope I might remove this
restriction in a later update, but I didn't see how to do this now.
2014-02-11 18:38:03 +01:00
Karl Yngve Lervåg
051a1c2085 Add check for required executables 2014-02-04 13:20:12 +01:00
Karl Yngve Lervåg
b7ed1cad63 Don't use recursive bibtex-search by default 2014-01-30 20:59:34 +01:00
Karl Moritz Hermann
a661d86ad6 Speedup for citation completion 2014-01-30 16:08:28 +00:00
Karl Yngve Lervåg
4beac696c0 Better support for multi-file documents #6 2013-12-10 17:42:25 +01:00
Karl Yngve Lervåg
798d0561a2 Solve #3: Better way of finding main tex file
Instead of searching for predefined main tex file names, I now use a
simple search for files that input or include the current tex file.
2013-12-08 19:32:30 +01:00
Karl Yngve Lervåg
2feedb78c2 Better latexmk docs (fix #4) 2013-11-30 17:43:45 +01:00
Karl Yngve Lervåg
64e12969c9 Fixed minor bug in docs 2013-11-29 13:11:04 +01:00
Karl Yngve Lervåg
6af7d6aef3 Minor corrections 2013-11-29 08:54:21 +01:00
nasenatmer
b55307918c Correct small things in doc/latex.txt. 2013-11-29 08:30:28 +01:00
Karl Yngve Lervåg
b6b4efb772 Added option for quickfix window 2013-11-20 11:24:19 +01:00
Karl Yngve Lervåg
be75c0b0d8 Documentation is more or less complete 2013-10-14 22:15:12 +02:00
Karl Yngve Lervåg
010ddd20d0 Added more documentation 2013-10-11 23:37:57 +02:00
Karl Yngve Lervåg
125b9b6762 Some fixes to mappings and docs 2013-10-11 23:24:03 +02:00
Karl Yngve Lervåg
d427907af2 Some updates and improvements 2013-10-10 21:48:43 +02:00
Karl Yngve Lervåg
a56d48dc53 Some nice improvements 2013-10-09 20:34:26 +02:00
Karl Yngve Lervåg
55c8068320 Minor update to docs 2013-10-06 13:39:34 +02:00
Karl Yngve Lervåg
2cbc4b5ab1 Add option to turn off vim-latex 2013-10-05 14:07:56 +02:00