vim - In the terminal, output the command result to the cut version (you can paste it directly)
巴扎黑
巴扎黑 2017-05-16 16:35:42
0
3
697
find . -name example >> test.js

The above example is output to a file.

So what should I do if I export it to the cut version?

巴扎黑
巴扎黑

reply all(3)
仅有的幸福

The command to operate the clipboard on the mac command line is pbcopy. This command copies the contents of the standard input to the clipboard, so that you can paste it directly using command-v.

find . -name test.js | pbcopy
PHPzhong

http://stackoverflow.com/ques...

给我你的怀抱

There is no need to exit vim at all, just enter vim directly; then enter the command: r ![cmd] ->Insert the execution result of the command at the current position
[cmd] is the command you want to enter ([] do not enter it , this is just for marking)

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template