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:
parent
450983e333
commit
3fb4516872
@ -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.
|
||||
|
@ -126,6 +126,3 @@ endpython3
|
||||
command! Black :py3 Black()
|
||||
command! BlackUpgrade :py3 BlackUpgrade()
|
||||
command! BlackVersion :py3 BlackVersion()
|
||||
|
||||
nmap ,= :Black<CR>
|
||||
vmap ,= :Black<CR>
|
||||
|
Loading…
Reference in New Issue
Block a user