You have to select the video and the fragment you want to edit. Right-click the video and select Split from the right-click menu. After that, delete each section you wish to remove.