3 ms·
I also have a plugin that has commands for this https://github.com/robenkleene/partshell.vim?tab=readme-ov-file#psh https://github.com/robenkleene/partshell.vim
by robenkleene 2y ago
I also have a plugin that has commands for this https://github.com/robenkleene/partshell.vim?tab=readme-ov-file#psh https://github.com/robenkleene/partshell.vim?tab=readme-ov-f...
There's `Psh` that pipes part of a line through a shell command, and `P` which takes any `ex` command and does the same (this means `P !` is the same as `Psh` but the latter supports tab completion for shell commands).