Skip to content

[bug] in keymap 'visual', 'S' in the second character will move the the word to the wrong position #40

Open
@Freed-Wu

Description

@Freed-Wu
# ~/.zshrc
. ~/.zinit/plugins/zsh-vim-mode/zsh-vim-mode.plugin.zsh

Reproduce Procedures

type some word and move the cursor to the second character
image
press 'v' to the visual mode, then press "S'" to add a pair of single quote
image

however, the correct result should be

g'i't add -A

the i has been moved to the wrong position.

note

only happen to the second character. other position will not happen.

thanks!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions