title: How to delete selected text in the vi editor
body: <p>I am using PuTTY and the vi editor. If I select five lines using my mouse and I want to delete those lines, how can I do that?</p>
  
  <p>Also, how can I select the lines using my keyboard as I can in Windows where I press <kbd>Shift</kbd> and move the arrows to select the text? How can I do that in vi?</p>