Commit Graph

917 Commits

Author SHA1 Message Date
Karl Yngve Lervåg
99d82c2394 Big update to imaps feature (#295)
- Removed automatic snippets
- Added utility command (+ map) to view imaps "VimtexImapsList"
- Updated documentation
- Use <expr>-mappings for imaps
2015-12-21 23:37:32 +01:00
Karl Yngve Lervåg
4176cad1c7 Fix #303: Allow whitespace before caption braces 2015-12-21 21:47:29 +01:00
Karl Yngve Lervåg
20e4f23a89 Add glossary example (#263) 2015-12-17 22:41:54 +01:00
Karl Yngve Lervåg
e982722e89 Remove default imap: ... -> \ldots 2015-12-16 23:10:46 +01:00
Karl Yngve Lervåg
afdb6b2642 Don't set default hooks for mupdf and zathura
This removes default hooks for mupdf and zathura. That is, we no
longer change the WM default focus behaviour. Thus, when a viewer
is opened by latexmk, it will probably steal the focus from Vim.
2015-12-16 09:04:52 +01:00
Karl Yngve Lervåg
75c0b15381 Merge pull request #300 from wmvanvliet/master
Add support for (t)csh
2015-12-15 13:49:57 +01:00
Marijn van Vliet
c456842ea9 Add support for (t)csh
The syntax for shell command for Linux/OSX assumed either bash or fish.
This commit adds a few if-statements to also support (t)csh.
2015-12-15 14:45:06 +02:00
Karl Yngve Lervåg
721237d54c Fix minor indentation issue in math envs 2015-12-14 22:32:43 +01:00
Karl Yngve Lervåg
421996799d Fix #298 - order of environments with ]] 2015-12-14 22:19:52 +01:00
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
09a9d0f9de Support for \textit and \textbf
Thanks to comment by @2sev on commit 4cbb663.
2015-12-06 22:31:18 +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
ddf1850b7c Add test file for folding feature 2015-12-04 23:07:16 +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
05b2eee8dd Merge pull request #288 from hexchain/patch-1
Fix a typo in documentation
2015-12-01 11:39:46 +01:00
Hexchain Tong
7c43e85082 Fix a typo in documentation 2015-12-01 17:28:26 +08: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
bf9935ad9e Updated docs on folding (#283) 2015-11-25 22:44:12 +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
408ed7e2e0 Merge branch 'pr284' 2015-11-25 13:54:00 +01:00
Karl Yngve Lervåg
8b5332987c Revert removal of option description 2015-11-25 13:53:48 +01:00
Enno Nagel
e51a1f87dc document automatic fold setup 2015-11-22 15:34:02 +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
Karl Yngve Lervåg
dfcde86d43 Merge pull request #282 from victoriv/master
Moved check for vimtex_latexmk_enabled to top of init script
2015-11-18 22:55:55 +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
Karl Yngve Lervåg
2acf99579b Merge pull request #276 from Konfekt/master
imap_mappings: do not swallow leader outside math
2015-11-12 19:41:33 +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
4cbb663876 Use italic font for emph when tex_conceal='' 2015-11-11 21:02:03 +01:00
Karl Yngve Lervåg
8c48409a7e Add texItalStyle to texParen cluster (fixes #274) 2015-11-11 20:56:01 +01:00
Karl Yngve Lervåg
8e20670337 Add test files for #274 2015-11-11 20:49:22 +01:00