Initial commit
This commit is contained in:
commit
d5dbf7b29f
45 changed files with 14953 additions and 0 deletions
0
python/puppy/puppyproxy/interface/repeater/__init__.py
Normal file
0
python/puppy/puppyproxy/interface/repeater/__init__.py
Normal file
1603
python/puppy/puppyproxy/interface/repeater/repeater.py
Normal file
1603
python/puppy/puppyproxy/interface/repeater/repeater.py
Normal file
File diff suppressed because it is too large
Load diff
20
python/puppy/puppyproxy/interface/repeater/repeater.vim
Normal file
20
python/puppy/puppyproxy/interface/repeater/repeater.vim
Normal file
|
@ -0,0 +1,20 @@
|
|||
if !has('python')
|
||||
echo "Vim must support python in order to use the repeater"
|
||||
finish
|
||||
endif
|
||||
|
||||
" Settings to make life easier
|
||||
set hidden
|
||||
|
||||
let s:pyscript = resolve(expand('<sfile>:p:h') . '/repeater.py')
|
||||
|
||||
function! RepeaterAction(...)
|
||||
execute 'pyfile ' . s:pyscript
|
||||
endfunc
|
||||
|
||||
command! -nargs=* RepeaterSetup call RepeaterAction('setup', <f-args>)
|
||||
command! RepeaterSubmitBuffer call RepeaterAction('submit')
|
||||
|
||||
" Bind forward to <leader>f
|
||||
nnoremap <leader>f :RepeaterSubmitBuffer<CR>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue