]> git.madduck.net Git - etc/vim.git/blobdiff - README.md

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:

Merge pull request #207 from cirosantilli/not-hasmapto
[etc/vim.git] / README.md
index 8389667052bbc3c604c974e9eeaa556e450de843..894037a5d8600c037386cd6d394667c4ba723ac0 100644 (file)
--- a/README.md
+++ b/README.md
@@ -113,17 +113,25 @@ The following work on normal and visual modes:
 
     Known limitation: does not work for links that span multiple lines.
 
 
     Known limitation: does not work for links that span multiple lines.
 
--   `]]`: go to next header. `<Plug>(Markdown_MoveToNextHeader)`
+-   `]]`: go to next header. `<Plug>Markdown_MoveToNextHeader`
 
 
--   `[[`: go to previous header. Contrast with `]c`. `<Plug>(Markdown_MoveToPreviousHeader)`
+-   `[[`: go to previous header. Contrast with `]c`. `<Plug>Markdown_MoveToPreviousHeader`
 
 
--   `][`: go to next sibling header if any. `<Plug>(Markdown_MoveToNextSiblingHeader)`
+-   `][`: go to next sibling header if any. `<Plug>Markdown_MoveToNextSiblingHeader`
 
 
--   `[]`: go to previous sibling header if any. `<Plug>(Markdown_MoveToPreviousSiblingHeader)`
+-   `[]`: go to previous sibling header if any. `<Plug>Markdown_MoveToPreviousSiblingHeader`
 
 
--   `]c`: go to Current header. `<Plug>(Markdown_MoveToCurHeader)`
+-   `]c`: go to Current header. `<Plug>Markdown_MoveToCurHeader`
 
 
--   `]u`: go to parent header (Up). `<Plug>(Markdown_MoveToParentHeader)`
+-   `]u`: go to parent header (Up). `<Plug>Markdown_MoveToParentHeader`
+
+This plugging follows the recommended Vim plugin mapping interface, so if you want to change the map `]u` to `asdf`, add to your `.vimrc`:
+
+    map asdf <Plug>Markdown_MoveToParentHeader
+
+To disable a map, use:
+
+    map <Plug> <Plug>Markdown_MoveToParentHeader
 
 ## Commands
 
 
 ## Commands