Karl Yngve Lervåg
3095c3ca72
Some big updates
...
* Use collection to denote the list of mappings
* Let default collections be defined through a function
* Allow separate leader keys for each collection
* Test for ultisnips before creating mappings
2015-08-05 23:25:32 +02:00
Karl Yngve Lervåg
bccded6ee2
Fix problem with missing slash ( #172 )
2015-08-05 22:47:34 +02:00
Karl Yngve Lervåg
d8223f40ee
Changed name: snippets -> imaps
2015-08-04 22:40:20 +02:00
Karl Yngve Lervåg
0340cba30d
Merge branch 'master' into math-mappings
2015-08-04 22:23:29 +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
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
f1ee9e7b35
Improved docs on multi-file projects (cf. #200 )
2015-07-10 23:03:18 +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
Karl Yngve Lervåg
d6347dfb2f
Support minted package custom envs ( #167 )
...
Also update test file.
2015-07-05 21:30:47 +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
Karl Yngve Lervåg
892ad49132
Merge pull request #194 from micbou/windows-build
...
Fix compilation when Vim path contains spaces
2015-07-04 09:39:36 +02:00
Karl Yngve Lervåg
46ef742941
Improve minted support
...
Added support for LANGcode environments.
2015-07-04 09:36:32 +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
7a91dfde9f
Change name to snippets
...
Updated creation of predefined snippets
Allow to create custom snippets through g:vimtex_snippets_custom
See: #172
2015-06-22 21:42:21 +02:00
Karl Yngve Lervåg
4069edc4b0
Merged with master
2015-06-22 20:49:19 +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
d530a6beb4
Mappings should now work
2015-06-21 22:29:00 +02:00
Karl Yngve Lervåg
b9c438d6ee
Merge branch 'master' into math-mappings
2015-06-21 21:04:39 +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
Karl Yngve Lervåg
82ecbeef71
First attempt at built-in Skim support
...
See: #185
2015-06-21 00:07:37 +02:00
Karl Yngve Lervåg
d4c26abccf
Improved filename change handler
...
* Added informative message
* Kill old latexmk process if active
See: #187
2015-06-20 23:45:05 +02:00
Karl Yngve Lervåg
2e14a2b4fe
Added new highlight group VimtexInfo
2015-06-20 23:44:08 +02:00
Karl Yngve Lervåg
e6f0a7289d
Support file name changes ( fixes #187 )
2015-06-20 23:16:53 +02:00
Karl Yngve Lervåg
d36be66c93
Updated augroup names
2015-06-20 23:15:58 +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
b818cca297
Ensure pids are stored as numbers
2015-06-20 19:23:32 +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
670c0cd3d1
Improve label completion ( fixes #182 )
2015-06-18 23:19:26 +02:00
Karl Yngve Lervåg
12fdc029e0
Add search for existing process ( fixes #188 )
2015-06-18 18:06:14 +02:00