Permalink
Browse files

Fix ambiguous mapping

<Plug>NexusRunTest is a prefix of <Plug>NexusRunTestLine.
There was a delay when invoking it, since Vim waits to see
if you will add Line.
  • Loading branch information...
1 parent cef6928 commit bbaf3c09e466182b1ac08dee25c9e89ff7a5a1a5 @skanev committed May 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugin/nexus.vim
View
@@ -164,7 +164,7 @@ command! NexusSendBuffer call s:sendBuffer()
command! NexusReadPane call s:readPane()
" Mappings {{{1
-noremap <expr> <Plug>NexusRunTest <SID>run('run_test')
+noremap <expr> <Plug>NexusRunTestFile <SID>run('run_test')
noremap <expr> <Plug>NexusRunTestLine <SID>run('run_test_line')
noremap <expr> <Plug>NexusSendBuffer <SID>sendBuffer()
xnoremap <Plug>NexusSendSelection <ESC>:call <SID>sendSelection()<CR>

0 comments on commit bbaf3c0

Please sign in to comment.