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

Introduce LaTeX-to-Unicode "smart" tab mode #252

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

carlobaldassi
Copy link
Contributor

This introduces a mode (activated with the option let g:latex_to_unicode_smart_tab = 1) in which the <Tab> and <S-Tab> keys can be used to navigate the menu suggestions produced by the L2U plugin, while <CR> is used to confirm the selection. These keys fall back to whatever behavior they had before if no menu is visible, or if it was not created by L2U.

This PR is to get some general feedback (should it behave differently in other circumstances? Any issues with other plugins? etc.)

@carlobaldassi carlobaldassi changed the title Instroduce LaTeX-to-Unicode "smart" tab mode Introduce LaTeX-to-Unicode "smart" tab mode Apr 11, 2021
With this one can use <Tab> and <S-Tab> to navigate the menu,
and <CR> to select an entry.
All the new mappings should only apply when appropriate, and
otherwise fall back to the previous behavior (in the case of <CR>
this may be to trigger the autosub).
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

Successfully merging this pull request may close these issues.

1 participant