README.md
June 24, 2026 · View on GitHub
███████╗███████╗██╗ ██╗
╚══███╔╝██╔════╝██║ ██║
███╔╝ ███████╗███████║
███╔╝ ╚════██║██╔══██║
███████╗███████║██║ ██║
╚══════╝╚══════╝╚═╝ ╚═╝
[ s e d s u b ]
[ZLE KEYBINDINGS FOR GLOBAL SEARCH-AND-REPLACE ON THE COMMAND LINE]
"
Ctrl-F Ctrl-P— rewrite the current line in place."
This plugin adds a ZLE keybinding (Ctrl-F Ctrl-P, registered in viins/vicmd/emacs keymaps) to do global search and replace on the current command line. Try it out with Ctrl-F Ctrl-P.
strykelang · zshrs · MenkeTechnologiesMeta · zsh-git-acp · zsh-sudo · zsh-more-completions · zpwr
Read the Docs · Engineering Report
Table of Contents
[0x00] Install for Zinit
~/.zshrc
source "$HOME/.zinit/bin/zinit.zsh"
zinit ice lucid nocompile
zinit load MenkeTechnologies/zsh-sed-sub
[0x01] Install for Oh My Zsh
cd "$HOME/.oh-my-zsh/custom/plugins" && git clone https://github.com/MenkeTechnologies/zsh-sed-sub.git
Add zsh-sed-sub to plugins array in ~/.zshrc
[0x02] General Install
git clone https://github.com/MenkeTechnologies/zsh-sed-sub.git
source zsh-sed-sub.plugin.zsh or add code to zshrc or any startup script