mobile-shell / mobile-shell/mosh
(neo)vim + mosh + "O" insert mode is inconsistent.
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 14.5k
- Forks
- 865
- PR merge metrics
- No merged PRs in 30d
Description
this is a strange one, but I've narrowed it down to mosh.
start up vim or neovim without a config file (nvim -u NONE). Then type O to insert above, and note that the mode has changed from "Normal" to "Insert". Hit esc and observe that you're back to "Normal". Type O again. Observe that you're not back into "Insert" mode as you should be - until you press another key.
If the second "O" doesn't demonstrate the problem, then hit esc again and repeat it. It eventually will.
This is mosh-server built from the master branch as of 2 days ago, but it's persisted before then.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the problem by running nvim -u NONE through mosh, using repeated Esc and O keystrokes, and compare it with a local session. Start by tracing how mosh-server handles terminal input and verify that every second O reliably puts Vim or Neovim into Insert mode without requiring another key.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vim
- Domain
- cli, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100