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

Switching from visual to insert mode #208

Closed
3 tasks done
TxHawks opened this issue Mar 31, 2023 · 3 comments
Closed
3 tasks done

Switching from visual to insert mode #208

TxHawks opened this issue Mar 31, 2023 · 3 comments
Assignees
Labels
invalid This doesn't seem right question Further information is requested verified This issue was already verified

Comments

@TxHawks
Copy link

TxHawks commented Mar 31, 2023

General information

  • Terminal program: iTerm 3.4.19
  • Operating system: macOS Ventura 13.2.1
  • ZSH framework: zplug
  • ZSH version: 5.9
  • ZVM version: 0.8.5

Basic examination

  • I have read through the README page
  • I have the latest version of zsh-vi-mode
  • I have tested with another terminal program

Problem description

Switching from visual mode to insert mode is awkward, since you have to go through normal mode, and even a bit confusing, since hitting i, a, etc., in visual mode has the effect of changing the cursor, but leaves you in visual mode.

Reproduction steps

  1. In insert mode, hit Esc then v to enter visual mode
  2. Hit i, the cursor changes
  3. type ia, no input is entered
  4. hit l, a letter is selected to the right

Expected behavior

i, a, etc., should go straight into insert mode, deselecting selected text (if any)

@jeffreytse jeffreytse self-assigned this Apr 18, 2023
@jeffreytse jeffreytse added bug Something isn't working verified This issue was already verified labels Apr 18, 2023
@jeffreytse
Copy link
Owner

Hi @TxHawks

Thanks for your reporting, I will fix your issue as soon as possible. And welcome to star this project for further update in the future. : )

Thanks & Regards

@jeffreytse
Copy link
Owner

Hi @TxHawks,

The behavior is that it should keep in the visual mode after typing ia sequence in real VIM accordingly.

Thanks & Regards

@TxHawks
Copy link
Author

TxHawks commented Apr 18, 2023

I stand corrected. Thanks

@TxHawks TxHawks closed this as completed Apr 18, 2023
@jeffreytse jeffreytse added invalid This doesn't seem right question Further information is requested and removed bug Something isn't working labels Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right question Further information is requested verified This issue was already verified
Projects
None yet
Development

No branches or pull requests

2 participants