Remove mappings from Vim plugin. (#417)

They clashed with standard mappings.  Simplest just to let users define
their own.

Fixes #415
This commit is contained in:
David Hotham 2018-08-17 16:45:47 +01:00 committed by Łukasz Langa
parent 450983e333
commit 3fb4516872
2 changed files with 1 additions and 4 deletions

View File

@ -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.

View File

@ -126,6 +126,3 @@ endpython3
command! Black :py3 Black()
command! BlackUpgrade :py3 BlackUpgrade()
command! BlackVersion :py3 BlackVersion()
nmap ,= :Black<CR>
vmap ,= :Black<CR>