From 656b1d74a31b7cbb8c96978aa4b3746b53d73de2 Mon Sep 17 00:00:00 2001 From: Dmytro Meleshko Date: Wed, 9 Jun 2021 17:42:34 +0300 Subject: [PATCH 1/2] [nvim] implement the A and I mappings for Visual mode --- nvim/plugin/editing.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nvim/plugin/editing.vim b/nvim/plugin/editing.vim index 36d4220..e59bd3c 100644 --- a/nvim/plugin/editing.vim +++ b/nvim/plugin/editing.vim @@ -145,6 +145,9 @@ set commentstring=//%s " Repeat the last edit n times, taken from nnoremap . execute "normal!" repeat(".", v:count1) + xnoremap A :normal! A + xnoremap I :normal! I + " }}} From e5a5579a1085c7e5e5193e54740530d90be6bb4d Mon Sep 17 00:00:00 2001 From: Dmytro Meleshko Date: Wed, 9 Jun 2021 19:37:36 +0300 Subject: [PATCH 2/2] [python] disable some more whitespace-related lints --- python/flake8.ini | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/python/flake8.ini b/python/flake8.ini index 041fdb7..a1cbee9 100644 --- a/python/flake8.ini +++ b/python/flake8.ini @@ -31,6 +31,14 @@ ignore = E121 # Hanging indent on a continuation line is unaligned E131 + # Whitespace before a comma + E203 + # Multiple spaces before an operator + E221 + # Multiple spaces after an operator + E222 + # Whitespace after a comma + E241 # Import not at the top of the file E402 # Line too long