Commit Graph

956 Commits

Author SHA1 Message Date
Bno93
e4d666d3bf use ctrl+alt+c for clean command 2018-10-05 20:21:28 +02:00
James-Yu
c9ea83cfb9 Fix #849 Open PDF in the current column 2018-10-05 15:35:40 +08:00
James-Yu
1f4abfe747 Update changelog and version info 2018-10-05 14:46:30 +08:00
James-Yu
9ccc45d611 Resolve #849 Adopt Webview API of vscode to fix viewer-related issues 2018-10-05 14:45:14 +08:00
James-Yu
dee1b33176 Update version info 2018-10-05 14:12:22 +08:00
James-Yu
b8964637f6 Typo shorcut -> shortcut 2018-10-05 14:01:49 +08:00
James-Yu
bf53ebfe5d Fix #816 Ignore outputDir setting when directly viewing PDFs 2018-10-05 13:55:06 +08:00
Jerome Lelong
8a40cb30a5 Implement keybindings for snippets
This is a three steps process
    1. Define a new snippet in snippets/latex.json
    2. In src/main.ts, register a new command to insert the
    corresponding snippet
    3. In package.json, associate a keybinding to the command.

This closes #809.
2018-10-03 16:07:32 +02:00
Jerome Lelong
5359c55dba
Merge pull request #839 from tamuratak/fix_typo
fix typo.
2018-10-02 12:06:34 +02:00
Takashi Tamura
74a83e57a5 fix typo. 2018-10-02 17:34:12 +09:00
Jerome Lelong
795da2f4a1
Merge pull request #832 from tamuratak/fix_escape
skip any escaped character in finding balanced parens.
2018-09-30 21:58:39 +02:00
Jerome Lelong
5bcede621c
Merge pull request #833 from tecosaur/patch-1
Add documentation for the new keybindings.
This closes #809.
2018-09-30 21:57:21 +02:00
Jerome Lelong
1fe60a7eb4
Merge pull request #831 from tecosaur/tecosaur-modified
Add keybindings following the discussion in #809.
2018-09-30 21:55:44 +02:00
tecosaur
d0e8e2f0bb
Update Shortcuts-doc.md
Sure Emacs notation keybindings are ok, but I think this is better.
`ctrl+key` ⟶ <kbd>ctrl</kbd>+<kbd>key</kbd>
2018-09-30 21:02:08 +08:00
tecosaur
3e4e808ee2
Removed shortcuts that have been removed
Shortcuts were removed due to conflict with vs code
2018-09-30 20:35:32 +08:00
tecosaur
1f9e96fd9f
Remove conflicting keybindings
Specifically the ctrl+i, then also ctrl+b/u to be consistent.
2018-09-30 20:32:38 +08:00
tecosaur
fbe867da50
Update README.md
Add a link to shortcuts-doc.md, and add a clear link to snippets list
2018-09-30 14:16:52 +08:00
tecosaur
fbfdfa1280
Rename Shortcuts.md to Shortcuts-doc.md
In hindsight this would be a better name
2018-09-30 14:15:12 +08:00
tecosaur
47d142bfb0
Create Shortcuts.md
Since this seems a bit long for readme.md but still worth having, here it is as a separate file
2018-09-30 14:11:31 +08:00
tecosaur
7dc412ff9d
Add text super/sub script snippets, and fix underline & fontsize description 2018-09-30 13:46:03 +08:00
tecosaur
02caef0196
Add !editorReadonly and mac shortcuts to text format-y key bindings
As was suggested by @Astrantia I added !editorReadonly, and noticed that "mac": <keybinding> was a thing so added that too.
2018-09-30 00:16:01 +08:00
Takashi Tamura
042f2a6212 skip an escaped character in \section 2018-09-29 20:35:18 +09:00
tecosaur
183e731013
Add keybindings for text formatting snippets etc.
It would be good if anyone knew how to externalise the long list of keybindings...
2018-09-29 16:08:51 +08:00
tecosaur
f703fe5efa
Add textsuperscript and textsubscript snippets
Why? Mainly so I can reference them with keyboard shortcuts, also they're long to type. Not too sure about the current prefix though - any suggestions?
2018-09-29 16:07:11 +08:00
tecosaur
3e93f79750
Fix typo in undeline snippet 2018-09-29 16:06:28 +08:00
Jerome Lelong
2f12ac8913
Merge pull request #825 from tamuratak/label_in_math_env
highlighting \label in a math environment.
2018-09-27 08:28:51 +02:00
Jerome Lelong
8de85fd740
Merge pull request #826 from tecosaur/tecosaur-modified
Fix mathbf shortcut
2018-09-27 08:18:01 +02:00
tecosaur
bef868e9cc
Fix mathbf shortcut
Mathbf used to have `mathbb` as the snippet contents.
2018-09-27 10:47:00 +08:00
James Yu
a03b7bed89
Merge pull request #817 from tamuratak/fix_slow_bib
Fix a problem that parsing a large bib file is slow.
2018-09-26 10:14:53 +08:00
Takashi Tamura
78694da765 highlight \label in math environments. 2018-09-26 07:57:49 +09:00
Jerome Lelong
92d23824a8
Merge pull request #822 from tamuratak/command_in_inline_math
Do not highlight espace characters as macros (math mode).
2018-09-25 17:32:00 +02:00
Takashi Tamura
9acb0cc93f ditto 2018-09-25 21:56:06 +09:00
Takashi Tamura
f20e598394 highlight $\{\}$ properly. 2018-09-25 15:48:40 +09:00
James-Yu
b5a17da5c9 Update changelog and version info 2018-09-25 14:39:40 +08:00
Jerome Lelong
71027a4516
Merge pull request #821 from tamuratak/fix_underscore
Do not include underscore in command name
2018-09-25 08:09:53 +02:00
Takashi Tamura
6edaa423ef use lookahead regexp to make underscore not to be included in constant.character.math.tex. 2018-09-25 08:36:12 +09:00
Jerome Lelong
8cc7d68a22 Fix #819: associate .ltx with TeX filetype 2018-09-24 21:36:22 +02:00
Jerome Lelong
0214a09f80 Fix #816: update README with ""click on pdf file to open"" 2018-09-24 18:59:20 +02:00
Jerome Lelong
9fd02e264f Merge PR #818 from branch tamuratak/fix_plist 2018-09-24 06:59:20 +02:00
Jerome Lelong
4b26ca7942 Use @v + letter for variants of greek letters
This is related to  #809.
2018-09-24 06:59:04 +02:00
Takashi Tamura
5b943e473c make plist files well-formed in XML. 2018-09-24 06:59:04 +02:00
Takashi Tamura
fe243dbffb Prevent lots of strings to be created.
Fix #251.
2018-09-22 21:48:19 +09:00
Jerome Lelong
41c4d491c7 Use @v + letter for variants of greek letters
This is related to  #809.
2018-09-21 13:17:25 +02:00
Jerome Lelong
b943aff72d Add documentation for snippets 2018-09-20 21:50:12 +02:00
Jerome Lelong
610ab886f9 Add more math symbols as snippets
See http://vim-latex.sourceforge.net/documentation/latex-suite/auc-tex-mappings.html
This is related to #809.
2018-09-19 14:41:17 +02:00
tecosaur
8881106b39 Add more text formatting commands to latex.json
Specifically: `set font size`, `textnormal`, `textrm`, `textem`, `textsf`, `texttt`, `textit`, `textsl`, `textsc`, `underline`, `uppercase`, `lowercase`, `textbf`, `mathrm`, `mathbf`, `mathb`, `mathcal`, `mathit`, `mathtt`.
2018-09-19 14:16:45 +02:00
James-Yu
252fdd8705 More file path parsing fix for #796 2018-09-19 12:59:53 +08:00
James-Yu
68d8778ec8 Resolve #789 Add shortcut ctrl/cmd+alt+x to activate latex badge 2018-09-19 10:18:23 +08:00
James-Yu
308e03cc7f Fix #808 Chmod 755 instead of 777 for potential security flaw 2018-09-19 10:14:00 +08:00
James-Yu
c61b9e7081 Further fix on file path parsing related to #796 2018-09-19 10:00:33 +08:00