From b145d94e9521d9bc060934d5c6e56cc98b488036 Mon Sep 17 00:00:00 2001 From: Yosuke OTA Date: Tue, 17 Jun 2014 20:35:15 +0900 Subject: [PATCH 1/1] Use get() instead of exists() in ftplugin/mkd.vim --- ftplugin/mkd.vim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ftplugin/mkd.vim b/ftplugin/mkd.vim index 21043a6..1e48365 100644 --- a/ftplugin/mkd.vim +++ b/ftplugin/mkd.vim @@ -368,8 +368,7 @@ call MapNormVis('(Markdown_MoveToParentHeader)', 'Markdown_MoveT " Menmonic: Current call MapNormVis('(Markdown_MoveToCurHeader)', 'Markdown_MoveToCurHeader') -if ! exists('g:vim_markdown_no_default_key_mappings') -\ || !g:vim_markdown_no_default_key_mappings +if !get(g:, 'vim_markdown_no_default_key_mappings', 0) nmap ]] (Markdown_MoveToNextHeader) nmap [[ (Markdown_MoveToPreviousHeader) nmap ][ (Markdown_MoveToNextSiblingHeader) -- 2.39.5