How to remove text from all lines between two columns?

vim

Solution

Position your cursor in d, then press `Ctrl-V`, `l`, `G` and `d`.

- `Ctrl-v` enters visual block mode;

- `l` expands the visual selection one character to the right;

- `G` expands the selection to the last line;

- `d` deletes the selection.

Problem

I would like to remove the content for all lines between two columns. How do I do this? For example, I want this: ``` abcdefg hijklmn opqrstu ``` To become this if I remove text between columns 3 through 5: ``` abfg himn optu ```

Original source

Related problems