From: David Hotham Date: Fri, 17 Aug 2018 15:45:47 +0000 (+0100) Subject: Remove mappings from Vim plugin. (#417) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/3fb451687293c993b10d860449eb405ddd44f377?ds=sidebyside Remove mappings from Vim plugin. (#417) They clashed with standard mappings. Simplest just to let users define their own. Fixes #415 --- 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