• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/vim-55/runtime/autoload/

Lines Matching +refs:mh +refs:junk +refs:choice

484    let choice= confirm("Remove personal and system copies of netrw?","&Yes\n&No")
486 let choice= confirm("Remove personal copy of netrw?","&Yes\n&No")
488 " call Decho("choice=".choice)
492 if choice == 1
578 let choice = b:netrw_lastfile
582 exe "let choice= a:" . ichoice
583 " call Decho("no lastfile: choice<" . choice . ">")
585 if match(choice,"?") == 0
602 elseif match(choice,'^"') != -1
603 " Reconstruct Choice if choice starts with '"'
604 " call Decho("reconstructing choice")
605 if match(choice,'"$') != -1
607 let choice=strpart(choice,1,strlen(choice)-2)
610 let choice = strpart(choice,1,strlen(choice)-1)
613 while match(choice,'"$') == -1
614 let wholechoice = wholechoice . " " . choice
623 let choice= a:{ichoice}
625 let choice= strpart(wholechoice,1,strlen(wholechoice)-1) . " " . strpart(choice,0,strlen(choice)-1)
630 " call Decho("choice<" . choice . ">")
634 call s:NetrwMethod(choice)
642 " call Decho("checking if NetrwBrowse() should handle choice<".choice."> with netrw_list_cmd<".g:netrw_list_cmd.">")
643 if choice =~ "^.*[\/]$" && b:netrw_method != 5 && choice !~ '^http://'
644 " call Decho("yes, choice matches '^.*[\/]$'")
645 keepj call s:NetrwBrowse(0,choice)
682 let b:netrw_lastfile = choice
722 let b:netrw_lastfile = choice
778 let b:netrw_lastfile = choice
792 let b:netrw_lastfile = choice
831 let b:netrw_lastfile = choice
868 let b:netrw_lastfile = choice
877 let b:netrw_lastfile = choice
906 let b:netrw_lastfile = choice
916 let b:netrw_lastfile = choice
921 call netrw#ErrorMsg(s:WARNING,"unable to comply with your request<" . choice . ">",8)
989 " NetWrite: while choice loop: {{{3
996 let choice = b:netrw_lastfile
999 exe "let choice= a:" . ichoice
1001 " Reconstruct Choice if choice starts with '"'
1002 if match(choice,"?") == 0
1017 elseif match(choice,"^\"") != -1
1018 if match(choice,"\"$") != -1
1020 let choice=strpart(choice,1,strlen(choice)-2)
1023 let choice = strpart(choice,1,strlen(choice)-1)
1026 while match(choice,"\"$") == -1
1027 let wholechoice= wholechoice . " " . choice
1029 if choice > a:0
1036 let choice= a:{ichoice}
1038 let choice= strpart(wholechoice,1,strlen(wholechoice)-1) . " " . strpart(choice,0,strlen(choice)-1)
1043 " call Decho("choice<" . choice . "> ichoice=".ichoice)
1046 call s:NetrwMethod(choice)
1079 let b:netrw_lastfile = choice
1125 let b:netrw_lastfile = choice
1165 " save choice/id/password for future use
1166 let b:netrw_lastfile = choice
1200 let b:netrw_lastfile = choice
1246 let b:netrw_lastfile = choice
1254 let b:netrw_lastfile = choice
1282 let b:netrw_lastfile = choice
1287 call netrw#ErrorMsg(s:WARNING,"unable to comply with your request<" . choice . ">",17)
1461 " choice = url [protocol:]//[userid@]hostname[:port]/[path-to-file]
1475 " g:netrw_choice = copy of input url (choice)
1476 fun! s:NetrwMethod(choice)
1477 " call Dfunc("NetrwMethod(a:choice<".a:choice.">)")
1493 let g:netrw_choice = a:choice
1522 if match(a:choice,rcpurm) == 0
1525 let userid = substitute(a:choice,rcpurm,'\1',"")
1526 let g:netrw_machine = substitute(a:choice,rcpurm,'\2',"")
1527 let b:netrw_fname = substitute(a:choice,rcpurm,'\3',"")
1533 elseif match(a:choice,scpurm) == 0
1536 let g:netrw_machine = substitute(a:choice,scpurm,'\1',"")
1537 let g:netrw_port = substitute(a:choice,scpurm,'\2',"")
1538 let b:netrw_fname = substitute(a:choice,scpurm,'\3',"")
1541 elseif match(a:choice,httpurm) == 0
1544 let g:netrw_machine= substitute(a:choice,httpurm,'\1',"")
1545 let b:netrw_fname = substitute(a:choice,httpurm,'\2',"")
1548 elseif match(a:choice,davurm) == 0
1551 if a:choice =~ '^s'
1552 let g:netrw_machine= 'https://'.substitute(a:choice,davurm,'\1/\2',"")
1554 let g:netrw_machine= 'http://'.substitute(a:choice,davurm,'\1/\2',"")
1556 let b:netrw_fname = substitute(a:choice,davurm,'\3',"")
1559 elseif match(a:choice,rsyncurm) == 0
1562 let g:netrw_machine= substitute(a:choice,rsyncurm,'\1',"")
1563 let b:netrw_fname = substitute(a:choice,rsyncurm,'\2',"")
1566 elseif match(a:choice,ftpurm) == 0
1568 let userid = substitute(a:choice,ftpurm,'\2',"")
1569 let g:netrw_machine= substitute(a:choice,ftpurm,'\3',"")
1570 let g:netrw_port = substitute(a:choice,ftpurm,'\4',"")
1571 let b:netrw_fname = substitute(a:choice,ftpurm,'\5',"")
1596 elseif match(a:choice,fetchurm) == 0
1599 let g:netrw_userid = substitute(a:choice,fetchurm,'\2',"")
1600 let g:netrw_machine= substitute(a:choice,fetchurm,'\3',"")
1601 let b:netrw_option = substitute(a:choice,fetchurm,'\4',"")
1602 let b:netrw_fname = substitute(a:choice,fetchurm,'\5',"")
1605 elseif match(a:choice,mipf) == 0
1608 let g:netrw_machine = substitute(a:choice,mipf,'\1',"")
1609 let g:netrw_uid = substitute(a:choice,mipf,'\2',"")
1610 let s:netrw_passwd = substitute(a:choice,mipf,'\3',"")
1611 let b:netrw_fname = substitute(a:choice,mipf,'\4',"")
1614 elseif match(a:choice,mf) == 0
1618 let g:netrw_machine = substitute(a:choice,mf,'\1',"")
1619 let b:netrw_fname = substitute(a:choice,mf,'\2',"")
1623 let g:netrw_machine = substitute(a:choice,mf,'\1',"")
1624 let b:netrw_fname = substitute(a:choice,mf,'\2',"")
1628 elseif match(a:choice,sftpurm) == 0
1631 let g:netrw_machine= substitute(a:choice,sftpurm,'\1',"")
1632 let b:netrw_fname = substitute(a:choice,sftpurm,'\2',"")
1635 elseif match(a:choice,rcphf) == 0
1638 let userid = substitute(a:choice,rcphf,'\2',"")
1639 let g:netrw_machine = substitute(a:choice,rcphf,'\3',"")
1640 let b:netrw_fname = substitute(a:choice,rcphf,'\4',"")
1641 " call Decho('\1<'.substitute(a:choice,rcphf,'\1',"").">")
1642 " call Decho('\2<'.substitute(a:choice,rcphf,'\2',"").">")
1643 " call Decho('\3<'.substitute(a:choice,rcphf,'\3',"").">")
1644 " call Decho('\4<'.substitute(a:choice,rcphf,'\4',"").">")
1661 " call Decho("a:choice <".a:choice.">")
1677 " to handle extra junk that their system's ftp dumps
1757 nnoremap <buffer> <silent> mh :<c-u>call <SID>NetrwMarkHideSfx(1)<cr>
1801 inoremap <buffer> <silent> mh <c-o>:<c-u>call <SID>NetrwMarkHideSfx(1)<cr>
1892 nnoremap <buffer> <silent> mh :<c-u>call <SID>NetrwMarkHideSfx(0)<cr>
1935 inoremap <buffer> <silent> mh <c-o>:<c-u>call <SID>NetrwMarkHideSfx(0)<cr>
4651 " s:NetrwMarkHideSfx: (invoked by mh) (un)hide files having same suffix
5502 " choice = 0 : didn't have to choose
5503 " choice = 1 : saved modified file in window first
5504 " choice = 2 : didn't save modified file, opened window
5505 " choice = 3 : cancel open
5515 let choice = 0
5551 let choice = confirm("Save modified file<".bufname.">?","&Yes\n&No\n&Cancel")
5552 " call Decho("bufname<".bufname."> choice=".choice." winnr#".winnr())
5554 if choice == 1
5565 " call Dret("NetrwPrevWinOpen ".choice." : unable to write <".bufname.">")
5566 return choice
5569 elseif choice == 2
5582 " call Dret("NetrwPrevWinOpen ".choice." : cancelled")
5583 return choice
5598 " call Dret("NetrwPrevWinOpen ".choice)
5599 return choice
6953 call netrw#ErrorMsg(s:WARNING,"unable to comply with your request<" . choice . ">",23)
7114 " Coding choice: either elide ./ if present