zsh-vi-mode
dotfiles.cli | zsh-vi-mode | |
---|---|---|
13 | 25 | |
- | 2,863 | |
- | - | |
- | 5.6 | |
- | about 1 month ago | |
Shell | ||
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dotfiles.cli
-
[Question] What are the best plugins for zsh ?
I use about 12 plugins, most of which I've written myself.
-
Is there a vim mode for zsh ?
bindkey -v is a builtin starting place, but there's a lot of extra bindings you can add to make it more like Vim. Personally, I've written a few plugins which make up the difference I want, and a few more personal bindings besides.
-
Any tip on optimizing this?
Here's my script. It forks off a playerctl --follow with a custom format to work around read skipping empty items (like a song without an artist). You don't have to do that, I just prefer that so I can add nwg-wrapper to view album art and song title on my desktop without spinning up another playerctl read loop.
-
How do you keep your install clean?
Any config I write, I add to my dotfiles repo. Then I can clone it down whenever I'm setting up a new machine/reinstall
-
exec <application> -> size and position?
I wrote this script to run an arbitrary command when the provided app's window appears.
-
Workspaces in use for notification
I'm curious; are you writing something like this?
-
Share your shell prompt here!
Custom Powerlevel10k
-
Custom mediaplayer.py for Waybar (working with & and "No media playing" status)
Watch out for < and > too. Playerctl's command-line has specifiers for {{markup_escape(title)}}, I use it my playerctl segment. Here's how it looks with the custom CSS.
-
General questions about writing bash code
My full config is here, if you want to take a look at anything else, including the plugins I use.
-
What are your favorite/dumbest aliases to use when you're feeling lazy?
There's also d and D which map to this function.
zsh-vi-mode
- The secret weapon of Bash power users
- zsh-vi-mode: A better and friendly vi(Vim) mode plugin for ZSH
- A better and friendly vim mode plugin for ZSH
- Friendlier Vi Mode for Zsh
-
Is there a vim mode for zsh ?
And zsh-vi-mode
-
term-edit.nvim: making vim key bindings work in terminal buffers
Thank you for your answer, I'm using zsh and zsh-vi-mode, and, at least in my experience, it works GREAT!
-
New to modal editing, can't decide whether I should learn Neovim or Helix
Here's a random endorsement: have you tried this improved vi-mode plugin for zsh? The built-in mode is good, but the plugin adds some of the commands that I missed. https://github.com/jeffreytse/zsh-vi-mode
-
VI MODE in zsh: How to make cursor start at end of line when scrolling through history?
My following recommendation does not address your original question, but you might be interested into it. Since a year or so I use a plugin for ZSH which enhances the vim like capabilities on the commandline: https://github.com/jeffreytse/zsh-vi-mode And additionally in normal mode vv will open up vim for editing this commandline and a :wq would go back with the updated line. Not using myself, but cool to have.
-
Do you use emacs mode in the shell?
Vi mode was not enough for me, so I installed a ZSH plugin with extended Vim features: https://github.com/jeffreytse/zsh-vi-mode
-
Helix 22.08
Yeah, I can't imagine working without it. There's also a more feature-packed vi-mode (since the zsh vi-mode lacks some basic bindings).
What are some alternatives?
waylock - A small screenlocker for Wayland compositors
zsh-autosuggestions - Fish-like autosuggestions for zsh
config
oh-my-bash - A delightful community-driven framework for managing your bash configuration, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
agkozak-zsh-prompt - A fast, asynchronous Zsh prompt with color ASCII indicators of Git, exit, SSH, virtual environment, and vi mode status. Framework-agnostic and customizable.
starship - ☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!
cheat.sh - the only cheat sheet you need
zimfw - Zim: Modular, customizable, and blazing fast Zsh framework
zsh-prompt-dir-perms - Directory Permissions Segment for Zsh Prompts
xonsh - :shell: Python-powered, cross-platform, Unix-gazing shell.
pso - Pretty Straightforward Opener
synth-shell - Boost your terminal, script by script