]> 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:

Rename g:markdown_no_default_key_mappings
authorHiroshi Shirosaki <h.shirosaki@gmail.com>
Mon, 7 Apr 2014 23:49:34 +0000 (08:49 +0900)
committerHiroshi Shirosaki <h.shirosaki@gmail.com>
Mon, 7 Apr 2014 23:49:34 +0000 (08:49 +0900)
Every non local identifier must start with g:vim_markdown_ from
CONTRIBUTING.md.

README.md
ftplugin/mkd.vim

index b004bbc539744d9efb0f3ecb514fbed6666d1dac..24c5c6c041a6a1e8b9a7d909f7cadf9ab00d3aa6 100644 (file)
--- a/README.md
+++ b/README.md
@@ -50,10 +50,10 @@ 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 `<Plug>` mappings
+Add the following line to your `.vimrc` to disable default key mappings. You can map them by yourself with `<Plug>` mappings.
 
 ```vim
-let g:markdown_no_default_key_mappings=1
+let g:vim_markdown_no_default_key_mappings=1
 ```
 
 ## Mappings
index c7bac4e6dd716b9101ad2cd7b5301a8d424f9c1b..07f81db54e31d95d4d64944791f286d1609fac1e 100644 (file)
@@ -351,8 +351,8 @@ call <sid>MapNormVis('<Plug>(Markdown_MoveToParentHeader)', 'b:Markdown_MoveToPa
 " Menmonic: Current
 call <sid>MapNormVis('<Plug>(Markdown_MoveToCurHeader)', 'b:Markdown_MoveToCurHeader')
 
-if ! exists('g:markdown_no_default_key_mappings')
-\ || !g:markdown_no_default_key_mappings
+if ! exists('g:vim_markdown_no_default_key_mappings')
+\ || !g:vim_markdown_no_default_key_mappings
     nmap ]] <Plug>(Markdown_MoveToNextHeader)
     nmap [[ <Plug>(Markdown_MoveToPreviousHeader)
     nmap ][ <Plug>(Markdown_MoveToNextSiblingHeader)