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

Cannot exit terminal mode on remote #173

Open
jaimeferj opened this issue Sep 26, 2024 · 0 comments
Open

Cannot exit terminal mode on remote #173

jaimeferj opened this issue Sep 26, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jaimeferj
Copy link

Describe the bug

After entering terminal mode in remote instance there is no way to leave it but closing the connection. When trying to leave it, the host instance will go into normal mode instead of the remote.

To reproduce

Use the repro.lua to
reproduce the issue.

Steps to reproduce the behavior:

  1. Run nvim -u <repro.lua>
  2. :RemoteStart
  3. Connect using ssh config
  4. Open terminal
  5. Try to exit terminal (defaults to Ctrl \ + Ctrl n)

It exists from the host terminal mode, making it impossible to change mode in client terminal. If you happen to enter in terminal mode in the client side, you will have to close the connection and reconnect to keep working.

Expected behavior

I would expect it to bypass the client terminal mode exist, when on client terminal mode, or create different mapping for the host exit to normal mode keymap.

Screenshot/Screencast(s)

Screenshot from 2024-09-26 13-48-23
Screenshot from 2024-09-26 13-48-30

System information

  • Your local OS: Fedora 40 Workstation
  • Local Neovim version: v0.10.1
  • Remote host OS (if applicable): Ubuntu Desktop 20.04.6
  • Remote Neovim version (if applicable): v0.10.1

Additional context

--

@jaimeferj jaimeferj added the bug Something isn't working label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant