Help for this page

Select Code to Download


  1. or download this
        function! RunCmd(cmd)
          let fn = expand("%:p")
    ...
    
        command! -nargs=1 Run     call RunCmd(<q-args>)
        command!          RunPerl call RunCmd("/usr/bin/perl")
    
  2. or download this
        :RunPerl
    
  3. or download this
        :Run perl
    
  4. or download this
        nnoremap <silent><F5> :<C-u>up|RunPerl<CR>
        inoremap <silent><F5> <C-o>:up|RunPerl<CR>
        vnoremap <silent><F5> <Esc>:up|RunPerl<CR>gv