Messed up syntax in Vim when pasting python code to post to the groups.

Bischoop Bischoop at vimart.net
Thu Dec 17 11:52:14 EST 2020


On 2020-12-17, 2QdxY4RzWzUUiLuE at potatochowder.com <2QdxY4RzWzUUiLuE at potatochowder.com> wrote:
>
> I'm not a vim user, but it just came up to look into the paste and
> nopaste commands.

I've googled the matter and found pressing F2 toogles 'paste' mode and
then after pasting F2 again to switch off paste mode or manually 
:set paste
:set nopaste

https://vim.fandom.com/wiki/Toggle_auto-indenting_for_code_paste

--
Thanks


More information about the Python-list mailing list