]> git.madduck.net Git - etc/vim.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Remove mappings from Vim plugin. (#417)
authorDavid Hotham <david.hotham@metaswitch.com>
Fri, 17 Aug 2018 15:45:47 +0000 (16:45 +0100)
committerŁukasz Langa <lukasz@langa.pl>
Fri, 17 Aug 2018 15:45:47 +0000 (16:45 +0100)
They clashed with standard mappings.  Simplest just to let users define
their own.

Fixes #415

README.md
plugin/black.vim

index 3becfd325d7ce96a42ab73402f0bbb1283dba599..d6fbf091c84ddb4bc5c7db4908571769d51938d4 100644 (file)
--- a/README.md
+++ b/README.md
@@ -640,7 +640,7 @@ $ where black
 
 Commands and shortcuts:
 
 
 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.
 * `:BlackUpgrade` to upgrade *Black* inside the virtualenv;
 * `:BlackVersion` to get the current version of *Black* inside the
   virtualenv.
index df033e6811c6480dcf9cb09e00553c7d90fd5e6e..0a26aa0eabecb3d57216ce1f3f6d76f343c35b9d 100644 (file)
@@ -126,6 +126,3 @@ endpython3
 command! Black :py3 Black()
 command! BlackUpgrade :py3 BlackUpgrade()
 command! BlackVersion :py3 BlackVersion()
 command! Black :py3 Black()
 command! BlackUpgrade :py3 BlackUpgrade()
 command! BlackVersion :py3 BlackVersion()
-
-nmap ,= :Black<CR>
-vmap ,= :Black<CR>