From 56d37ffdb6a9e457d3fb803bb9c914533add5ab6 Mon Sep 17 00:00:00 2001 From: Anthony Panozzo Date: Tue, 18 Oct 2011 00:41:08 -0400 Subject: [PATCH] Ensure mappings use nnoremap. This fixes a bug when the user redefines : to ; Previously \t and \b would not work in this case. --- plugin/command-t.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/command-t.vim b/plugin/command-t.vim index 7ef6bcd7..a5501847 100644 --- a/plugin/command-t.vim +++ b/plugin/command-t.vim @@ -32,11 +32,11 @@ command -nargs=? -complete=dir CommandT call CommandTShowFileFinder(CommandTFlush() if !hasmapto(':CommandT') - silent! nmap t :CommandT + silent! nnoremap t :CommandT endif if !hasmapto(':CommandTBuffer') - silent! nmap b :CommandTBuffer + silent! nnoremap b :CommandTBuffer endif function s:CommandTRubyWarning()