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

Abbreviations and "mappings!" suddenly stop working #6870

Closed
bohrshaw opened this issue Jun 9, 2017 · 7 comments
Closed

Abbreviations and "mappings!" suddenly stop working #6870

bohrshaw opened this issue Jun 9, 2017 · 7 comments

Comments

@bohrshaw
Copy link
Contributor

bohrshaw commented Jun 9, 2017

  • nvim --version: v0.2.1-dev (20170522)
  • Vim (version: ) behaves differently? Unknown
  • Operating system/version: Ubuntu VM 16.04
  • Terminal name/version: mintty(https://github.com/mintty/wsltty) (Nvim inside of Tmux)
  • $TERM: screen-256color

Actual behaviour

Abbreviations especially cabbreviations are suddenly not triggered.

All Alt/Meta-based mappings like M-v in Command Line or Insert Mode suddenly take effect by inserting a character: v in case of M-v.

While a custom mapping like C-d in Insert Mode simply takes no effect, or fall back to the stock behavior in case of C-a.

Normal and Visual Mode mappings behaves correctly.

Steps to reproduce

Happened 3 times, especially after extensive long-time usages.

@justinmk
Copy link
Member

justinmk commented Jun 9, 2017

Does it happen without mosh?

@bohrshaw
Copy link
Contributor Author

bohrshaw commented Jun 9, 2017

Yes. This Nvim instance is inside of Tmux. Thus I have tried attaching Tmux via SSH and Native. But both make no difference.
However, I'm not sure what triggered this malfunctioning state.

@d3adb5
Copy link

d3adb5 commented Jun 13, 2017

Of my Alt bindings, one still works: M-n. M-Right and M-Left have stopped working on all modes they're set in.

@bohrshaw bohrshaw changed the title Abbreviations and Alt-based "mappings!" suddenly stop working Abbreviations and "mappings!" suddenly stop working Jun 13, 2017
@bohrshaw bohrshaw changed the title Abbreviations and "mappings!" suddenly stop working Abbreviations and Mappings! suddenly stop working Jun 13, 2017
@bohrshaw bohrshaw changed the title Abbreviations and Mappings! suddenly stop working Abbreviations and "mappings!" suddenly stop working Jun 13, 2017
@bohrshaw
Copy link
Contributor Author

bohrshaw commented Jul 4, 2017

This just happened again when I <S-Insert> in Neovim(Insert Mode) in Tmux connected through Mosh.
And I have to restart Neovim to get back to normal.

@justinmk
Copy link
Member

justinmk commented Jul 6, 2017

Ah, sounds like the bracketedpaste paste bug. To get back to normal:

:set nopaste

@bohrshaw
Copy link
Contributor Author

bohrshaw commented Jul 7, 2017

I will try this if it happens again.

@justinmk
Copy link
Member

see #7994

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

3 participants