Take away cpR
@cemerick says I should take away all the reloading and just support load-file, but I'm starting with the most egregious offender.
This commit is contained in:
parent
1b92e0a7dd
commit
83ce4440ae
@ -133,9 +133,6 @@ cpp Eval/print the inner-most expr at the cursor.
|
|||||||
*fireplace-cpr*
|
*fireplace-cpr*
|
||||||
cpr Eval a require :reload form.
|
cpr Eval a require :reload form.
|
||||||
|
|
||||||
*fireplace-cpR*
|
|
||||||
cpR Eval a require :reload-all form.
|
|
||||||
|
|
||||||
*fireplace-c!*
|
*fireplace-c!*
|
||||||
c!{motion} Eval/replace the code indicated by {motion}.
|
c!{motion} Eval/replace the code indicated by {motion}.
|
||||||
|
|
||||||
|
@ -837,7 +837,6 @@ endfunction
|
|||||||
function! s:setup_require()
|
function! s:setup_require()
|
||||||
command! -buffer -bar -bang -complete=customlist,fireplace#ns_complete -nargs=? Require :exe s:Require(<bang>0, <q-args>)
|
command! -buffer -bar -bang -complete=customlist,fireplace#ns_complete -nargs=? Require :exe s:Require(<bang>0, <q-args>)
|
||||||
nnoremap <silent><buffer> cpr :Require<CR>
|
nnoremap <silent><buffer> cpr :Require<CR>
|
||||||
nnoremap <silent><buffer> cpR :Require!<CR>
|
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
augroup fireplace_require
|
augroup fireplace_require
|
||||||
|
Loading…
Reference in New Issue
Block a user