Last active
June 21, 2016 15:53
-
-
Save yosske/8478a7f2558107f5d51822aff9406628 to your computer and use it in GitHub Desktop.
vimp stands for "vim pipe" and can be used to "pipe" filenames into the vim editor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
xargs bash -c '</dev/tty vim "$@"' ignoredparam | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
vimp stands for "vim pipe" and can be used to "pipe" filenames into the vim editor.
Example usage:
ls *.sh | vimp
Possible Installation Method (Linux):
Create "vimp" file inside /usr/local/bin, paste code inside file and then run
chmod +x vimp
to make sure the file is runable.