Commit Graph

217 Commits

Author SHA1 Message Date
David Tracey
ec05a86c7b Remove superfluous \ and {} 2016-02-16 22:43:23 +00:00
David Tracey
c5111aa820 Remove superfluous \ and {} 2016-02-16 22:41:06 +00:00
David Tracey
b43e77bdc0 Remove superfluous \ and {} 2016-02-16 22:37:06 +00:00
Karl Yngve Lervåg
404a8959b9 Minor clean up after #357
- Remove `\` from match groups `[^...]`
- Update 'include' option to allow includeonly
2016-02-14 09:25:41 +01:00
Karl Yngve Lervåg
4bb7cda82b Merge pull request #357 from djt308/regex-include
Alter regex for \include to allow completion for \includeonly as well.
2016-02-14 09:06:54 +01:00
David Tracey
38594e0ca7 Alter regex for \includegraphics to provide completion for up to two optional arguments and the starred version. 2016-02-14 01:39:42 +00:00
David Tracey
c6596503a8 Alter regex for \ref to provide completion for most cleveref commands. 2016-02-14 01:27:36 +00:00
David Tracey
2a151dd4f2 Alter regex for \cite to allow [0,1,2] optional arguments, e.g. \parencite[arg1][arg2]{key}. 2016-02-14 00:58:02 +00:00
David Tracey
4e2380bdb9 Alter regex for \include to allow completion for \includeonly as well. 2016-02-14 00:32:53 +00:00
Karl Yngve Lervåg
d28e8f672a Updated docs for cs$ and ds$ 2016-02-13 22:48:32 +01:00
Karl Yngve Lervåg
7a7299c2e8 Added text object for commands (#244) 2016-02-13 11:39:18 +01:00
Karl Yngve Lervåg
88847e895d Added faq entry about ctags for latex (#348) 2016-02-09 20:36:19 +01:00
Karl Yngve Lervåg
dfb91ecd47 Fix #347: Default g:vimtex_delim_toggle_mod_list 2016-02-09 12:35:28 +01:00
Karl Yngve Lervåg
dfbe3f0c4b Minor improvements to feature added in #346 2016-02-07 12:48:40 +01:00
Anmol Sethi
858dd7afe0 New general callback and expand @line for general_options_latexmk
This allows us to open the file currently where the cursor is, and the
callback lets people implement scripts as they like it to open their
favourite pdf viewer with the line number after compilation. latexmk's
pdf_update_command doesn't let us do that.
2016-02-06 18:08:48 -05:00
Karl Yngve Lervåg
490a24daf0 A huge refactoring of the delimiter engine
See entry on 2016-02-06 in the changelog in doc/vimtex.txt,
:h vimtex-changelog, for more details.

Issues:
  #258
  #314
  #316
  #329
2016-02-06 20:21:27 +01:00
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