Re: [dev] st: bracketed paste mode

From: Raphaël Proust <>
Date: Wed, 18 Sep 2013 17:12:58 +0100

On Wed, Sep 18, 2013 at 4:55 PM, Egmont Koblinger <> wrote:
>> Could you put an example when it is useful?

Vim has a special mode for that. See :h 'paste' for more details, including:

        Put Vim in Paste mode. This is useful if you want to cut or copy
        some text from one window and paste it in Vim. This will avoid
        unexpected effects.
        Setting this option is useful when using Vim in a terminal, where Vim
        cannot distinguish between typed text and pasted text. In the GUI, Vim
        knows about pasting and will mostly do the right thing without 'paste'
        being set. The same is true for a terminal where Vim handles the
        mouse clicks itself.

It avoids autoindentation, but also some keyboard mappings.

Raphaël Proust
Received on Wed Sep 18 2013 - 18:12:58 CEST

This archive was generated by hypermail 2.3.0 : Wed Sep 18 2013 - 18:24:06 CEST