From 3fb451687293c993b10d860449eb405ddd44f377 Mon Sep 17 00:00:00 2001 From: David Hotham Date: Fri, 17 Aug 2018 16:45:47 +0100 Subject: [PATCH] Remove mappings from Vim plugin. (#417) They clashed with standard mappings. Simplest just to let users define their own. Fixes #415 --- README.md | 2 +- plugin/black.vim | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index 3becfd3..d6fbf09 100644 --- a/README.md +++ b/README.md @@ -640,7 +640,7 @@ $ where black Commands and shortcuts: -* `,=` or `:Black` to format the entire file (ranges not supported); +* `:Black` to format the entire file (ranges not supported); * `:BlackUpgrade` to upgrade *Black* inside the virtualenv; * `:BlackVersion` to get the current version of *Black* inside the virtualenv. diff --git a/plugin/black.vim b/plugin/black.vim index df033e6..0a26aa0 100644 --- a/plugin/black.vim +++ b/plugin/black.vim @@ -126,6 +126,3 @@ endpython3 command! Black :py3 Black() command! BlackUpgrade :py3 BlackUpgrade() command! BlackVersion :py3 BlackVersion() - -nmap ,= :Black -vmap ,= :Black -- 2.39.2