Commit Graph

499 Commits

Author SHA1 Message Date
Karl Yngve Lervåg
62d0b9b44c Consistency - map P to Pi (#277) 2015-12-11 17:30:02 +01:00
Karl Yngve Lervåg
6888c3c9bf Added i->\iota and v->\vartheta (#277) 2015-12-11 08:40:49 +01:00
Karl Yngve Lervåg
e9f2cd4067 Support subequations label completion 2015-12-08 21:16:13 +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
Karl Yngve Lervåg
fa9af58376 Minor adjustment to fold level function 2015-12-04 22:24:02 +01:00
Karl Yngve Lervåg
c387b63de6 Fix #287: Label numbers during omnicomplete 2015-11-30 20:27:00 +01:00
Karl Yngve Lervåg
6fe6bac1a4 Fix #286 - TOC sections with optional args 2015-11-30 11:56:40 +01:00
Karl Yngve Lervåg
af3f0f2226 Disable folds by default 2015-11-27 10:55:01 +01:00
Karl Yngve Lervåg
e2702279c6 Change default fold options 2015-11-26 22:28:42 +01:00
Karl Yngve Lervåg
dc999bccef Simplified and refactored fold.vim (#283)
- Removed g:vimtex_fold_automatic
- Added g:vimtex_fold_manual (currently 1 by default)
- Some simplifications and restructuring
2015-11-25 22:30:27 +01:00
Karl Yngve Lervåg
eed762774e Add comment and remove superfluous if 2015-11-20 23:26:32 +01:00
Karl Yngve Lervåg
c7658b1404 Allow vimtex fold to work when manually set (#283) 2015-11-20 23:18:39 +01:00
Karl Yngve Lervåg
29e2f71e59 Disable vimtex folding for vimdiff 2015-11-20 23:01:45 +01:00
Karl Yngve Lervåg
8c79b02047 Revert commit 7892c988
The commit was a merge with pull request #278, which was later found to
introduce the need for extra escaping, cf.
7892c988a5
2015-11-20 22:24:34 +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
7892c988a5 Merge pull request #278 from Konfekt/master
allow for sending special keys in imaps
2015-11-19 22:47:32 +01:00
Victor Iversen
50059d60d8 Moved check for vimtex_latexmk_enabled to top of init script 2015-11-18 22:04:26 +01:00
Karl Yngve Lervåg
07eaaa5e0b Minor fix 2015-11-18 08:32:15 +01:00
Karl Yngve Lervåg
eda71910be Fix is_math() syntax check (fixes #281) 2015-11-18 08:32:05 +01:00
Karl Yngve Lervåg
c365183952 Attempt at fix for fold settings during diff 2015-11-15 23:02:50 +01:00
Karl Yngve Lervåg
ce6f423e7a Added VimtexReload - easier vimtex development 2015-11-15 23:01:02 +01:00
Enno Nagel
5b299cbc20 allow for sending special keys in imaps
for example, now

{ 'lhs_rhs' : ['__',    "_{}\\<lt>Left>"], 'leader' : '',   'wrapper' : 's:wrap_math'}

achieves what previously required UltiSnips#Anon()
2015-11-12 22:18:53 +01:00
Karl Yngve Lervåg
ab5ed0ff13 Update some imaps (#277) 2015-11-12 20:18:59 +01:00
Karl Yngve Lervåg
0ede61a82f Remove space 2015-11-12 19:42:06 +01:00
Enno Nagel
ee523987ba imap_mappings: do not swallow leader outside math 2015-11-12 19:38:37 +01:00
Karl Yngve Lervåg
b9ddd1df7b Add formatexpr (#238) 2015-11-11 22:11:37 +01:00
Karl Yngve Lervåg
42e851ab3f Fix syntax problem with \emph (fixes #245 and #272) 2015-11-11 11:25:52 +01:00
Karl Yngve Lervåg
7a398b63a2 Use getpos if getcurpos does not exist (#245) 2015-11-10 23:46:44 +01:00
Karl Yngve Lervåg
9634557bab Minor restructuring/reordering 2015-11-10 23:38:56 +01:00
Karl Yngve Lervåg
3820728db4 Add version check (#273) 2015-11-10 23:26:24 +01:00
Karl Yngve Lervåg
1bcc8e1bc2 Fix "key not present" bug 2015-11-10 19:33:40 +01:00
Karl Yngve Lervåg
3f138d6909 Make vimtex_data more robust 2015-11-10 10:35:12 +01:00
Karl Yngve Lervåg
924c1d5e97 Simplify label completion, utilize new parser 2015-11-09 23:43:38 +01:00
Karl Yngve Lervåg
286e505593 Generalize parser and add aux parser 2015-11-09 23:17:54 +01:00
Karl Yngve Lervåg
8294f9631d Unify project parser code
This is the first step in unifying all code that traverses the entire
LaTeX project content.
2015-11-08 23:21:22 +01:00
Karl Yngve Lervåg
db6103d211 Issue VimtexEventQuit at QuitPre event (fixes #253) 2015-11-07 23:42:11 +01:00
Karl Yngve Lervåg
736c341fa6 Fixed event names 2015-11-07 23:34:28 +01:00
Karl Yngve Lervåg
c8dd2c5d62 Allow use of hasmapto(...) for operator maps
The old definitions used <plug>(vimtex-map) in the definition of the
corresponding onoremap, which made it impossible to use hasmapto() to check
whether the <plug>-map was mapped to.
2015-11-07 23:30:55 +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
0019d0093b Add summy autocmd to prevent warning (#269) 2015-11-07 19:38:15 +01:00
Karl Yngve Lervåg
9331f1ada0 Minor update 2015-11-06 23:51:39 +01:00
Karl Yngve Lervåg
7c22be8fe3 Add VimtexInitPost event for custom configuration
Addresses #234
2015-11-06 23:43:17 +01:00
Karl Yngve Lervåg
d25d3aa0b7 Added VimtexQuit event (fixes #253)
Also updated latexmk.vim to use the VimtexQuit event to ensure
that latexmk processes are stopped when a project has been closed.
2015-11-06 23:39:14 +01:00
Karl Yngve Lervåg
448e035ce1 Fixed #222: second viewer issue 2015-11-03 22:25:48 +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
41d2b6c4cc Fixed test for s:has_neosnippet (fixes #259) 2015-10-26 09:23:16 +01:00
Sparadox
b1e34436bb [bugfix] <m-i> conflict with the "é" character
Somehow, the bug declared in this issue has been unfixed. On my French
keyboard, typing on the `é` key inserts `\item`. The mapping causing
this bug to happen has been removed.
2015-10-25 18:03:52 +01:00