3 ms·
It's not just vim, either — most command-line tools let you write "-" where you'd usually write a filename, which tells them to use stdin as the file.
by creata 6y ago
It's not just vim, either — most command-line tools let you write "-" where you'd usually write a filename, which tells them to use stdin as the file.