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

Improved vi mode in zsh #1059

Closed
ShellCode33 opened this issue Dec 21, 2021 · 6 comments
Closed

Improved vi mode in zsh #1059

ShellCode33 opened this issue Dec 21, 2021 · 6 comments

Comments

@ShellCode33
Copy link

Hey Luke ! Not really an issue, sorry about that.
Have you heard of the zsh-vi-mode plugin ? What do you think about it ? It supports more keybindings that the default vi mode built in zsh. The one I use most : ci(
Maybe you chose not to use it because "it's too bloated" 😛 But I wanted to share it with you in case you missed it.
I saw you were using a ctrl+e binding to edit the command line in vim, I guess with this plugin you don't need that anymore.

yay -S zsh-vi-mode

@kronikpillow
Copy link
Contributor

kronikpillow commented Dec 21, 2021

well .. I have to say, that Luke's .zshrc is a bad example of ZSH's power, it's to minimal, doesn't even have completions installed or enabled xD regarding the vi-mode plugin, i found it flunky and abandoned using it

@i-c-u-p
Copy link
Contributor

i-c-u-p commented Jan 27, 2022

one problem with the plugin is the delay when switching to normal mode and doing operations like dd and yy. according to an issue it still registers your keystrokes during the lag, but the sluggish feel it causes isn't worth being able to delete inside parenthesis imo.

@ShellCode33
Copy link
Author

I don't have this problem (or at least I don't notice it). Are you using the last ZVM version ?

@i-c-u-p
Copy link
Contributor

i-c-u-p commented Jan 27, 2022

yes

@Alex-duzhichao
Copy link

one problem with the plugin is the delay when switching to normal mode and doing operations like dd and yy. according to an issue it still registers your keystrokes during the lag, but the sluggish feel it causes isn't worth being able to delete inside parenthesis imo.

@i-c-u-p Hi, do you think the lag is cause by the keystroke sequence described in this question?

@i-c-u-p
Copy link
Contributor

i-c-u-p commented Feb 24, 2022

one problem with the plugin is the delay when switching to normal mode and doing operations like dd and yy. according to an issue it still registers your keystrokes during the lag, but the sluggish feel it causes isn't worth being able to delete inside parenthesis imo.

@i-c-u-p Hi, do you think the lag is cause by the keystroke sequence described in this question?

No; there's no lag when hitting ESC in neovim and I don't use tmux.

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

5 participants