LaTeXBox icon indicating copy to clipboard operation
LaTeXBox copied to clipboard

Keymap bug when used with LaTeXing

Open Malorkus opened this issue 8 years ago ā€¢ 4 comments

When LaTeXBox and LaTeXing are both enabled, there is a bug that seems to stem from your "vim-latex like keymaps" for _ and ^, where the _ or ^ is replaced with a pair of curly braces. With both packages installed, this can be reproduced as follows:

  • Start or open a LaTeX document
  • Hit $ to create a new inline math environment
  • With the cursor directly before the closing $, try to type an equation that uses ^ or _
  • Upon typing a single character after the ^ or _, the ^ or _ will disappear and the typed character will be enclosed in { }

I've fixed the issue on my profile with two user-level keymaps for ^ and _ that override yours, but I thought it was worth reporting.

Malorkus avatar Sep 23 '16 01:09 Malorkus

well, i argue that you should only enable one of the two packages...

randy3k avatar Sep 23 '16 01:09 randy3k

That's a reasonable argument (although I personally like some features of both). LaTeXing is closed source as far as I know, so it could be annoying to track down the issue. I thought I'd report the conflict, but I won't be mad if you wontfix it, either. všŸ˜v

(Oh, and thanks for your useful LaTeXBox package! šŸ˜„ )

Malorkus avatar Sep 23 '16 02:09 Malorkus

or you would name some of the features that you love to see in LaTeXBox. If they are not too complicated to implement , perhaps you could just live with LaTeXBox

randy3k avatar Sep 23 '16 02:09 randy3k

I think that's probably possible-- I just noticed, for example, that LaTeXBox has a keymap for completing references and citations (LaTeXing pops up an autocompletion box automatically). I will try working with only LaTeXBox and see what I wind up missing and let you know. It might just be a small handful of minor things like extra snippets..

Malorkus avatar Sep 23 '16 16:09 Malorkus