Some useful Zsh key-bindings

Built-in undo & redo No need to explain. They work as their name suggest. Many Zsh users remain unaware of these two widgets since they are not bound in viins keymap (which is the default for most users). I bind them to [Ctrl+Z] & [Ctrl+Y], respectively. magic-space It behaves like normal space except that it can perform history expansion. That is to say, it turns !-1 to <last command> in your buffer....

March 12, 2024 · QuarticCat