Commit Graph

49 Commits

Author SHA1 Message Date
Karl Yngve Lervåg
43410759c3 Improved TOC title parsing 2014-06-12 19:53:43 +02:00
Karl Yngve Lervåg
ecd0306709 Remove nonumberline from TOCs 2014-06-12 19:22:43 +02:00
Karl Yngve Lervåg
b29119742d Fixed a minor environment folding issue 2014-06-04 14:54:09 +02:00
Karl Yngve Lervåg
e16960ee25 Proper handling of bib file paths (fixed #14) 2014-05-15 20:46:31 +02:00
Karl Yngve Lervåg
9be217e188 Only provide info when explicitly called 2014-05-13 21:10:43 +02:00
Karl Yngve Lervåg
a00c99bf4d Fix mapping of error window \le (fixes #13) 2014-05-11 20:38:52 +02:00
Karl Yngve Lervåg
cf459d62e7 Add check for missing log file (addresses #13) 2014-05-10 13:10:16 +02:00
Karl Yngve Lervåg
1fd425fd3e Fixed stupid mapping error (#10) 2014-04-14 23:25:47 +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
bb670948ac Minor simplification of in_comment function 2014-03-13 10:49:40 +01:00
Karl Yngve Lervåg
7de478be74 Better solution for fold part stuff 2014-03-06 11:39:35 +01:00
Karl Yngve Lervåg
7773fabeec Updated folding for sections
Improved handling of which parts to fold and which parts not to fold, and which
parts should be folded at the same level.
2014-03-04 14:27:44 +01: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
8a5b99a39c Redirect latexmk output to temporary file 2014-02-11 18:23:00 +01:00
Karl Yngve Lervåg
f8c905af2f Dont use ff=unix in modeline 2014-02-10 14:21:43 +01:00
Karl Yngve Lervåg
051a1c2085 Add check for required executables 2014-02-04 13:20:12 +01:00
Karl Yngve Lervåg
678193b362 Use shellescape at the right locations
Shellescape should only be used when variables/strings are used
in the shell directly.  See #9.
2014-02-04 13:16:48 +01:00
Karl Yngve Lervåg
407e8d19e9 Removed .sty extension / absolute paths for cite
Removed the .sty extension, which caused some confusion for the root
detection routine. Not entirely sure what caused the issue, but gf to
.sty seems like a border-line enough case anyway.

Also, I've modified the bibsearch function to better work with larger
projects. It prepends the path of whichever file links to a bib file
to that bib file's path, allowing us to correctly complete citations
even if the bib file and current file are in two different directories
and the main file linking to the bibfile is in a different directory
to the current file.

This could possibly be modified to check for absolute paths in
\bibliography commands, but I don't believe anyone is using those?

Note: This patch was authored by Karl Moritz Hermann (see #8).
2014-02-02 22:04:47 +01:00
Karl Moritz Hermann
a661d86ad6 Speedup for citation completion 2014-01-30 16:08:28 +00:00
Karl Yngve Lervåg
f996c0c20f Fix a minor issue for PID pgrepping
This should fix PID fetching when shell=/path/to/bash
2014-01-30 15:24:48 +01:00
Karl Yngve Lervåg
7a9b19e76d Minor bug fix 2013-11-29 13:15:23 +01:00
Karl Yngve Lervåg
ef411b4f3f Group related code 2013-11-29 12:30:49 +01:00
Karl Yngve Lervåg
c9828a6a8a Fixed #2: latex TOC bug 2013-11-29 12:22:30 +01:00
Karl Yngve Lervåg
f337bab023 Fixed omnicompletion 2013-11-28 11:16:06 +01:00
Karl Yngve Lervåg
5a69a45f22 Better delimiters 2013-11-21 10:36:03 +01:00
Karl Yngve Lervåg
0444b53db7 Fixed a minor bug 2013-11-21 10:35:54 +01:00
Karl Yngve Lervåg
b6b4efb772 Added option for quickfix window 2013-11-20 11:24:19 +01:00
Karl Yngve Lervåg
96207acf4f Minor tweak to latexmk#errors 2013-11-15 08:54:48 +01:00
Karl Yngve Lervåg
2fea33cd52 Minor clean up 2013-11-03 11:48:33 +01:00
Karl Yngve Lervåg
09dca6defa Fixed stupid bug in motion.vim 2013-11-02 17:46:43 +01:00
Karl Yngve Lervåg
8bef60eed8 Fixed toc closest section 2013-10-23 21:00:20 +02:00
Karl Yngve Lervåg
c6fe12f646 Minor fixes to toc window open 2013-10-23 20:45:48 +02:00
Karl Yngve Lervåg
611997ccb4 More minimalistic fold text 2013-10-16 10:01:22 +02:00
Karl Yngve Lervåg
4d6643c5bb Merge branch 'master' of github.com:lervag/vim-latex 2013-10-15 10:19:22 +02:00
Karl Yngve Lervåg
e2ed3dd8c6 Save and restore fdm on undo 2013-10-15 10:19:00 +02:00
Karl Yngve Lervåg
ba36d94bcc Fixed change#delim and change#toggle_delim 2013-10-14 21:59:58 +02:00
Karl Yngve Lervåg
76b2c9f27f Minor bug fix 2013-10-14 14:46:09 +02:00
Karl Yngve Lervåg
5ed2f2ff76 more correct foldcontrol for insert mode 2013-10-13 22:22:07 +02:00
Karl Yngve Lervåg
d9d60cbf99 Some fixes to mappings and docs 2013-10-11 23:24:07 +02:00
Karl Yngve Lervåg
00b4e1fe3d Some updates and improvements 2013-10-10 21:48:52 +02:00
Karl Yngve Lervåg
a56d48dc53 Some nice improvements 2013-10-09 20:34:26 +02:00
Karl Yngve Lervåg
374e983d09 Added toggle for left right delims 2013-10-09 12:04:40 +02:00
Karl Yngve Lervåg
bfd99c8c05 Fixed get_delim() 2013-10-09 12:03:04 +02:00
Karl Yngve Lervåg
399a340b07 Began on get_delim and change_delim 2013-10-09 00:02:06 +02:00
Karl Yngve Lervåg
d321623bfc Improve bib complete preview 2013-10-08 23:54:19 +02:00
Karl Yngve Lervåg
3e1043cd4a Slightly better bibtex_find_bibs 2013-10-08 11:02:34 +02:00
Karl Yngve Lervåg
7152088e22 Fix fdm save and restore for insertmode 2013-10-07 15:49:22 +02:00
Karl Yngve Lervåg
ae45837c41 Fixed motion and improved change 2013-10-06 13:39:25 +02:00
Karl Yngve Lervåg
7808e59239 Initial revision 2013-10-05 13:53:42 +02:00