Commit Graph

862 Commits

Author SHA1 Message Date
Karl Yngve Lervåg
75160c85af More consistent delay for parsing viewer xwin_id 2016-04-30 21:55:46 +02:00
Karl Yngve Lervåg
9038e4066c Fixed minor error 2016-04-28 23:33:01 +02:00
Karl Yngve Lervåg
b514c42cee Fixed #446: Optimized tikz indentation 2016-04-28 23:27:34 +02:00
Karl Yngve Lervåg
3c3f21588c Fixed #441: Use paths relative to main project file 2016-04-23 12:12:17 +02:00
Karl Yngve Lervåg
bbf75bd35d Minor update to folding 2016-04-22 22:50:36 +02:00
Karl Yngve Lervåg
97de910258 Fixed #440: Problem with stopline arguments
The stoplines were relative to the window limits (i.e. line('w$') and
line('w0')). This does not work when delimiters are searched beyond the
window limit +- the stopline borders, which e.g. might happen when
searching in large documents.

The fix is to use limits that are relative to the current position,
line('.').
2016-04-22 22:02:50 +02:00
Karl Yngve Lervåg
decf0f8e1d Remove paragraph text objects and motions (#320) 2016-04-17 13:16:00 +02:00
Karl Yngve Lervåg
381973407c Fixed #435: Issue with pgrep command 2016-04-17 12:35:30 +02:00
Karl Yngve Lervåg
4790dab9f9 Minor improvement to highlight matching (#434) 2016-04-13 11:19:09 +02:00
Karl Yngve Lervåg
af2fee68ca Only set b:vimtex.tmp when applicable 2016-04-13 09:56:47 +02:00
Karl Yngve Lervåg
9dfa9af8e9 Improved VimtexCompileSS (#424)
* Simplify code, remove redundancies
* Ensure that there is feedback also from `VimtexCompileSS`
* Provide feedback on compile status if possible (i.e., if process was not run
  in the background)
2016-04-12 21:46:20 +02:00
Karl Yngve Lervåg
98926a61b2 Fixed minor bug 2016-04-12 18:45:45 +02:00
Karl Yngve Lervåg
2a83d4a6f0 Fixed #424: Add support for shellslash on windows 2016-04-11 21:54:35 +02:00
Karl Yngve Lervåg
ede50541a8 Add s:uniq to support older Vim versions 2016-04-11 21:48:05 +02:00
Karl Yngve Lervåg
eb48452c79 Fixed #433: Enable vimtex-toc in bib files 2016-04-11 20:33:18 +02:00
Karl Yngve Lervåg
73b50603a8 Fix minor bug for latexmain specifier 2016-04-10 22:03:24 +02:00
Karl Yngve Lervåg
12a0f00603 Remove g:vimtex_quickfix_fix_paths
The option will now always be activated, as there seems to be no reason
not to keep it activated.
2016-04-10 11:04:09 +02:00
Karl Yngve Lervåg
0f59eb086a Fix #421: Problem with quickfix entries 2016-04-09 13:37:41 +02:00
Karl Yngve Lervåg
c673e928a0 Fixed #430: Allow manual enabling of folding 2016-04-08 23:26:36 +02:00
Karl Yngve Lervåg
64722424c8 Fix stupid bug; now tests should run on travis 2016-04-08 23:13:12 +02:00
Karl Yngve Lervåg
c4f55b3ddc Add more default options to latexmk (#423)
Also improves documentation on the vimtex setting
g:vimtex_latexmk_options.
2016-04-08 13:01:49 +02:00
Karl Yngve Lervåg
d331b9049d Fixed #427 - minor error in delimiters 2016-04-07 21:16:19 +02:00
Karl Yngve Lervåg
c3d3987a8d Remove g:vimtex_latexmk_file_line_error option 2016-04-06 14:54:24 +02:00
Frankie Robertson
cf9365d944 Fix file-line-error by letting latexmk deal with it 2016-04-06 14:16:28 +02:00
Karl Yngve Lervåg
ec1c8a0446 Minor simplification of tex parser 2016-04-05 22:37:41 +02:00
mbrunnen
e647ebe16a Added filename completer for standalone files
* Added filename completer for standalone files

* added the tikz file
2016-04-05 18:10:46 +02:00
mbrunnen
7b5e6858a7 Added a new filename completer for pdfpages 2016-04-05 15:38:05 +02:00
Karl Yngve Lervåg
a12e11f1fb Allow to modify parser input line regexps 2016-04-05 13:20:00 +02:00
Karl Yngve Lervåg
74408ea428 Merge pull request #404 from mbrunnen/master
Fix for issue #403
2016-04-05 13:06:38 +02:00
Karl Yngve Lervåg
74979580a2 Fixed #410: Improve env text object matching 2016-04-04 22:30:36 +02:00
Karl Yngve Lervåg
a8b29f8fb4 Get more cmd info for open env delims 2016-04-04 22:30:36 +02:00
Karl Yngve Lervåg
ceb236b64a Behave properly with bad arguments 2016-04-04 22:15:07 +02:00
Karl Yngve Lervåg
fa27d5764f Allow to get environment commands 2016-04-04 22:14:37 +02:00
Karl Yngve Lervåg
b94dd3cc6d Add function to get cmd at given position 2016-04-04 22:14:11 +02:00
Karl Yngve Lervåg
8ae3cea312 Fixed #382: Problem with quote escapes 2016-04-04 18:05:23 +02:00
Karl Yngve Lervåg
975eb990bc Revert ba756065 2016-04-02 08:39:23 +02:00
Karl Yngve Lervåg
ba756065ff Fixed #405: interaction=nonstopmode for pdflatex 2016-04-01 23:20:56 +02:00
Karl Yngve Lervåg
c0a2b4f22a Fix minor error in quickfix-fix-path 2016-04-01 23:17:08 +02:00
Karl Yngve Lervåg
cec3c95587 Fixed #407: Error in regexp 2016-04-01 11:16:27 +02:00
Karl Yngve Lervåg
5cda0b3410 Fixed #402: /usr/bin/perl instead of perl 2016-04-01 10:21:43 +02:00
Karl Yngve Lervåg
9190e396af Fixed #407: Add support for paragraph folding 2016-03-31 22:59:46 +02:00
Karl Yngve Lervåg
02c7ce701e Fix #406 - Comment after section title 2016-03-31 22:23:14 +02:00
Manoel Brunnen
82d07ead4d changed s:gls to match more glossary commands 2016-03-31 17:29:37 +02:00
Manoel Brunnen
7f76205a42 Fix proposal for issue #403 2016-03-30 13:16:13 +02:00
Karl Yngve Lervåg
7b5db91425 Generalize the latexmk hooks (#383) 2016-03-29 23:42:31 +02:00
Karl Yngve Lervåg
845f7e493e And more travis; Use latest vim version 2016-03-27 22:09:06 +02:00
Karl Yngve Lervåg
5e2bdacafe More travis updates 2016-03-27 22:00:43 +02:00
Karl Yngve Lervåg
6b4b3f72b7 Use getline instead of readfile 2016-03-27 13:41:38 +02:00
Karl Yngve Lervåg
6c31d6c5af Minor fix to local fold variables 2016-03-27 13:39:25 +02:00
Karl Yngve Lervåg
2250d4258f Add function to check for given environment 2016-03-24 23:49:58 +01:00
Karl Yngve Lervåg
d169631706 Add support for hyperref command (#399) 2016-03-23 22:25:14 +01:00
Karl Yngve Lervåg
1aabb84fa7 Remove broken bar delimiters (#398) 2016-03-23 21:31:53 +01:00
Karl Yngve Lervåg
22d9c8db47 Preserve visual state for tsd (#258) 2016-03-22 11:42:59 +01:00
Karl Yngve Lervåg
d164a031e1 Add tsd for visual mode (#258) 2016-03-22 08:34:26 +01:00
Karl Yngve Lervåg
afde6ee93b Fix #392 - allow options for externaldocuments
This also improves the code flow for the label completion, and it
allows separate caches for each individual project aux file.
2016-03-21 21:58:05 +01:00
Karl Yngve Lervåg
f5898790c4 Remove ( and ) from general tex delimiters (#396) 2016-03-20 13:22:32 +01:00
Karl Yngve Lervåg
972142d45d Add support for externaldocuments (#392) 2016-03-20 13:13:18 +01:00
Karl Yngve Lervåg
939aae3fdb Add vimtex#parser#get_externalfiles 2016-03-20 13:12:24 +01:00
Karl Yngve Lervåg
ef2dcd0044 Improve options for parser engine 2016-03-20 13:11:40 +01:00
Karl Yngve Lervåg
04cc79edc2 Fix #385: Close quickfix window on exit 2016-03-16 21:49:21 +01:00
Karl Yngve Lervåg
4ecf478faf Add support for optional arguments to env delim
Fixes: #381
2016-03-08 22:34:04 +01:00
Karl Yngve Lervåg
e2c2438cbe Make text object linewise for some operators (#365) 2016-03-08 22:05:12 +01:00
Karl Yngve Lervåg
4ea297bc60 Increase delay to avoid double zathura 2016-03-08 10:03:16 +01:00
Karl Yngve Lervåg
2fd3a4ba96 Add option for stopline tolerance (#386) 2016-03-05 22:43:53 +01:00
Karl Yngve Lervåg
cc08da3f9e Increase stopline tolerance (fixes #386) 2016-03-03 22:45:41 +01:00
Karl Yngve Lervåg
f0a9f1c774 Add short delay to prevent multiple zathura buffers 2016-03-03 21:46:17 +01:00
Karl Yngve Lervåg
033da30308 Added latexmk callback hook (#383) 2016-02-28 21:36:53 +01:00
Karl Yngve Lervåg
ec5e0df360 Minor refactoring of text objects (#365) 2016-02-23 23:01:19 +01:00
Karl Yngve Lervåg
8c170061d3 Source indent file during reloading 2016-02-23 21:03:53 +01:00
Karl Yngve Lervåg
8d10513da3 Fix #376: Improve ]] mapping 2016-02-21 21:58:47 +01:00
Karl Yngve Lervåg
a21eeadc5e Fix glc -> gls (#263) 2016-02-18 08:25:14 +01:00
Karl Yngve Lervåg
bea99a59e8 Fix silly mistake 2016-02-18 08:08:49 +01:00
Karl Yngve Lervåg
6cf055f9ae Yet another update on complete patterns 2016-02-17 23:12:59 +01:00
Karl Yngve Lervåg
9c498a7c08 Merged with master 2016-02-17 23:07:17 +01:00
Karl Yngve Lervåg
12dfaf954a Merged with master 2016-02-17 23:02:52 +01:00
Karl Yngve Lervåg
3145d2554f Minor adjustment of complete pattern regexps 2016-02-17 22:52:07 +01:00
Karl Yngve Lervåg
2e8c4c0f4e Merge pull request #358 from djt308/regex-cite
Alter regex for \cite to allow [0,1,2] optional arguments, eg \parencite[arg1][arg2]{key}
2016-02-17 22:46:20 +01:00
David Tracey
ec05a86c7b Remove superfluous \ and {} 2016-02-16 22:43:23 +00:00
David Tracey
c5111aa820 Remove superfluous \ and {} 2016-02-16 22:41:06 +00:00
David Tracey
b43e77bdc0 Remove superfluous \ and {} 2016-02-16 22:37:06 +00:00
Karl Yngve Lervåg
f5ebcce922 Fix minor bug (#367) 2016-02-16 22:35:09 +01:00
Karl Yngve Lervåg
0fdac8f459 Fix #363 - Problem with label completion 2016-02-16 13:14:42 +01:00
Karl Yngve Lervåg
5b81b157aa Updated default imaps (#366) 2016-02-16 11:42:09 +01:00
Karl Yngve Lervåg
cc394a490e Remove bad imaps (#366) 2016-02-16 11:25:02 +01:00
Karl Yngve Lervåg
ea0ccc8c1b Fix #364 - minor bug 2016-02-15 17:56:49 +01:00
Karl Yngve Lervåg
12b61401e6 Fix #362 - error in delim regexps 2016-02-14 19:16:20 +01:00
Karl Yngve Lervåg
c6b0d6e994 Fixed vimtex#cmd#create() (fixes #336) 2016-02-14 10:46:36 +01:00
Karl Yngve Lervåg
404a8959b9 Minor clean up after #357
- Remove `\` from match groups `[^...]`
- Update 'include' option to allow includeonly
2016-02-14 09:25:41 +01:00
Karl Yngve Lervåg
4bb7cda82b Merge pull request #357 from djt308/regex-include
Alter regex for \include to allow completion for \includeonly as well.
2016-02-14 09:06:54 +01:00
David Tracey
38594e0ca7 Alter regex for \includegraphics to provide completion for up to two optional arguments and the starred version. 2016-02-14 01:39:42 +00:00
David Tracey
c6596503a8 Alter regex for \ref to provide completion for most cleveref commands. 2016-02-14 01:27:36 +00:00
David Tracey
2a151dd4f2 Alter regex for \cite to allow [0,1,2] optional arguments, e.g. \parencite[arg1][arg2]{key}. 2016-02-14 00:58:02 +00:00
David Tracey
4e2380bdb9 Alter regex for \include to allow completion for \includeonly as well. 2016-02-14 00:32:53 +00:00
Karl Yngve Lervåg
daed29fe96 Update cse and dse, add cs$ and ds$ (#351) 2016-02-13 22:45:14 +01:00
Karl Yngve Lervåg
afc7a86833 Optimized delimiter parsing (#354) 2016-02-13 22:29:13 +01:00
Karl Yngve Lervåg
02b718825a Improve text object inner matching (fixes #352) 2016-02-13 22:07:57 +01:00
Karl Yngve Lervåg
f73183eefc Updated csc and dsc, use new cmd interface (#244) 2016-02-13 12:03:20 +01:00
Karl Yngve Lervåg
7a7299c2e8 Added text object for commands (#244) 2016-02-13 11:39:18 +01:00
Karl Yngve Lervåg
61ec408961 Added functions to get cmd info 2016-02-12 00:18:33 +01:00
Karl Yngve Lervåg
4521f587bb Fixed minor bug in env#change_prompt() 2016-02-11 12:43:44 +01:00
Karl Yngve Lervåg
d536242a53 Better delimiter control for environments 2016-02-10 18:57:46 +01:00
Karl Yngve Lervåg
ef4c758b7a Fix mapping conflict with matchit plugin 2016-02-09 21:42:48 +01:00
Karl Yngve Lervåg
7aac7ee48f Fix #349 - minor bug 2016-02-09 21:01:30 +01:00
Karl Yngve Lervåg
64f6c49dfb Fix minor bug 2016-02-09 20:25:52 +01:00
Karl Yngve Lervåg
dfb91ecd47 Fix #347: Default g:vimtex_delim_toggle_mod_list 2016-02-09 12:35:28 +01:00
Karl Yngve Lervåg
ec7d682280 Use buffer specific autocmds 2016-02-07 21:26:03 +01:00
Karl Yngve Lervåg
9c3d0fbcd4 Fix #316 - bug with starred environments 2016-02-07 21:25:40 +01:00
Karl Yngve Lervåg
015987af5f Remove conversions that might not be necessary
Fixes: #337
2016-02-07 13:18:30 +01:00
Karl Yngve Lervåg
dfbe3f0c4b Minor improvements to feature added in #346 2016-02-07 12:48:40 +01:00
Anmol Sethi
858dd7afe0 New general callback and expand @line for general_options_latexmk
This allows us to open the file currently where the cursor is, and the
callback lets people implement scripts as they like it to open their
favourite pdf viewer with the line number after compilation. latexmk's
pdf_update_command doesn't let us do that.
2016-02-06 18:08:48 -05:00
Karl Yngve Lervåg
490a24daf0 A huge refactoring of the delimiter engine
See entry on 2016-02-06 in the changelog in doc/vimtex.txt,
:h vimtex-changelog, for more details.

Issues:
  #258
  #314
  #316
  #329
2016-02-06 20:21:27 +01:00
Karl Yngve Lervåg
52bd7ae47b Refactoring: Extract formatexpr module 2016-02-06 20:03:09 +01:00
Karl Yngve Lervåg
e66badf1d6 Fix vimtex unite source for multi byte chars (#330) 2016-01-28 19:42:58 +01:00
Karl Yngve Lervåg
953d1570e6 Fix #332: Create missing directories if necessary 2016-01-27 18:54:23 +01:00
Karl Yngve Lervåg
105093a070 Improved unite vimtex_toc source 2016-01-27 15:22:41 +01:00
Karl Yngve Lervåg
04568eda4f Don't use b:vimtex unless it exists 2016-01-26 23:09:31 +01:00
Karl Yngve Lervåg
6fe1d77eaf Unify interface for highlight group init 2016-01-26 23:08:07 +01:00
Karl Yngve Lervåg
c8fb598ae7 Fixed #331 - error in unicode conversion 2016-01-26 22:37:29 +01:00
Karl Yngve Lervåg
01adbfe579 Added unite source for table of labels (#330) 2016-01-25 22:42:04 +01:00
Karl Yngve Lervåg
0aa80b3040 Minor fix/improvement to TOC entries 2016-01-25 22:25:59 +01:00
Karl Yngve Lervåg
d11a775ef7 Add syntax to unite TOC source (#330) 2016-01-25 22:25:36 +01:00
Karl Yngve Lervåg
a35bcaf5c1 Don't overwrite user mappings 2016-01-25 20:11:57 +01:00
Karl Yngve Lervåg
c02447b805 Improve unite source entries (#330) 2016-01-24 23:26:49 +01:00
Karl Yngve Lervåg
3b94a6e6b8 Add action to unite source (#330) 2016-01-24 23:11:39 +01:00
Karl Yngve Lervåg
4998af215a Initial unite source for TOC (#330) 2016-01-24 23:02:33 +01:00
Karl Yngve Lervåg
248bbeed2e Refactored: extracted text_obj.vim from motion.vim 2016-01-21 22:48:04 +01:00
Karl Yngve Lervåg
45733b79af Updated syntax parser utilities 2016-01-21 21:11:11 +01:00
Karl Yngve Lervåg
1aedd5a746 Use "old version" of globpath (fixes #328) 2016-01-15 23:45:25 +01:00
Karl Yngve Lervåg
61c7aca7bc Final change of name -> VimtexToggleMain (#211) 2016-01-15 23:37:08 +01:00
Karl Yngve Lervåg
0467d9ca47 Allow toggle to local file regardless of subfile (#211) 2016-01-14 22:19:12 +01:00
Karl Yngve Lervåg
987fa7c130 Updated default key for subfile toggle (#211) 2016-01-14 15:06:26 +01:00
Karl Yngve Lervåg
38aaf18dc5 Fix minor bug in latexmk.vim 2016-01-14 14:58:18 +01:00
Karl Yngve Lervåg
55979afc7d Added support for compile only subfile (#211, #280) 2016-01-14 14:57:35 +01:00
Karl Yngve Lervåg
a0e116efdb Improved code for s:get_main() 2016-01-13 23:31:59 +01:00
Karl Yngve Lervåg
39d06eec48 Minor fix to TOC section title parse regexp 2016-01-12 23:21:02 +01:00
Karl Yngve Lervåg
56d4f39c32 Fix #218 - Support subfiles TOC parsing 2016-01-12 23:20:32 +01:00
Karl Yngve Lervåg
5fddae9c50 Fix vimtex#imaps#add_map for post initialization 2016-01-12 23:16:22 +01:00
Karl Yngve Lervåg
25cdfa6bb1 Fix #241 - Add support for import package 2016-01-12 23:14:02 +01:00
Karl Yngve Lervåg
8376de34d3 Updated default imaps (#251) 2016-01-12 12:52:57 +01:00
Karl Yngve Lervåg
ee2f2d62ab Revert last commit (#319) 2016-01-12 09:38:47 +01:00
Karl Yngve Lervåg
97927e65f9 Fix #319 - Fold bibliographies 2016-01-11 21:45:02 +01:00
Karl Yngve Lervåg
ab8d7ffc45 Minor optimization to folding 2016-01-11 21:43:14 +01:00
Karl Yngve Lervåg
b286a37c48 Fix #318: operator pending motion { } 2016-01-11 17:24:09 +01:00
Karl Yngve Lervåg
e37476e8ad Fix #318: Allow count for { } motions 2016-01-11 17:21:25 +01:00
Karl Yngve Lervåg
2544297757 Fixes #315 - add support for \( ... \) text object 2016-01-08 22:51:08 +01:00
Karl Yngve Lervåg
db137566d5 Fix #312: Preserver viewers on multiple buffers 2016-01-07 23:38:41 +01:00
Karl Yngve Lervåg
d802117c9c Add simple version of glc completion (#263) 2016-01-06 00:00:48 +01:00
Karl Yngve Lervåg
f32ce7baee Improved consistency of completions 2016-01-06 00:00:15 +01:00
Karl Yngve Lervåg
12481a9891 Fix minor problem with formatexpr (fixes #309) 2016-01-05 12:25:56 +01:00
Karl Yngve Lervåg
06a5b958f8 Minor update to image file completion (#308) 2016-01-05 08:36:00 +01:00
Karl Yngve Lervåg
793556d9e6 Minor bug fix 2016-01-04 23:38:15 +01:00
Karl Yngve Lervåg
33daacfed8 Improve file name completion (#308) 2016-01-04 23:28:58 +01:00
Karl Yngve Lervåg
bb04215684 Simple version of includegraphics complete (#308) 2016-01-04 13:05:25 +01:00
Karl Yngve Lervåg
2de4129abd Minor update 2016-01-03 14:33:02 +01:00
Karl Yngve Lervåg
45e791c8ab Refactored complete.vim 2016-01-03 14:25:50 +01:00
Karl Yngve Lervåg
6210ca05a5 Consistent use of g:vimtex_latexmk_progname (#262) 2015-12-22 22:50:18 +01:00
Karl Yngve Lervåg
ce0740b09d Fix command name (#295) 2015-12-21 23:40:41 +01:00
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
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
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
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
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
Karl Yngve Lervåg
ba0bc2cf2e Updated docs for imaps feature 2015-10-22 13:33:45 +02:00
Karl Yngve Lervåg
9451bdee5d Added support for neosnippet#annonymous (#251) 2015-10-21 19:50:16 +02:00
Karl Yngve Lervåg
de296341a5 Fixed command matcher (#245) 2015-10-21 08:17:47 +02:00
Karl Yngve Lervåg
725b7ed155 Added some more imaps 2015-10-21 08:09:00 +02:00
Karl Yngve Lervåg
9f0b31c577 Preserve visual selection with dsc (#245) 2015-10-20 23:35:06 +02:00
Karl Yngve Lervåg
3cd8770057 Fixed problem with dsc (#215) 2015-10-20 23:24:51 +02:00
Karl Yngve Lervåg
10348d6d4f Merge pull request #255 from leomao/fix-imaps
Fix imaps mappings.
2015-10-20 07:05:24 +02:00
LeoMao
9c29cb71af change the matching operator for checking ultisnips.
use `=~?` for case-insensitive matching.
2015-10-20 13:00:29 +08:00
Karl Yngve Lervåg
46ba5f4903 Updated greek mappings 2015-10-20 06:36:16 +02:00
LeoMao
3160129b9f Fix imaps mappings.
Remove ultisnips dependency for imaps which don't use it.
Check if wrapper is s:wrap_math_ultisnips instead of matching $1.
2015-10-20 10:09:25 +08:00
Karl Yngve Lervåg
6f4ee86464 Fixed minor bug 2015-10-19 22:15:01 +02:00
Karl Yngve Lervåg
2b949a99f1 Added disabled filter and documentation for imaps
See #251
2015-10-19 22:05:30 +02:00
Karl Yngve Lervåg
8bf2661ee7 Updated how mappings are added
Removed the collections feature, instead add metadata to each mapping. This
makes it easy to add just a single new mappings.
2015-10-19 20:53:43 +02:00
Karl Yngve Lervåg
94af494e9c Remove erroneous omicron imap 2015-10-19 20:14:42 +02:00
Karl Yngve Lervåg
a93d0cbb89 Updated matchparen stuff (#252) 2015-10-19 11:39:00 +02:00
Karl Yngve Lervåg
b1403fb788 Fixed mapping {{ -> \left\{\right\} 2015-10-18 07:01:19 +02:00
Karl Yngve Lervåg
05fcf0e1d5 Updated math mappings 2015-10-17 23:35:39 +02:00
Karl Yngve Lervåg
2abcee36db Updated wrapper function application 2015-10-17 23:34:36 +02:00
Karl Yngve Lervåg
aeb7047fcb Updated greek imaps 2015-10-17 23:34:36 +02:00
Karl Yngve Lervåg
6a7ba57c78 More improvements to dsc (#245) 2015-10-17 23:34:35 +02:00
Karl Yngve Lervåg
a1260af0de Minor simplification (#245) 2015-10-17 23:34:35 +02:00
Karl Yngve Lervåg
c031c74559 Fixed dsc and csc (fixes #245 and #247) 2015-10-17 23:34:35 +02:00
Karl Yngve Lervåg
7cd7fc639c Merge branch 'master' into math-mappings 2015-10-08 23:54:07 +02:00
Karl Yngve Lervåg
4a746323a0 Add included bibs to TOC (fixes #233) 2015-10-08 23:52:49 +02:00
Karl Yngve Lervåg
3c4ad38bdd Improve include parser for TOCs
* Support file names that use quotes and the \space command
* Fix syntax highlighting
2015-10-08 23:43:19 +02:00
Karl Yngve Lervåg
55ef103cfe Merge branch 'master' into math-mappings 2015-10-07 00:11:02 +02:00
Karl Yngve Lervåg
cbd0d59d70 Fixed problem with compilation on windows (fixes #235) 2015-10-07 00:09:52 +02:00
Karl Yngve Lervåg
e2bb9b425d Fix non continuous compilation on win (#235) 2015-10-07 00:00:41 +02:00
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
cbf8b86941 Merge branch 'master' into math-mappings 2015-10-06 17:37:23 +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
12bf9658c2 Merge branch 'master' into math-mappings 2015-10-01 14:10:41 +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