If we need to execute a shell command on currently opened file in VIM, we can do following
:%! sed G Double space the entire file.
:1,5! sed G Double space the lines from 1-5.
Last thoughts
1 year ago
A few Day-to-Day life tricks of Linux.
No comments:
Post a Comment