From 1a036ebed1ddd3426160fcb6476fa4b48e14f8fd Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Thu, 6 Dec 2012 23:04:48 -0500 Subject: [PATCH] Fix search/replace fail --- plugin/foreplay.vim | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/plugin/foreplay.vim b/plugin/foreplay.vim index df6cb2c..307cf93 100644 --- a/plugin/foreplay.vim +++ b/plugin/foreplay.vim @@ -563,37 +563,37 @@ function! s:histswap(list) return old endfunction -nnoremap ForeplacePrint :set opfunc=printopg@ -xnoremap ForeplacePrint :call printop(visualmode()) +nnoremap ForeplayPrint :set opfunc=printopg@ +xnoremap ForeplayPrint :call printop(visualmode()) -nnoremap ForeplaceFilter :set opfunc=filteropg@ -xnoremap ForeplaceFilter :call filterop(visualmode()) +nnoremap ForeplayFilter :set opfunc=filteropg@ +xnoremap ForeplayFilter :call filterop(visualmode()) -nnoremap ForeplaceEdit :set opfunc=editopg@ -xnoremap ForeplaceEdit :call editop(visualmode()) +nnoremap ForeplayEdit :set opfunc=editopg@ +xnoremap ForeplayEdit :call editop(visualmode()) -nnoremap ForeplacePrompt :exe inputeval() +nnoremap ForeplayPrompt :exe inputeval() -noremap! ForeplaceRecall =recall() +noremap! ForeplayRecall =recall() function! s:eval_setup() abort command! -buffer -bang -range=0 -nargs=? -complete=customlist,foreplay#eval_complete Eval :exe s:Eval(0, , , , ) - nmap cp ForeplacePrint - xmap cp ForeplacePrint - nmap cpp ForeplacePrintab + nmap cp ForeplayPrint + xmap cp ForeplayPrint + nmap cpp ForeplayPrintab - nmap c! ForeplaceFilter - xmap c! ForeplaceFilter - nmap c!! ForeplaceFilterab + nmap c! ForeplayFilter + xmap c! ForeplayFilter + nmap c!! ForeplayFilterab - nmap cq ForeplaceEdit - nmap cqq ForeplaceEditab + nmap cq ForeplayEdit + nmap cqq ForeplayEditab - nmap cqp ForeplacePrompt - exe 'nmap cqc ForeplacePrompt' . &cedit . 'i' + nmap cqp ForeplayPrompt + exe 'nmap cqc ForeplayPrompt' . &cedit . 'i' - map! ( ForeplaceRecall + map! ( ForeplayRecall endfunction function! s:cmdwinenter() @@ -888,7 +888,7 @@ endfunction augroup foreplay_leiningen autocmd! - autocmd User ForeplacePreConnect call s:leiningen_connect() + autocmd User ForeplayPreConnect call s:leiningen_connect() autocmd FileType clojure call s:leiningen_init() augroup END