comparison runtime/plugin/netrwPlugin.vim @ 2420:6de9efd58dc0 vim73

Updated runtime files. New netrw plugin version.
author Bram Moolenaar <bram@vim.org>
date Tue, 27 Jul 2010 22:50:36 +0200
parents b9e314fe473f
children e52d87a2bb3e
comparison
equal deleted inserted replaced
2419:f579b934f51d 2420:6de9efd58dc0
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: Aug 10, 2008 3 " Date: Jul 27, 2010
4 " Maintainer: Charles E Campbell, Jr <NdrOchip@ScampbellPfamily.AbizM-NOSPAM> 4 " Maintainer: Charles E Campbell, Jr <NdrOchip@ScampbellPfamily.AbizM-NOSPAM>
5 " GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim 5 " GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim
6 " Copyright: Copyright (C) 1999-2008 Charles E. Campbell, Jr. {{{1 6 " Copyright: Copyright (C) 1999-2008 Charles E. Campbell, Jr. {{{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 = "v138" 23 let g:loaded_netrwPlugin = "v139"
24 if v:version < 702 24 if v:version < 702
25 echohl WarningMsg | echo "***netrw*** you need vim version 7.2 for this version of netrw" | echohl None 25 echohl WarningMsg | echo "***netrw*** you need vim version 7.2 for this version of netrw" | echohl None
26 finish 26 finish
27 endif 27 endif
28 let s:keepcpo = &cpo 28 let s:keepcpo = &cpo
79 " Commands: NetrwSettings {{{2 79 " Commands: NetrwSettings {{{2
80 com! -nargs=0 NetrwSettings call netrwSettings#NetrwSettings() 80 com! -nargs=0 NetrwSettings call netrwSettings#NetrwSettings()
81 com! -bang NetrwClean call netrw#NetrwClean(<bang>0) 81 com! -bang NetrwClean call netrw#NetrwClean(<bang>0)
82 82
83 " Maps: 83 " Maps:
84 if !exists("g:netrw_nogx") && maparg('g','n') == "" 84 if !exists("g:netrw_nogx") && maparg('gx','n') == ""
85 if !hasmapto('<Plug>NetrwBrowseX') 85 if !hasmapto('<Plug>NetrwBrowseX')
86 nmap <unique> gx <Plug>NetrwBrowseX 86 nmap <unique> gx <Plug>NetrwBrowseX
87 endif 87 endif
88 nno <silent> <Plug>NetrwBrowseX :call netrw#NetrwBrowseX(expand("<cWORD>"),0)<cr> 88 nno <silent> <Plug>NetrwBrowseX :call netrw#NetrwBrowseX(expand("<cWORD>"),0)<cr>
89 endif 89 endif