Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keymap bug when used with LaTeXing #41

Open
Malorkus opened this issue Sep 23, 2016 · 4 comments
Open

Keymap bug when used with LaTeXing #41

Malorkus opened this issue Sep 23, 2016 · 4 comments

Comments

@Malorkus
Copy link

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.

@randy3k
Copy link
Owner

randy3k commented Sep 23, 2016

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

@Malorkus
Copy link
Author

Malorkus commented Sep 23, 2016

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! 😄 )

@randy3k
Copy link
Owner

randy3k commented Sep 23, 2016

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

@Malorkus
Copy link
Author

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..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants