Karl Yngve Lervåg
ce7c584408
Merge pull request #240 from tokoro10g/fix-listchars
...
Avoid clearing global listchars option
2015-10-06 17:44:53 +02:00
Karl Yngve Lervåg
4af3a89f1c
Improve VimtexClean; don't stop continuous compile
...
If continuous compilation is running, temporarily stop it while
doing a VimtexClean, then start it again.
2015-10-06 17:35:26 +02:00
Karl Yngve Lervåg
bbcc68e9a4
Fix minor bug
2015-10-06 17:12:50 +02:00
Tokoro
6547b284f8
Avoid clearing listchars
2015-10-05 19:35:54 +09:00
Karl Yngve Lervåg
db92be5756
Fixed problem with unescaped paths ( fixes #237 )
2015-10-04 22:49:07 +02:00
Karl Yngve Lervåg
79fa856101
Fix strange sleep problem ( fixes #236 )
2015-10-02 22:56:19 +02:00
Karl Yngve Lervåg
87946f96b4
Important update: pdf is now mandatory
...
Also adds verbose to flags to increase debug output when needed.
2015-10-01 13:44:54 +02:00
Karl Yngve Lervåg
43f195f120
Fixed minor bug ( fixes #225 )
2015-09-19 22:17:54 +02:00
Karl Yngve Lervåg
e33d027dc7
Merge pull request #213 from camilstaps/master
...
Fixes #212 . Fix pdflatex substitution to work with Latexmk's 'internal' keyword
2015-09-19 21:21:48 +02:00
Karl Yngve Lervåg
6ef0a551d4
Fix paragraph motion for successive comments
2015-09-17 15:56:36 +02:00
Karl Yngve Lervåg
a668c96b71
Improved paragraph motions and text objects
2015-09-17 13:43:56 +02:00
Karl Yngve Lervåg
630fc5d5d6
Add operator pending map for { and }
2015-09-17 10:39:51 +02:00
Karl Yngve Lervåg
e1476afaac
Create default maps for paragraph stuff
2015-09-17 10:20:32 +02:00
Karl Yngve Lervåg
f6d500600a
Added paragraph text objects ( #226 )
2015-09-17 10:19:55 +02:00
Karl Yngve Lervåg
50f65ad52c
Added paragraph motion
2015-09-17 10:08:46 +02:00
Karl Yngve Lervåg
153af0092f
Better structure in map definitions
2015-09-17 10:07:55 +02:00
Camil Staps
41f0eccdc0
Changing back to vimtex#util#shellescape
2015-08-26 11:53:25 +02:00
Camil Staps
8e3cefbe94
Merge branch 'master' of github:lervag/vimtex
2015-08-26 10:22:21 +02:00
Karl Yngve Lervåg
824444ef70
Fix minor problem in s:buffer_deleted
...
In some cases the BufDelete autocommand may be called without BufLeave having
been called first.
2015-08-26 08:07:58 +02:00
Karl Yngve Lervåg
0a5ce0a915
Remove echo
2015-08-12 11:05:20 +02:00
Karl Yngve Lervåg
c50e1cefaa
Fix issue #52 (again)
...
This time ensure that there is no conflict between the
various buffers by using unique autocommand groups.
2015-08-12 11:04:45 +02:00
Karl Yngve Lervåg
5f7ced0b28
Fix issue #52 with files opened in tabs
...
When opening several files in different tabs, e.g. with
`vim -p *.tex`, then the buffers are opened simultaneously.
This commit fixes an issue where the autogroup would be
reset on each new buffer, meaning that the first n-1 files
(or something similar) would have `&foldmethod == expr`.
2015-08-11 23:32:34 +02:00
Camil Staps
ee1178d3ef
Something shady with escaping the exclamation mark...
2015-08-11 11:34:28 +02:00
Camil Staps
95e30c706b
Fixes #212 . Fix pdflatex substitution to work with Latexmk's 'internal' keyword
2015-08-11 10:12:48 +02:00
Karl Yngve Lervåg
1823ee60b6
Removed redundent 'start ' ( #204 )
2015-07-18 23:06:19 +02:00
Karl Yngve Lervåg
610492f9b5
Use tex2unicode for bibtex completions ( #203 )
2015-07-16 23:07:09 +02:00
Karl Yngve Lervåg
c31688ff83
Remove bg option from clean and kill ( resolves #202 )
2015-07-14 16:33:17 +02:00
Karl Yngve Lervåg
51d83a617d
Allow latexmain main file specifier ( #200 )
2015-07-10 22:45:42 +02:00
Karl Yngve Lervåg
5ff31e9eac
Fixed quickfix glitch ( resolves #197 )
...
It seems the previous fix was not successful. The reason was that the redraw
was never reached due to an earlier return.
2015-07-10 21:58:42 +02:00
Karl Yngve Lervåg
2acd346523
Redraw to close quickfix window ( fixes #197 )
2015-07-10 09:07:19 +02:00
Karl Yngve Lervåg
049750d2da
Use vimtex#util#shellescape consistently ( #196 )
2015-07-07 22:58:40 +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
a93a88a85a
Fix "List as a String"-error ( #193 )
2015-07-07 20:18:08 +02:00
Karl Yngve Lervåg
55c4214936
Rename ...fnameescape to ...shellescape (cf. #196 )
2015-07-07 15:30:23 +02:00
Karl Yngve Lervåg
3a1c7ed8cc
Use fnameescape for vim commands ( resolves #196 )
2015-07-07 15:29:13 +02:00
Karl Yngve Lervåg
a5531c7632
Escape spaces in path ( resolves #196 )
2015-07-06 22:49:32 +02:00
Karl Yngve Lervåg
e59f2ec885
Merge pull request #195 from micbou/windows-general-viewer
...
Fix general viewer when paths contain backslashes
2015-07-06 22:46:23 +02:00
Karl Yngve Lervåg
bc50385973
Improve compatibility with older Vim
...
`systemlist` was introduced in a patch for Vim 7.4. By instead
using `split(system(...), '\n')`, the plugin should be compatible
with Vim 7.3 (and perhaps also earlier versions).
2015-07-06 15:31:09 +02:00
Karl Yngve Lervåg
66c0b273e2
Fix label completion for amsart ( #193 )
2015-07-05 22:00:27 +02:00
Karl Yngve Lervåg
2e3b737646
Minor fixes to pull reqest #192
2015-07-05 21:38:45 +02:00
Karl Yngve Lervåg
fd15e01b98
Merge pull request #192 from cledoux/master
...
Edited fix used for bug #191
2015-07-05 21:33:05 +02:00
micbou
b1020447d3
Escape backslashes in path
...
Backslashes in path must be escaped before being processed by the
substitute() function.
2015-07-04 14:04:25 +02:00
micbou
02e94bb258
Fix compilation when Vim path contains spaces
...
g:vimtex_latexmk_progname may contain spaces so it should be
surrounded by double quotes when used in $success_cmd and
$failure_cmd latexmk options.
2015-07-02 15:52:20 +02:00
Charles LeDoux
88a06f759a
Edited fix used for bug #191
...
The previous method used to determine if the foldmethod option was set from
a modeline wasn't working for me.
The function vimtex#fold#s:check_modeline was always returning false.
I changed the function to use a simple regex search on the actual file
itself searching for a modeline in the proper line ranges.
2015-07-01 18:41:24 -05:00
Karl Yngve Lervåg
778eb53961
Don't override modeline fold settings ( fixes #191 )
2015-07-01 23:38:32 +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
b29b91affc
Improve label completion ( fixes #182 )
2015-06-26 22:12:47 +02:00
Karl Yngve Lervåg
078ceb76d6
Create mappings after modules are initialized
...
Remove old mappings.vim module, instead use a single function
in autoload/vimtex.vim to initialize the main mappings.
Also fix minor bug for reverse search.
Fix : #190
2015-06-22 20:45:10 +02:00
Karl Yngve Lervåg
e1fd82296a
Fix quickfix window bug ( fixes #184 )
...
Callback could sometimes open quickfix window when the current buffer was not
a LaTeX (.tex) buffer.
2015-06-21 20:59:31 +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