Karl Yngve Lervåg
b40cf63c61
Implement hooks for viewers
...
This implements capability for view and callback hooks for all viewers (though
not all viewers have callback functionalities implemented).
For Zathura and MuPDF this change also implements a default focus behaviour
which may now be changed through the use of these hooks.
2015-06-09 22:21:32 +02:00
Karl Yngve Lervåg
602ba319ff
Raise viewer after \lv
( #180 )
2015-06-08 19:03:10 +02:00
Karl Yngve Lervåg
7cc2fd2877
Fixed problem with \lv
mapping ( #180 )
2015-06-08 09:14:27 +02:00
Karl Yngve Lervåg
7f5493c62c
Further development (NOT WORKING!)
...
* Added a lot more mappings
* Began to find an ok structure
* Current commit does NOT work, as it is work in progress
2015-06-07 21:42:51 +02:00
Karl Yngve Lervåg
374d5c984f
Fixed some minor itches ( #180 )
2015-06-07 19:24:19 +02:00
Karl Yngve Lervåg
a6ec6a7b85
Merge branch 'master' into math-mappings
2015-06-06 23:51:36 +02:00
Karl Yngve Lervåg
6d7b0abd16
A lot of convenient restructuring
2015-06-06 23:49:28 +02:00
Karl Yngve Lervåg
ec1c318eae
Merge branch 'master' into math-mappings
2015-06-06 20:23:34 +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
2b0175df60
Improved blob namings
...
* Now b:vimtex points to the local LaTeX project blob.
* The global list of blobs is renamed to g:vimtex_data
2015-06-06 20:08:13 +02:00
Karl Yngve Lervåg
bb03883581
Added option for change env completion ( #174 )
2015-06-06 19:56:35 +02:00
Karl Yngve Lervåg
a118fb5163
Improve vimL in change.vim
2015-06-06 19:47:05 +02:00
Karl Yngve Lervåg
72a5dd6a3b
Removed deprecation warning
2015-06-06 19:33:11 +02:00
Karl Yngve Lervåg
b252dc0b5f
Added VimtexInfo!
2015-06-06 00:03:51 +02:00
Karl Yngve Lervåg
aab42ad2ae
Only initilize mupdf viewer once
2015-06-05 23:57:41 +02:00
Karl Yngve Lervåg
421e53b54e
Removed debug print statement
2015-06-05 23:56:37 +02:00
Karl Yngve Lervåg
bba575b3b6
Simplified local data var name
2015-06-05 23:55:34 +02:00
Karl Yngve Lervåg
b891bd72a3
Only initialize viewer once ( fixes #177 )
2015-06-05 23:02:17 +02:00
Karl Yngve Lervåg
d65f92d7b9
Don't reset PID if already set ( fixes #176 )
2015-06-05 22:37:11 +02:00
Karl Yngve Lervåg
e05ba6b9ae
Fixed completion of cse ( fixes #174 )
2015-06-05 22:14:11 +02:00
Karl Yngve Lervåg
23338b31a3
Fixed stupid bug
2015-06-01 08:04:47 +02:00
Karl Yngve Lervåg
6fa8a0dbb3
Minor update
2015-05-31 22:57:50 +02:00
Karl Yngve Lervåg
68d61d2f98
Added latexmk callback for general viewer ( #175 )
2015-05-31 22:56:27 +02:00
Karl Yngve Lervåg
91942ceb25
Improved the math mapping structure
2015-05-30 10:41:19 +02:00
Karl Yngve Lervåg
01e832d019
Added first mappings
2015-05-29 13:39:18 +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
e91aeaf952
Remove deprecated vimtex.words()
2015-05-25 17:59:53 +02:00
Karl Yngve Lervåg
af3c341170
Obey vint warnings
2015-05-18 19:10:12 +02:00
Karl Yngve Lervåg
6866fe3d1f
Fixed bug in ref completion ( fixes #169 )
2015-05-18 19:08:25 +02:00
Karl Yngve Lervåg
b084da901b
Improved VimtexWordCount ( fixes #166 )
2015-05-16 22:14:52 +02:00
Karl Yngve Lervåg
9b5b013953
Fixed a problem with update of manual folds
...
For some reason, when I opened a file directly the manual fold method
was not refreshed correctly initially.
The present fix fixes the problem by refreshing the folds after first
CursorMoved event, which seems to work nicely. Note that the autocommand
is deleted immediately.
2015-05-13 13:50:04 +02:00
Karl Yngve Lervåg
0ae44d8543
Accept : at end of fold section
2015-05-12 12:00:47 +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
ce89b89c49
Only use -outdir if needed ( fixes #161 )
...
The -outdir option is only available in latexmk after version 4.27.
2015-05-05 06:18:51 +02:00
Karl Yngve Lervåg
1cc368fb88
Remove commented code
2015-05-03 09:01:59 +02:00
Karl Yngve Lervåg
68b9ce1237
Accept proposal to respect CWD ( fixes #155 )
2015-05-01 13:55:11 +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
566463fbf8
Use tasklist instead of qprocess ( #154 )
...
This commit is mostly intended in order to test whether tasklist is acceptable
as the only option for getting PIDs on windows. The command used here is based
on the information provided in the github issue thread (#154 ).
2015-04-29 15:16:44 +02:00
Karl Yngve Lervåg
6156160290
Fix compatibility with older vim versions ( #154 )
2015-04-29 15:02:26 +02:00
Karl Yngve Lervåg
299f51c0c7
Fix conditionals (cf. #157 )
2015-04-27 10:20:36 +02:00
Karl Yngve Lervåg
07496f18c0
Minor bug fix
2015-04-26 09:49:57 +02:00
Karl Yngve Lervåg
704baf8652
Support argument for VimtexView ( fixes #157 )
2015-04-26 09:48:24 +02:00
Karl Yngve Lervåg
3d2f90a7b7
Improve vimL
2015-04-26 09:26:49 +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
710c6f3d7a
Minor simplification/update after #158
2015-04-23 07:49:09 +02:00