From ebb2835c456a3dfc42b36448fb68bd07688e54ca Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Wed, 4 Jan 2012 09:43:07 +0000 Subject: [PATCH] fix a bug where keymaps were failing with :set ignorecase --- plugin/NERD_tree.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim index d215880..24a7756 100644 --- a/plugin/NERD_tree.vim +++ b/plugin/NERD_tree.vim @@ -492,7 +492,7 @@ endfunction "FUNCTION: KeyMap.FindFor(key, scope) {{{3 function! s:KeyMap.FindFor(key, scope) for i in s:KeyMap.All() - if i.key == a:key && i.scope == a:scope + if i.key ==# a:key && i.scope ==# a:scope return i endif endfor