-
Notifications
You must be signed in to change notification settings - Fork 2
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
Suggested alternative keybindings cause issues #31
Comments
Hello, Sorry for the delay in my answer. What you describe is quite strange, and, I think, not an issue with lh-brackets. Given the mapping on I wonder... could it be that You can try to find the keybinding you would like to use by typing in command mode: CTRL+V and then the CTRL+whatyouwant. May be, the configurations of your terminal&vim don't permit to access these keys. In case I've misunderstood the issue, you can check the active mappings with |
Also, you can check if |
Hi
Why am I even paying for premium support … oh wait, I’m not, so thanks for responding at all. And for the free software.
You seem to be right there, details below.
Agreed.
Yeah, that might be (one part of) the issue. But since it also happens with
Something like this seems to be the case. Or even some problem with XOrg. with my usual layout
with
In any case: this does not seem to be related to or caused by this vim plugin, so the issue should probably be closed. I will be digging further into XOrg and terminal emulators for now. Thank you very much! |
I mostly never use vim (as I prefer gvim). I remember some distant time back with other machines where I was able to access Regarding the proposition of using Nevertheless, I'll give it a though, and at least add a word about it in the documentation. Thank you for your feedback. |
Oh, right, that’s already used. Then I don’t have a sensible suggestion.
That would be good, thanks. I’ll report back when I figure out under which circumstances it fails. |
The suggested alternative keybindings don’t work too well for me. I’m talking about what is suggested in https://github.com/LucHermitte/lh-brackets/blob/master/doc/lh-map-tools.txt#L584:
What happens is that e.g. when editing my
~/.vimrc
pressing<C-<>
does what I expect and insertsand places the cursor between
<
and>
.Editing a
.tex
file has a different result, though: pressing<C-<>
inserts a literal<
.Changing the binding to use
<C-n>
instead makes it work correctly in.tex
files as well.To Reproduce
Steps to reproduce the behavior:
vim-nox
from debian stable for this.~/.vimrc
, which sets up vim-addon-manager as recommended in their instructions to install lh-brackets as recommended in its instructions:~/.vimrc
and pressC-<
: it should insert~/foo.tex
and pressC-<
: it should insertwhich is not the expected result. Also, in an existing
.tex
file, the same happens.5. Change the mappings for
<Plug>MarkersMark
in~/.vimrc
:.tex
file, result is:Expected behavior
Explained above.
Context (please complete the following information):
Additional context
Curiously, even with the mapping changed to<C-<>
, when I press that keycombo in my~/.vimrc
, it still inserts:even though the command:imap <C-<>
saysNo mapping found
.EDIT: I think this is explained by the mapping for a single
<
having almost the same effect as<Plug>MarkersMark
, so please disregard this comment, unless my interpretation is wrong.Everything in this report seems to apply equally to neovim, which is my usual editor.
The comment about mapping conflict with
vim-sensible
comes from my neovim config but is irrelevant here because for reproducing the issue in "proper" vim, I did not install that plugin.I’m happy to provide more information if you let me know what is needed to find the cause for this unexpected behaviour.
Thank you very much.
The text was updated successfully, but these errors were encountered: