From: Maximilian Friedersdorff Date: Tue, 8 Feb 2022 13:02:02 +0000 (+0000) Subject: Configure autotpep8 a little X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=53f110abfda46d0251e5ca61e072be4f9eb390b9;p=max%2Fsaltfiles.git Configure autotpep8 a little --- 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