diff --git a/pappyproxy/interface/repeater/repeater.vim b/pappyproxy/interface/repeater/repeater.vim index 63a5b10..893b3b6 100644 --- a/pappyproxy/interface/repeater/repeater.vim +++ b/pappyproxy/interface/repeater/repeater.vim @@ -6,15 +6,24 @@ " Settings to make life easier set hidden +setfiletype html +set nosplitright +set nosplitbelow + + let s:pyscript = resolve(expand(':p:h') . '/repeater.py') function! RepeaterAction(...) execute 'py3file ' . s:pyscript + windo setfiletype request + exec "wincmd h" endfunc command! -nargs=* RepeaterSetup call RepeaterAction('setup', ) command! RepeaterSubmitBuffer call RepeaterAction('submit') + " Bind forward to f nnoremap f :RepeaterSubmitBuffer +