aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEddie Zaneski <eddiezane@gmail.com>2017-08-16 12:17:28 -0400
committerGitHub <noreply@github.com>2017-08-16 12:17:28 -0400
commitf0860abc9cfdadba2fe2ef05380f35329d2df61d (patch)
tree2b56653b065a56bee1172f30009a5d7a7676d325
parentf86f1511461dc677f3b128f49a39496b4f7eaf2c (diff)
downloadvim-prettier-f0860abc9cfdadba2fe2ef05380f35329d2df61d.tar.xz
Add instructions on changing the mapping to README
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index 480a8a4..283f7e3 100644
--- a/README.md
+++ b/README.md
@@ -50,6 +50,12 @@ If your are on vim 8+ you can also trigger async formatting by:
### Configuration
+Change the mapping to run from the default of `<Leader>p`
+
+```vim
+nmap <Leader>py <Plug>(Prettier)
+```
+
Disable auto formatting of files that have "@format" tag
```vim