From 53f110abfda46d0251e5ca61e072be4f9eb390b9 Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Tue, 8 Feb 2022 13:02:02 +0000 Subject: [PATCH] Configure autotpep8 a little --- states/vim/files/vimrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/states/vim/files/vimrc b/states/vim/files/vimrc index 558f124..cfebe67 100644 --- a/states/vim/files/vimrc +++ b/states/vim/files/vimrc @@ -164,4 +164,6 @@ if executable('ag') endif " Auto formatters +let g:formatdef_autopep8 = "'autopep8 -a - --range '.a:firstline.' '.a:lastline" let g:formatters_python = ['autopep8'] +noremap :Autoformat -- 2.46.2