Cut, copy, and paste in the command-line. More information: https://github.com/busterc/xcv.
xcv x input_file
xcv c input_file
xcv v output_file
xcv l