This question already has an answer here:
Always, I am using vim as my text editor. But, when I want to copy full file's content in clipboard to paste another place I open the file in gedit and press CtrlA and then CtrlC.
Opening the file in text editor and pressing CtrlA and then CtrlC is overhead to me. Because I have to open the file in text editor, although I don't edit the file.
So, if there is any command that can copy the file's content in clipboard it better.
There also a possibility to gain this feature in vim by mapping CtrlA to some command or make a
clip command to copy. But, I don't know how to copy entire file in vim using command.
N.B. My vim doesn't support