From: haya14busa Date: Tue, 1 Apr 2014 13:14:08 +0000 (+0900) Subject: Update documents: mapping option & mappings X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/52ae39c5624e40bf7875390631e8cbdf12099837?ds=sidebyside;hp=-c Update documents: mapping option & mappings --- 52ae39c5624e40bf7875390631e8cbdf12099837 diff --git a/README.md b/README.md index 9478b5a..cc1f7ef 100644 --- a/README.md +++ b/README.md @@ -48,16 +48,24 @@ Add the following line to your `.vimrc` to set the initial foldlevel. This optio let g:vim_markdown_initial_foldlevel=1 ``` +**Disable Default Key Mappings** + +Add the following line to your `.vimrc` to disable default key mappings. You can map them by yourself with `` mappings + +```vim +let g:markdown_no_default_key_mappings=1 +``` + ## Mappings The following work on normal and visual modes: -- `]]`: go to next header. -- `[[`: go to previous header. Contrast with `]c`. -- `][`: go to next sibling header if any. -- `[]`: go to previous sibling header if any. -- `]c`: go to Current header. -- `]u`: go to parent header (Up). +- `]]`: go to next header. `(Markdown_MoveToNextHeader)` +- `[[`: go to previous header. Contrast with `]c`. `(Markdown_MoveToPreviousHeader)` +- `][`: go to next sibling header if any. `(Markdown_MoveToNextSiblingHeader)` +- `[]`: go to previous sibling header if any. `(Markdown_MoveToPreviousSiblingHeader)` +- `]c`: go to Current header. `(Markdown_MoveToCurHeader)` +- `]u`: go to parent header (Up). `(Markdown_MoveToParentHeader)` ## Credits