From: Ciro Santilli 六四事件 法轮功 Date: Mon, 4 May 2015 14:25:43 +0000 (+0200) Subject: Merge pull request #205 from cirosantilli/readme-gx X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/fa17cb8df22137f311e3e87bd0be6cd5d17c8898?ds=inline;hp=-c Merge pull request #205 from cirosantilli/readme-gx Document Markdown_OpenUrlUnderCursor --- fa17cb8df22137f311e3e87bd0be6cd5d17c8898 diff --combined README.md index fc3052a,e92ae3b..770c625 --- a/README.md +++ b/README.md @@@ -4,13 -4,6 +4,13 @@@ Syntax highlighting, matching rules and mappings for [the original Markdown](http://daringfireball.net/projects/markdown/) and extensions. +1. [Installation](#installation) +1. [Options](#options) +1. [Mappings](#mappings) +1. [Commands](#commands) +1. [Credits](#credits) +1. [License](#license) + ## Installation If you use [Vundle](https://github.com/gmarik/vundle), add the following line to your `~/.vimrc`: @@@ -104,7 -97,7 +104,7 @@@ let g:vim_markdown_frontmatter= The following work on normal and visual modes: - - `gx`: open the link under the cursor in the same browser as the standard `gx` command. + - `gx`: open the link under the cursor in the same browser as the standard `gx` command. `Markdown_OpenUrlUnderCursor` The standard `gx` is extended by allowing you to put your cursor anywhere inside a link. @@@ -132,14 -125,6 +132,14 @@@ - `]u`: go to parent header (Up). `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 Markdown_MoveToParentHeader + +To disable a map, use: + + map Markdown_MoveToParentHeader + ## Commands - `:HeaderDecrease`: