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

remap functionality lost #252

Open
3 tasks done
vanya-robertson opened this issue Oct 11, 2023 · 0 comments
Open
3 tasks done

remap functionality lost #252

vanya-robertson opened this issue Oct 11, 2023 · 0 comments

Comments

@vanya-robertson
Copy link

General information

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

Remapping keys in vi normal mode no longer works.
If you could also fix vi visual mode, I would also be most grateful.

Reproduction steps

  1. modify lines 1460-1473 to:
      '^') cmd=(zle vi-first-non-blank);;
      '$') cmd=(zle vi-end-of-line);;
      ' ') cmd=(zle vi-forward-char);;
      '0') cmd=(zle vi-digit-or-beginning-of-line);;
      'i') cmd=(zle vi-backward-char);;
      'n') cmd=(zle down-line-or-history);;
      'e') cmd=(zle up-line-or-history);;
      'o') cmd=(zle vi-forward-char);;
      'w') cmd=(zle vi-forward-word);;
      'W') cmd=(zle vi-forward-blank-word);;
      'h') cmd=(zle vi-forward-word-end);;
      'H') cmd=(zle vi-forward-blank-word-end);;
      'b') cmd=(zle vi-backward-word);;
      'B') cmd=(zle vi-backward-blank-word);;

Expected behavior

Altered vi-mode kebindings (normal remaps worked in version 0.8.5)

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

1 participant