1. Frank Fischer
  2. evil
  3. Issues
Issue #191 invalid

D command behaves incorrectly for marked text

created an issue

In text mode, paste this sentence.

Mark the text: {{{paste this}}}

Hit {{{D}}}. The entire line was deleted.

Comments (3)

  1. Michael Markert

    That's vim behaviour. See :help v_D:

    {Visual}["x]X or *v_X* *v_D* *v_b_D* {Visual}["x]D Delete the highlighted lines [into register x] (for {Visual} see |Visual-mode|). In Visual block mode, "D" deletes the highlighted text plus all text until the end of the line. {not in Vi}

  2. Log in to comment