|
|
@ -6,15 +6,24 @@ |
|
|
|
" Settings to make life easier |
|
|
|
" Settings to make life easier |
|
|
|
set hidden |
|
|
|
set hidden |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setfiletype html |
|
|
|
|
|
|
|
set nosplitright |
|
|
|
|
|
|
|
set nosplitbelow |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let s:pyscript = resolve(expand('<sfile>:p:h') . '/repeater.py') |
|
|
|
let s:pyscript = resolve(expand('<sfile>:p:h') . '/repeater.py') |
|
|
|
|
|
|
|
|
|
|
|
function! RepeaterAction(...) |
|
|
|
function! RepeaterAction(...) |
|
|
|
execute 'py3file ' . s:pyscript |
|
|
|
execute 'py3file ' . s:pyscript |
|
|
|
|
|
|
|
windo setfiletype request |
|
|
|
|
|
|
|
exec "wincmd h" |
|
|
|
endfunc |
|
|
|
endfunc |
|
|
|
|
|
|
|
|
|
|
|
command! -nargs=* RepeaterSetup call RepeaterAction('setup', <f-args>) |
|
|
|
command! -nargs=* RepeaterSetup call RepeaterAction('setup', <f-args>) |
|
|
|
command! RepeaterSubmitBuffer call RepeaterAction('submit') |
|
|
|
command! RepeaterSubmitBuffer call RepeaterAction('submit') |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
" Bind forward to <leader>f |
|
|
|
" Bind forward to <leader>f |
|
|
|
nnoremap <leader>f :RepeaterSubmitBuffer<CR> |
|
|
|
nnoremap <leader>f :RepeaterSubmitBuffer<CR> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|