Commit 3fb45168 authored by David Hotham's avatar David Hotham Committed by Łukasz Langa
Browse files

Remove mappings from Vim plugin. (#417)

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

Fixes #415
parent 450983e3
Loading
Loading
Loading
Loading
+1 −1
Changes for README.md: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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.
+0 −3
Changes for plugin/black.vim: 0 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -126,6 +126,3 @@ endpython3
command! Black :py3 Black()
command! BlackUpgrade :py3 BlackUpgrade()
command! BlackVersion :py3 BlackVersion()

nmap ,= :Black<CR>
vmap ,= :Black<CR>