Mercurial > vim
comparison runtime/plugin/netrwPlugin.vim @ 8148:f5da459c5698
commit https://github.com/vim/vim/commit/e0fa3742ead676a3074a10edadbc955e1a89153d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 20 15:47:01 2016 +0100
Updated runtime files.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 20 Feb 2016 16:00:06 +0100 |
parents | ffad29dc7eee |
children | 0bdeaf7092bc |
comparison
equal
deleted
inserted
replaced
8147:da6300d5a13b | 8148:f5da459c5698 |
---|---|
1 " netrwPlugin.vim: Handles file transfer and remote directory listing across a network | 1 " netrwPlugin.vim: Handles file transfer and remote directory listing across a network |
2 " PLUGIN SECTION | 2 " PLUGIN SECTION |
3 " Date: Nov 07, 2014 | 3 " Date: Feb 08, 2016 |
4 " Maintainer: Charles E Campbell <NdrOchip@ScampbellPfamily.AbizM-NOSPAM> | 4 " Maintainer: Charles E Campbell <NdrOchip@ScampbellPfamily.AbizM-NOSPAM> |
5 " GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim | 5 " GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim |
6 " Copyright: Copyright (C) 1999-2013 Charles E. Campbell {{{1 | 6 " Copyright: Copyright (C) 1999-2013 Charles E. Campbell {{{1 |
7 " Permission is hereby granted to use and distribute this code, | 7 " Permission is hereby granted to use and distribute this code, |
8 " with or without modifications, provided that this copyright | 8 " with or without modifications, provided that this copyright |
18 " =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- | 18 " =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- |
19 " Load Once: {{{1 | 19 " Load Once: {{{1 |
20 if &cp || exists("g:loaded_netrwPlugin") | 20 if &cp || exists("g:loaded_netrwPlugin") |
21 finish | 21 finish |
22 endif | 22 endif |
23 let g:loaded_netrwPlugin = "v154" | 23 let g:loaded_netrwPlugin = "v155" |
24 let s:keepcpo = &cpo | 24 let s:keepcpo = &cpo |
25 set cpo&vim | 25 set cpo&vim |
26 "DechoRemOn | 26 "DechoRemOn |
27 | 27 |
28 " --------------------------------------------------------------------- | 28 " --------------------------------------------------------------------- |
53 au SourcePre ftp://*,rcp://*,scp://*,http://*,file://*,https://*,dav://*,davs://*,rsync://*,sftp://* exe 'Nsource '.fnameescape(expand("<amatch>")) | 53 au SourcePre ftp://*,rcp://*,scp://*,http://*,file://*,https://*,dav://*,davs://*,rsync://*,sftp://* exe 'Nsource '.fnameescape(expand("<amatch>")) |
54 endtry | 54 endtry |
55 augroup END | 55 augroup END |
56 | 56 |
57 " Commands: :Nread, :Nwrite, :NetUserPass {{{2 | 57 " Commands: :Nread, :Nwrite, :NetUserPass {{{2 |
58 com! -count=1 -nargs=* Nread call netrw#SavePosn()<bar>call netrw#NetRead(<count>,<f-args>)<bar>call netrw#RestorePosn() | 58 com! -count=1 -nargs=* Nread let s:svpos= winsaveview()<bar>call netrw#NetRead(<count>,<f-args>)<bar>call winrestview(s:svpos) |
59 com! -range=% -nargs=* Nwrite call netrw#SavePosn()<bar><line1>,<line2>call netrw#NetWrite(<f-args>)<bar>call netrw#RestorePosn() | 59 com! -range=% -nargs=* Nwrite let s:svpos= winsaveview()<bar><line1>,<line2>call netrw#NetWrite(<f-args>)<bar>call winrestview(s:svpos) |
60 com! -nargs=* NetUserPass call NetUserPass(<f-args>) | 60 com! -nargs=* NetUserPass call NetUserPass(<f-args>) |
61 com! -nargs=* Nsource call netrw#SavePosn()<bar>call netrw#NetSource(<f-args>)<bar>call netrw#RestorePosn() | 61 com! -nargs=* Nsource let s:svpos= winsaveview()<bar>call netrw#NetSource(<f-args>)<bar>call winrestview(s:svpos) |
62 com! -nargs=? Ntree call netrw#SetTreetop(<q-args>) | 62 com! -nargs=? Ntree call netrw#SetTreetop(<q-args>) |
63 | 63 |
64 " Commands: :Explore, :Sexplore, Hexplore, Vexplore, Lexplore {{{2 | 64 " Commands: :Explore, :Sexplore, Hexplore, Vexplore, Lexplore {{{2 |
65 com! -nargs=* -bar -bang -count=0 -complete=dir Explore call netrw#Explore(<count>,0,0+<bang>0,<q-args>) | 65 com! -nargs=* -bar -bang -count=0 -complete=dir Explore call netrw#Explore(<count>,0,0+<bang>0,<q-args>) |
66 com! -nargs=* -bar -bang -count=0 -complete=dir Sexplore call netrw#Explore(<count>,1,0+<bang>0,<q-args>) | 66 com! -nargs=* -bar -bang -count=0 -complete=dir Sexplore call netrw#Explore(<count>,1,0+<bang>0,<q-args>) |