From a4780275ce62f08cf317fc54306199b27807a443 Mon Sep 17 00:00:00 2001 From: Hiroshi Shirosaki Date: Tue, 8 Apr 2014 08:49:34 +0900 Subject: [PATCH] Rename g:markdown_no_default_key_mappings Every non local identifier must start with g:vim_markdown_ from CONTRIBUTING.md. --- README.md | 4 ++-- ftplugin/mkd.vim | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b004bbc..24c5c6c 100644 --- 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 `` 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 +let g:vim_markdown_no_default_key_mappings=1 ``` ## Mappings diff --git a/ftplugin/mkd.vim b/ftplugin/mkd.vim index c7bac4e..07f81db 100644 --- a/ftplugin/mkd.vim +++ b/ftplugin/mkd.vim @@ -351,8 +351,8 @@ call MapNormVis('(Markdown_MoveToParentHeader)', 'b:Markdown_MoveToPa " Menmonic: Current call MapNormVis('(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 ]] (Markdown_MoveToNextHeader) nmap [[ (Markdown_MoveToPreviousHeader) nmap ][ (Markdown_MoveToNextSiblingHeader) -- 2.39.5