QuarticCat's Blog

Recent content on QuarticCat's Blog

马上订阅 QuarticCat's Blog RSS 更新: https://blog.quarticcat.com/index.xml

Some useful Zsh key-bindings

2024年3月12日 08:00
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.