Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

updated for version 7.2b-000

  • Loading branch information...
commit 7a75fec5ca855b758ccdb3373e2e8aee4546de84 1 parent 73626b6
vimboss authored

Showing 277 changed files with 3,786 additions and 2,068 deletions. Show diff stats Hide diff stats

  1. +4 4 Contents
  2. +1 0  Filelist
  3. +2 2 Makefile
  4. +1 1  README.txt
  5. +1 1  README_ami.txt
  6. +1 1  README_amibin.txt
  7. +1 1  README_amisrc.txt
  8. +1 1  README_bindos.txt
  9. +1 1  README_dos.txt
  10. +1 1  README_extra.txt
  11. +1 1  README_lang.txt
  12. +1 1  README_mac.txt
  13. +1 1  README_ole.txt
  14. +1 1  README_os2.txt
  15. +1 1  README_os390.txt
  16. +1 1  README_src.txt
  17. +1 1  README_srcdos.txt
  18. +1 1  README_unix.txt
  19. +1 1  README_vms.txt
  20. +1 1  README_w32s.txt
  21. +1 1  nsis/gvim.nsi
  22. +61 26 runtime/autoload/ada.vim
  23. +2 2 runtime/autoload/adacomplete.vim
  24. +4 4 runtime/autoload/decada.vim
  25. +14 6 runtime/autoload/getscript.vim
  26. +18 10 runtime/autoload/gnat.vim
  27. +5 5 runtime/autoload/gzip.vim
  28. +469 426 runtime/autoload/netrw.vim
  29. +4 15 runtime/autoload/netrwSettings.vim
  30. +7 7 runtime/autoload/rubycomplete.vim
  31. +47 43 runtime/autoload/tar.vim
  32. +34 34 runtime/autoload/zip.vim
  33. +11 10 runtime/compiler/decada.vim
  34. +1 1  runtime/compiler/eruby.vim
  35. +7 5 runtime/compiler/gnat.vim
  36. +41 0 runtime/compiler/rspec.vim
  37. +1 1  runtime/doc/arabic.txt
  38. +5 4 runtime/doc/autocmd.txt
  39. +5 5 runtime/doc/change.txt
  40. +4 2 runtime/doc/cmdline.txt
  41. +1 1  runtime/doc/debug.txt
  42. +1 1  runtime/doc/debugger.txt
  43. +1 1  runtime/doc/develop.txt
  44. +1 1  runtime/doc/diff.txt
  45. +1 1  runtime/doc/digraph.txt
  46. +24 19 runtime/doc/editing.txt
  47. +34 16 runtime/doc/eval.txt
  48. +1 1  runtime/doc/farsi.txt
  49. +5 5 runtime/doc/filetype.txt
  50. +1 1  runtime/doc/fold.txt
  51. +1 1  runtime/doc/ft_ada.txt
  52. +1 1  runtime/doc/ft_sql.txt
  53. +1 1  runtime/doc/gui.txt
  54. +1 1  runtime/doc/gui_w16.txt
  55. +2 2 runtime/doc/gui_w32.txt
  56. +1 1  runtime/doc/gui_x11.txt
  57. +1 1  runtime/doc/hangulin.txt
  58. +1 1  runtime/doc/hebrew.txt
  59. +1 1  runtime/doc/help.txt
  60. +1 1  runtime/doc/howto.txt
  61. +1 1  runtime/doc/if_cscop.txt
  62. +3 3 runtime/doc/if_mzsch.txt
  63. +1 1  runtime/doc/if_ole.txt
  64. +1 1  runtime/doc/if_perl.txt
  65. +1 1  runtime/doc/if_pyth.txt
  66. +1 1  runtime/doc/if_ruby.txt
  67. +1 1  runtime/doc/if_sniff.txt
  68. +2 2 runtime/doc/if_tcl.txt
  69. +76 1 runtime/doc/indent.txt
  70. +1 1  runtime/doc/index.txt
  71. +1 1  runtime/doc/insert.txt
  72. +2 2 runtime/doc/intro.txt
  73. +3 3 runtime/doc/map.txt
  74. +1 1  runtime/doc/mbyte.txt
  75. +1 1  runtime/doc/message.txt
  76. +1 1  runtime/doc/mlang.txt
  77. +1 1  runtime/doc/motion.txt
  78. +3 3 runtime/doc/netbeans.txt
  79. +9 18 runtime/doc/options.txt
  80. +1 1  runtime/doc/os_390.txt
  81. +1 1  runtime/doc/os_amiga.txt
  82. +1 1  runtime/doc/os_beos.txt
  83. +1 1  runtime/doc/os_dos.txt
  84. +1 1  runtime/doc/os_mac.txt
  85. +1 1  runtime/doc/os_mint.txt
  86. +1 1  runtime/doc/os_msdos.txt
  87. +1 1  runtime/doc/os_os2.txt
  88. +1 1  runtime/doc/os_qnx.txt
  89. +33 33 runtime/doc/os_risc.txt
  90. +1 1  runtime/doc/os_unix.txt
  91. +1 1  runtime/doc/os_vms.txt
  92. +1 1  runtime/doc/os_win32.txt
  93. +1 1  runtime/doc/pattern.txt
  94. +4 1 runtime/doc/pi_getscript.txt
  95. +1 1  runtime/doc/pi_gzip.txt
  96. +44 17 runtime/doc/pi_netrw.txt
  97. +1 1  runtime/doc/pi_paren.txt
  98. +1 1  runtime/doc/pi_spec.txt
  99. +1 1  runtime/doc/pi_tar.txt
  100. +2 2 runtime/doc/pi_vimball.txt
  101. +2 2 runtime/doc/pi_zip.txt
  102. +1 1  runtime/doc/print.txt
  103. +1 1  runtime/doc/quickfix.txt
  104. +1 1  runtime/doc/quickref.txt
  105. +1 1  runtime/doc/quotes.txt
  106. +1 1  runtime/doc/recover.txt
  107. +1 1  runtime/doc/remote.txt
  108. +1 1  runtime/doc/repeat.txt
  109. +1 1  runtime/doc/rileft.txt
  110. +1 1  runtime/doc/russian.txt
  111. +1 1  runtime/doc/scroll.txt
  112. +1 1  runtime/doc/sign.txt
  113. +1 1  runtime/doc/spell.txt
  114. +1 1  runtime/doc/sponsor.txt
  115. +1 1  runtime/doc/starting.txt
  116. +1 1  runtime/doc/syntax.txt
  117. +1 1  runtime/doc/tabpage.txt
  118. +8 2 runtime/doc/tags
  119. +1 1  runtime/doc/tagsrch.txt
  120. +1 1  runtime/doc/term.txt
  121. +1 1  runtime/doc/tips.txt
  122. +58 28 runtime/doc/todo.txt
  123. +1 1  runtime/doc/uganda.txt
  124. +1 1  runtime/doc/undo.txt
  125. +1 1  runtime/doc/usr_01.txt
  126. +1 1  runtime/doc/usr_02.txt
  127. +1 1  runtime/doc/usr_03.txt
  128. +1 1  runtime/doc/usr_04.txt
  129. +1 1  runtime/doc/usr_05.txt
  130. +1 1  runtime/doc/usr_06.txt
  131. +1 1  runtime/doc/usr_07.txt
  132. +1 1  runtime/doc/usr_08.txt
  133. +1 1  runtime/doc/usr_09.txt
  134. +1 1  runtime/doc/usr_10.txt
  135. +1 1  runtime/doc/usr_11.txt
  136. +1 1  runtime/doc/usr_12.txt
  137. +1 1  runtime/doc/usr_20.txt
  138. +1 1  runtime/doc/usr_21.txt
  139. +1 1  runtime/doc/usr_22.txt
  140. +1 1  runtime/doc/usr_23.txt
  141. +1 1  runtime/doc/usr_24.txt
  142. +1 1  runtime/doc/usr_25.txt
  143. +1 1  runtime/doc/usr_26.txt
  144. +1 1  runtime/doc/usr_27.txt
  145. +1 1  runtime/doc/usr_28.txt
  146. +3 3 runtime/doc/usr_29.txt
  147. +1 1  runtime/doc/usr_30.txt
  148. +1 1  runtime/doc/usr_31.txt
  149. +1 1  runtime/doc/usr_32.txt
  150. +1 1  runtime/doc/usr_40.txt
  151. +1 1  runtime/doc/usr_41.txt
  152. +1 1  runtime/doc/usr_42.txt
  153. +1 1  runtime/doc/usr_43.txt
  154. +1 1  runtime/doc/usr_44.txt
  155. +1 1  runtime/doc/usr_45.txt
  156. +1 1  runtime/doc/usr_90.txt
  157. +1 1  runtime/doc/usr_toc.txt
  158. +2 2 runtime/doc/various.txt
  159. +1 1  runtime/doc/version4.txt
  160. +3 3 runtime/doc/version5.txt
  161. +2 2 runtime/doc/version6.txt
  162. +179 14 runtime/doc/version7.txt
  163. +2 2 runtime/doc/vi_diff.txt
  164. +1 1  runtime/doc/visual.txt
  165. +3 3 runtime/doc/windows.txt
  166. +1 1  runtime/doc/workshop.txt
  167. +20 7 runtime/filetype.vim
  168. +25 5 runtime/ftplugin/ada.vim
  169. +62 17 runtime/ftplugin/debchangelog.vim
  170. +1 1  runtime/ftplugin/eruby.vim
  171. +2 2 runtime/ftplugin/git.vim
  172. +66 0 runtime/ftplugin/haml.vim
  173. +164 0 runtime/ftplugin/logtalk.dict
  174. +18 0 runtime/ftplugin/logtalk.vim
  175. +18 0 runtime/ftplugin/sass.vim
  176. +12 9 runtime/indent/ada.vim
  177. +12 7 runtime/indent/eruby.vim
  178. +73 0 runtime/indent/haml.vim
  179. +61 0 runtime/indent/logtalk.vim
  180. +61 39 runtime/indent/php.vim
  181. +18 13 runtime/indent/ruby.vim
  182. +39 0 runtime/indent/sass.vim
  183. +59 27 runtime/keymap/bulgarian-bds.vim
  184. +58 25 runtime/keymap/bulgarian-phonetic.vim
  185. +0 90 runtime/keymap/bulgarian.vim
  186. +4 3 runtime/macros/justify.vim
  187. +4 1 runtime/makemenu.vim
  188. +1 1  runtime/plugin/getscriptPlugin.vim
  189. +1 1  runtime/plugin/netrwPlugin.vim
  190. +1 1  runtime/plugin/tarPlugin.vim
  191. +10 1 runtime/plugin/zipPlugin.vim
  192. +2 2 runtime/scripts.vim
  193. +65 62 runtime/synmenu.vim
  194. +5 9 runtime/syntax/ada.vim
  195. +1 1  runtime/syntax/debchangelog.vim
  196. +4 1 runtime/syntax/debcontrol.vim
  197. +8 11 runtime/syntax/debsources.vim
  198. +8 19 runtime/syntax/eruby.vim
  199. +85 0 runtime/syntax/haml.vim
  200. +19 24 runtime/syntax/haste.vim
  201. +49 0 runtime/syntax/hastepreproc.vim
  202. +6 4 runtime/syntax/lhaskell.vim
  203. +33 27 runtime/syntax/logtalk.vim
  204. +15 2 runtime/syntax/messages.vim
  205. +24 17 runtime/syntax/muttrc.vim
  206. +103 67 runtime/syntax/ruby.vim
  207. +56 0 runtime/syntax/sass.vim
  208. +103 74 runtime/syntax/sh.vim
  209. +31 15 runtime/syntax/vim.vim
  210. +3 3 runtime/tutor/tutor.pl
  211. +3 3 runtime/tutor/tutor.pl.cp1250
  212. +3 3 runtime/tutor/tutor.pl.utf-8
  213. +4 2 runtime/vimrc_example.vim
  214. +2 2 src/GvimExt/GvimExt.reg
  215. +10 0 src/INSTALL
  216. +10 3 src/INSTALLpc.txt
  217. +5 4 src/Make_mvc.mak
  218. +4 2 src/Makefile
  219. +41 9 src/auto/configure
  220. +27 9 src/configure.in
  221. +9 5 src/eval.c
  222. +2 2 src/ex_cmds.c
  223. +1 1  src/ex_cmds2.c
  224. +4 0 src/ex_docmd.c
  225. +19 1 src/gui.c
  226. +3 11 src/gui_mac.c
  227. +65 3 src/if_perl.xs
  228. +1 1  src/if_python.c
  229. +1 1  src/main.c
  230. +14 1 src/mbyte.c
  231. +1 1  src/memfile.c
  232. +1 1  src/memline.c
  233. +1 1  src/message.c
  234. +8 2 src/move.c
  235. +1 2  src/netbeans.c
  236. +7 7 src/po/af.po
  237. +11 11 src/po/ca.po
  238. +6 6 src/po/cs.cp1250.po
  239. +6 6 src/po/cs.po
  240. +10 10 src/po/de.po
  241. +76 39 src/po/eo.po
  242. +7 7 src/po/es.po
  243. +11 11 src/po/fi.po
  244. +50 30 src/po/fr.po
  245. +11 11 src/po/ga.po
  246. +32 18 src/po/it.po
  247. +11 11 src/po/ja.po
  248. +11 11 src/po/ja.sjis.po
  249. +7 7 src/po/ko.po
  250. +11 11 src/po/no.po
  251. +107 41 src/po/pl.UTF-8.po
  252. +107 41 src/po/pl.cp1250.po
  253. +107 41 src/po/pl.po
  254. +7 7 src/po/ru.cp1251.po
  255. +7 7 src/po/ru.po
  256. +10 10 src/po/sk.cp1250.po
  257. +10 10 src/po/sk.po
  258. +11 11 src/po/sv.po
  259. +11 11 src/po/uk.cp1251.po
  260. +11 11 src/po/uk.po
  261. +7 7 src/po/vi.po
  262. +10 10 src/po/zh_CN.UTF-8.po
  263. +10 10 src/po/zh_CN.cp936.po
  264. +10 10 src/po/zh_CN.po
  265. +7 7 src/po/zh_TW.UTF-8.po
  266. +7 7 src/po/zh_TW.po
  267. +2 3 src/popupmnu.c
  268. +1 0  src/proto/mbyte.pro
  269. +1 1  src/quickfix.c
  270. +38 0 src/screen.c
  271. +1 1  src/tag.c
  272. +2 0  src/testdir/test30.in
  273. +0 38 src/version.c
  274. +8 8 src/version.h
  275. +1 1  src/vim.def
  276. +1 1  src/vim.h
  277. +1 1  src/vim16.def
8 Contents
@@ -9,10 +9,10 @@ Vim Vi IMproved. A clone of the UNIX text editor Vi. Very useful
9 9 messages, shows current file name in window title, on-line
10 10 help, rectangular cut/paste, etc., etc., etc...
11 11
12   - Version 7.2a. Also runs under UNIX, MSDOS and other systems.
13   - vim72art.tgz contains the documentation and syntax files.
14   - vim72abin.tgz contains the binaries.
15   - vim72asrc.tgz contains the sources.
  12 + Version 7.2b. Also runs under UNIX, MSDOS and other systems.
  13 + vim72brt.tgz contains the documentation and syntax files.
  14 + vim72bbin.tgz contains the binaries.
  15 + vim72bsrc.tgz contains the sources.
16 16 Author: Bram Moolenaar et al.
17 17
18 18
1  Filelist
@@ -516,6 +516,7 @@ RT_SCRIPTS = \
516 516 runtime/indent/*.vim \
517 517 runtime/indent/README.txt \
518 518 runtime/ftplugin/*.vim \
  519 + runtime/ftplugin/logtalk.dict \
519 520 runtime/ftplugin/README.txt \
520 521 runtime/plugin/*.vim \
521 522 runtime/plugin/README.txt \
4 Makefile
@@ -69,7 +69,7 @@ all install uninstall tools config configure reconfig proto depend lint tags typ
69 69 # Before creating an archive first delete all backup files, *.orig, etc.
70 70
71 71 MAJOR = 7
72   -MINOR = 2a
  72 +MINOR = 2b
73 73
74 74 # Uncomment this line if the Win32s version is to be included.
75 75 DOSBIN_S = dosbin_s
@@ -133,7 +133,7 @@ DOSBIN_S = dosbin_s
133 133 # Win32 console version:
134 134 # - Set environment for Visual C++ 2008 Express Edition: "msvc2008.bat". Or,
135 135 # when using the Visual C++ Toolkit 2003: "msvcsetup.bat" (adjust the paths
136   -# when necessary).
  136 +# when necessary). For Windows 98 the 2003 version is required.
137 137 # - "nmake -f Make_mvc.mak"
138 138 # - "rm testdir/*.out", "nmake -f Make_mvc.mak test" and check the output.
139 139 # - Rename the executables to "vimw32.exe", "xxdw32.exe".
2  README.txt
... ... @@ -1,4 +1,4 @@
1   -README.txt for version 7.2a of Vim: Vi IMproved.
  1 +README.txt for version 7.2b of Vim: Vi IMproved.
2 2
3 3
4 4 WHAT IS VIM
2  README_ami.txt
... ... @@ -1,4 +1,4 @@
1   -README_ami.txt for version 7.2a of Vim: Vi IMproved.
  1 +README_ami.txt for version 7.2b of Vim: Vi IMproved.
2 2
3 3 This file explains the installation of Vim on Amiga systems.
4 4 See README.txt for general information about Vim.
2  README_amibin.txt
... ... @@ -1,4 +1,4 @@
1   -README_amibin.txt for version 7.2a of Vim: Vi IMproved.
  1 +README_amibin.txt for version 7.2b of Vim: Vi IMproved.
2 2
3 3 See "README.txt" for general information about Vim.
4 4 See "README_ami.txt" for installation instructions for the Amiga.
2  README_amisrc.txt
... ... @@ -1,4 +1,4 @@
1   -README_amisrc.txt for version 7.2a of Vim: Vi IMproved.
  1 +README_amisrc.txt for version 7.2b of Vim: Vi IMproved.
2 2
3 3 See "README.txt" for general information about Vim.
4 4 See "README_ami.txt" for installation instructions for the Amiga.
2  README_bindos.txt
... ... @@ -1,4 +1,4 @@
1   -README_bindos.txt for version 7.2a of Vim: Vi IMproved.
  1 +README_bindos.txt for version 7.2b of Vim: Vi IMproved.
2 2
3 3 See "README.txt" for general information about Vim.
4 4 See "README_dos.txt" for installation instructions for MS-DOS and MS-Windows.
2  README_dos.txt
... ... @@ -1,4 +1,4 @@
1   -README_dos.txt for version 7.2a of Vim: Vi IMproved.
  1 +README_dos.txt for version 7.2b of Vim: Vi IMproved.
2 2
3 3 This file explains the installation of Vim on MS-DOS and MS-Windows systems.
4 4 See "README.txt" for general information about Vim.
2  README_extra.txt
... ... @@ -1,4 +1,4 @@
1   -README_extra.txt for version 7.2a of Vim: Vi IMproved.
  1 +README_extra.txt for version 7.2b of Vim: Vi IMproved.
2 2
3 3 The extra archive of Vim is to be used in combination with the source archive
4 4 (vim-7.0-src.tar.gz). The extra archive is useless without it.
2  README_lang.txt
... ... @@ -1,4 +1,4 @@
1   -README_lang.txt for version 7.2a of Vim: Vi IMproved.
  1 +README_lang.txt for version 7.2b of Vim: Vi IMproved.
2 2
3 3 This file contains files for non-English languages:
4 4 - Translated messages.
2  README_mac.txt
... ... @@ -1,4 +1,4 @@
1   -README_mac.txt for version 7.2a of Vim: Vi IMproved.
  1 +README_mac.txt for version 7.2b of Vim: Vi IMproved.
2 2
3 3 This file explains the installation of Vim on Macintosh systems.
4 4 See "README.txt" for general information about Vim.
2  README_ole.txt
... ... @@ -1,4 +1,4 @@
1   -README_ole.txt for version 7.2a of Vim: Vi IMproved.
  1 +README_ole.txt for version 7.2b of Vim: Vi IMproved.
2 2
3 3 This archive contains gvim.exe with OLE interface and VisVim.
4 4 This version of gvim.exe can also load a number of interface dynamically (you
2  README_os2.txt
... ... @@ -1,4 +1,4 @@
1   -README_os2.txt for version 7.2a of Vim: Vi IMproved.
  1 +README_os2.txt for version 7.2b of Vim: Vi IMproved.
2 2
3 3 This file explains the installation of Vim on OS/2 systems.
4 4 See "README.txt" for general information about Vim.
2  README_os390.txt
... ... @@ -1,4 +1,4 @@
1   -README_os_390.txt for version 7.2a of Vim: Vi IMproved.
  1 +README_os_390.txt for version 7.2b of Vim: Vi IMproved.
2 2
3 3 Welcome to the OS/390 Unix port of VIM.
4 4
2  README_src.txt
... ... @@ -1,4 +1,4 @@
1   -README_src.txt for version 7.2a of Vim: Vi IMproved.
  1 +README_src.txt for version 7.2b of Vim: Vi IMproved.
2 2
3 3 The source archive contains the files needed to compile Vim on Unix systems.
4 4 It is packed for Unix systems (NL line separator). It is also used for other
2  README_srcdos.txt
... ... @@ -1,4 +1,4 @@
1   -README_srcdos.txt for version 7.2a of Vim: Vi IMproved.
  1 +README_srcdos.txt for version 7.2b of Vim: Vi IMproved.
2 2
3 3 See "README.txt" for general information about Vim.
4 4 See "README_dos.txt" for installation instructions for MS-DOS and MS-Windows.
2  README_unix.txt
... ... @@ -1,4 +1,4 @@
1   -README_unix.txt for version 7.2a of Vim: Vi IMproved.
  1 +README_unix.txt for version 7.2b of Vim: Vi IMproved.
2 2
3 3 This file explains the installation of Vim on Unix systems.
4 4 See "README.txt" for general information about Vim.
2  README_vms.txt
... ... @@ -1,4 +1,4 @@
1   -README_vms.txt for version 7.2a of Vim: Vi IMproved.
  1 +README_vms.txt for version 7.2b of Vim: Vi IMproved.
2 2
3 3 This file explains the installation of Vim on VMS systems.
4 4 See "README.txt" in the runtime archive for information about Vim.
2  README_w32s.txt
... ... @@ -1,4 +1,4 @@
1   -README_w32s.txt for version 7.2a of Vim: Vi IMproved.
  1 +README_w32s.txt for version 7.2b of Vim: Vi IMproved.
2 2
3 3 This archive contains the gvim.exe that was specifically compiled for use in
4 4 the Win32s subsystem in MS-Windows 3.1 and 3.11.
2  nsis/gvim.nsi
@@ -22,7 +22,7 @@
22 22 !define HAVE_NLS
23 23
24 24 !define VER_MAJOR 7
25   -!define VER_MINOR 2a
  25 +!define VER_MINOR 2b
26 26
27 27 # ----------- No configurable settings below this line -----------
28 28
87 runtime/autoload/ada.vim
@@ -2,13 +2,15 @@
2 2 " Description: Perform Ada specific completion & tagging.
3 3 " Language: Ada (2005)
4 4 " $Id$
5   -" Maintainer: Martin Krischik
  5 +" Maintainer: Martin Krischik <krischik@users.sourceforge.net>
  6 +" Taylor Venable <taylor@metasyntax.net>
6 7 " Neil Bird <neil@fnxweb.com>
  8 +" Ned Okie <nokie@radford.edu>
7 9 " $Author$
8 10 " $Date$
9   -" Version: 4.2
  11 +" Version: 4.6
10 12 " $Revision$
11   -" $HeadURL: https://svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/autoload/ada.vim $
  13 +" $HeadURL: https://gnuada.svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/autoload/ada.vim $
12 14 " History: 24.05.2006 MK Unified Headers
13 15 " 26.05.2006 MK ' should not be in iskeyword.
14 16 " 16.07.2006 MK Ada-Mode as vim-ball
@@ -17,6 +19,10 @@
17 19 " 05.11.2006 MK Bram suggested not to use include protection for
18 20 " autoload
19 21 " 05.11.2006 MK Bram suggested to save on spaces
  22 +" 08.07.2007 TV fix mapleader problems.
  23 +" 09.05.2007 MK Session just won't work no matter how much
  24 +" tweaking is done
  25 +" 19.09.2007 NO still some mapleader problems
20 26 " Help Page: ft-ada-functions
21 27 "------------------------------------------------------------------------------
22 28
@@ -425,30 +431,49 @@ function ada#Create_Tags (option)
425 431 execute '!ctags --excmd=number ' . l:Filename
426 432 endfunction ada#Create_Tags
427 433
428   -function ada#Switch_Session (New_Session) "{{{1
429   - if a:New_Session != v:this_session
430   - "
431   - " We actualy got a new session - otherwise there
432   - " is nothing to do.
433   - "
434   - if strlen (v:this_session) > 0
435   - execute 'mksession! ' . v:this_session
436   - endif
  434 +" Section: ada#Switch_Session {{{1
  435 +"
  436 +function ada#Switch_Session (New_Session)
  437 + "
  438 + " you should not save to much date into the seession since they will
  439 + " be sourced
  440 + "
  441 + let l:sessionoptions=&sessionoptions
437 442
438   - let v:this_session = a:New_Session
  443 + try
  444 + set sessionoptions=buffers,curdir,folds,globals,resize,slash,tabpages,tabpages,unix,winpos,winsize
439 445
440   - if filereadable (v:this_session)
441   - execute 'source ' . v:this_session
442   - endif
  446 + if a:New_Session != v:this_session
  447 + "
  448 + " We actualy got a new session - otherwise there
  449 + " is nothing to do.
  450 + "
  451 + if strlen (v:this_session) > 0
  452 + execute 'mksession! ' . v:this_session
  453 + endif
443 454
444   - augroup ada_session
445   - autocmd!
446   - autocmd VimLeavePre * execute 'mksession! ' . v:this_session
447   - augroup END
448   - endif
  455 + let v:this_session = a:New_Session
  456 +
  457 + "if filereadable (v:this_session)
  458 + "execute 'source ' . v:this_session
  459 + "endif
  460 +
  461 + augroup ada_session
  462 + autocmd!
  463 + autocmd VimLeavePre * execute 'mksession! ' . v:this_session
  464 + augroup END
  465 +
  466 + "if exists ("g:Tlist_Auto_Open") && g:Tlist_Auto_Open
  467 + "TlistOpen
  468 + "endif
  469 +
  470 + endif
  471 + finally
  472 + let &sessionoptions=l:sessionoptions
  473 + endtry
449 474
450 475 return
451   -endfunction ada#Switch_Session "}}}1
  476 +endfunction ada#Switch_Session
452 477
453 478 " Section: GNAT Pretty Printer folding {{{1
454 479 "
@@ -546,18 +571,23 @@ function ada#Map_Menu (Text, Keys, Command)
546 571 \ a:Keys .
547 572 \" <C-O>:" . a:Command . "<CR>"
548 573 else
  574 + if exists("g:mapleader")
  575 + let l:leader = g:mapleader
  576 + else
  577 + let l:leader = '\'
  578 + endif
549 579 execute
550 580 \ "50amenu " .
551 581 \ "Ada." . escape(a:Text, ' ') .
552   - \ "<Tab>" . escape(g:mapleader . "a" . a:Keys , '\') .
  582 + \ "<Tab>" . escape(l:leader . "a" . a:Keys , '\') .
553 583 \ " :" . a:Command . "<CR>"
554 584 execute
555 585 \ "nnoremap <buffer>" .
556   - \ escape(g:mapleader . "a" . a:Keys , '\') .
  586 + \ escape(l:leader . "a" . a:Keys , '\') .
557 587 \" :" . a:Command
558 588 execute
559 589 \ "inoremap <buffer>" .
560   - \ escape(g:mapleader . "a" . a:Keys , '\') .
  590 + \ escape(l:leader . "a" . a:Keys , '\') .
561 591 \" <C-O>:" . a:Command
562 592 endif
563 593 return
@@ -566,10 +596,15 @@ endfunction
566 596 " Section: ada#Map_Popup {{{2
567 597 "
568 598 function ada#Map_Popup (Text, Keys, Command)
  599 + if exists("g:mapleader")
  600 + let l:leader = g:mapleader
  601 + else
  602 + let l:leader = '\'
  603 + endif
569 604 execute
570 605 \ "50amenu " .
571 606 \ "PopUp." . escape(a:Text, ' ') .
572   - \ "<Tab>" . escape(g:mapleader . "a" . a:Keys , '\') .
  607 + \ "<Tab>" . escape(l:leader . "a" . a:Keys , '\') .
573 608 \ " :" . a:Command . "<CR>"
574 609
575 610 call ada#Map_Menu (a:Text, a:Keys, a:Command)
4 runtime/autoload/adacomplete.vim
@@ -5,9 +5,9 @@
5 5 " Maintainer: Martin Krischik
6 6 " $Author$
7 7 " $Date$
8   -" Version: 4.2
  8 +" Version: 4.6
9 9 " $Revision$
10   -" $HeadURL: https://svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/autoload/adacomplete.vim $
  10 +" $HeadURL: https://gnuada.svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/autoload/adacomplete.vim $
11 11 " History: 24.05.2006 MK Unified Headers
12 12 " 26.05.2006 MK improved search for begin of word.
13 13 " 16.07.2006 MK Ada-Mode as vim-ball
8 runtime/autoload/decada.vim
@@ -3,12 +3,12 @@
3 3 " Language: Ada (Dec Ada)
4 4 " $Id$
5 5 " Copyright: Copyright (C) 2006 Martin Krischik
6   -" Maintainer: Martin Krischik
  6 +" Maintainer: Martin Krischik <krischik@users.sourceforge.net>
7 7 " $Author$
8 8 " $Date$
9   -" Version: 4.2
  9 +" Version: 4.6
10 10 " $Revision$
11   -" $HeadURL: https://svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/autoload/decada.vim $
  11 +" $HeadURL: https://gnuada.svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/autoload/decada.vim $
12 12 " History: 21.07.2006 MK New Dec Ada
13 13 " 15.10.2006 MK Bram's suggestion for runtime integration
14 14 " 05.11.2006 MK Bram suggested not to use include protection for
@@ -45,7 +45,7 @@ function decada#Set_Session (...) dict " {{{1
45 45 call ada#Switch_Session (a:1)
46 46 elseif argc() == 0 && strlen (v:servername) > 0
47 47 call ada#Switch_Session (
48   - \ expand('~')[0:-2] . ".vimfiles.session]" .
  48 + \ expand('~')[0:-2] . ".vimfiles.session]decada_" .
49 49 \ v:servername . ".vim")
50 50 endif
51 51 return
20 runtime/autoload/getscript.vim
... ... @@ -1,8 +1,8 @@
1 1 " ---------------------------------------------------------------------
2 2 " getscript.vim
3 3 " Author: Charles E. Campbell, Jr.
4   -" Date: May 30, 2008
5   -" Version: 30
  4 +" Date: Jul 10, 2008
  5 +" Version: 31
6 6 " Installing: :help glvs-install
7 7 " Usage: :help glvs
8 8 "
@@ -23,7 +23,7 @@ set cpo&vim
23 23 if exists("g:loaded_getscript")
24 24 finish
25 25 endif
26   -let g:loaded_getscript= "v30"
  26 +let g:loaded_getscript= "v31"
27 27
28 28 " ---------------------------
29 29 " Global Variables: {{{1
@@ -140,6 +140,12 @@ fun! getscript#GetLatestVimScripts()
140 140 return
141 141 endif
142 142
  143 + " insure that fnameescape() is available
  144 + if !exists("*fnameescape")
  145 + echoerr "GetLatestVimScripts needs fnameescape() (provided by 7.1.299 or later)"
  146 + return
  147 + endif
  148 +
143 149 " Find the .../GetLatest subdirectory under the runtimepath
144 150 for datadir in split(&rtp,',') + ['']
145 151 if isdirectory(datadir."/GetLatest")
@@ -181,7 +187,8 @@ fun! getscript#GetLatestVimScripts()
181 187
182 188 " don't let any events interfere (like winmanager's, taglist's, etc)
183 189 let eikeep= &ei
184   - set ei=all
  190 + let hlskeep= &hls
  191 + set ei=all hls&vim
185 192
186 193 " record current directory, change to datadir, open split window with
187 194 " datafile
@@ -316,6 +323,7 @@ fun! getscript#GetLatestVimScripts()
316 323 " restore events and current directory
317 324 exe "cd ".fnameescape(substitute(origdir,'\','/','ge'))
318 325 let &ei= eikeep
  326 + let &hls= hlskeep
319 327 setlocal nolz
320 328 " call Dredir("BUFFER TEST (GetLatestVimScripts 2)","ls!")
321 329 " call Dret("GetLatestVimScripts : did ".s:downloads." downloads")
@@ -506,14 +514,14 @@ fun! s:GetOneScript(...)
506 514 new|exe "silent r!".g:GetLatestVimScripts_wget." ".g:GetLatestVimScripts_options." ".s:Escape(sname)." ".s:Escape('http://vim.sf.net/scripts/download_script.php?src_id='.latestsrcid)|q
507 515 else
508 516 " call Decho("exe silent !".g:GetLatestVimScripts_wget." ".g:GetLatestVimScripts_options." ".s:Escape(sname)." ".s:Escape('http://vim.sf.net/scripts/download_script.php?src_id='))
509   - exe "silent !".g:GetLatestVimScripts_wget." ".g:GetLatestVimScripts_options." ".s:Escape(sname)." ".s:Escape('http://vim.sf.net/scripts/download_script.php?src_id=')
  517 + exe "silent !".g:GetLatestVimScripts_wget." ".g:GetLatestVimScripts_options." ".s:Escape(sname)." ".s:Escape('http://vim.sf.net/scripts/download_script.php?src_id=').latestsrcid
510 518 endif
511 519
512 520 " AutoInstall: only if doautoinstall has been requested by the plugin itself
513 521 if doautoinstall
514 522 " call Decho("attempting to do autoinstall: getcwd<".getcwd()."> filereadable(".sname.")=".filereadable(sname))
515 523 if filereadable(sname)
516   - call Decho("exe silent !".g:GetLatestVimScripts_mv." ".s:Escape(sname)." ".s:Escape(s:autoinstall))
  524 +" call Decho("exe silent !".g:GetLatestVimScripts_mv." ".s:Escape(sname)." ".s:Escape(s:autoinstall))
517 525 exe "silent !".g:GetLatestVimScripts_mv." ".s:Escape(sname)." ".s:Escape(s:autoinstall)
518 526 let curdir = escape(substitute(getcwd(),'\','/','ge'),"|[]*'\" #")
519 527 let installdir= curdir."/Installed"
28 runtime/autoload/gnat.vim
@@ -3,12 +3,13 @@
3 3 " Language: Ada (GNAT)
4 4 " $Id$
5 5 " Copyright: Copyright (C) 2006 Martin Krischik
6   -" Maintainer: Martin Krischik
  6 +" Maintainer: Martin Krischi <krischik@users.sourceforge.net>k
  7 +" Ned Okie <nokie@radford.edu>
7 8 " $Author$
8 9 " $Date$
9   -" Version: 4.2
  10 +" Version: 4.6
10 11 " $Revision$
11   -" $HeadURL: https://svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/autoload/gnat.vim $
  12 +" $HeadURL: https://gnuada.svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/autoload/gnat.vim $
12 13 " History: 24.05.2006 MK Unified Headers
13 14 " 16.07.2006 MK Ada-Mode as vim-ball
14 15 " 05.08.2006 MK Add session support
@@ -16,6 +17,7 @@
16 17 " 05.11.2006 MK Bram suggested not to use include protection for
17 18 " autoload
18 19 " 05.11.2006 MK Bram suggested to save on spaces
  20 +" 19.09.2007 NO use project file only when there is a project
19 21 " Help Page: compiler-gnat
20 22 "------------------------------------------------------------------------------
21 23
@@ -71,13 +73,19 @@ function gnat#Set_Project_File (...) dict " {{{1
71 73 execute 'mksession! ' . v:this_session
72 74 endif
73 75
74   - if strlen (self.Project_File) > 0
75   - call ada#Switch_Session (
76   - \ expand('~') . "/vimfiles/session/" .
77   - \ fnamemodify (self.Project_File, ":t:r") . ".vim")
78   - else
79   - call ada#Switch_Session ('')
80   - endif
  76 + "if strlen (self.Project_File) > 0
  77 + "if has("vms")
  78 + "call ada#Switch_Session (
  79 + "\ expand('~')[0:-2] . ".vimfiles.session]gnat_" .
  80 + "\ fnamemodify (self.Project_File, ":t:r") . ".vim")
  81 + "else
  82 + "call ada#Switch_Session (
  83 + "\ expand('~') . "/vimfiles/session/gnat_" .
  84 + "\ fnamemodify (self.Project_File, ":t:r") . ".vim")
  85 + "endif
  86 + "else
  87 + "call ada#Switch_Session ('')
  88 + "endif
81 89
82 90 return
83 91 endfunction gnat#Set_Project_File " }}}1
10 runtime/autoload/gzip.vim
... ... @@ -1,6 +1,6 @@
1 1 " Vim autoload file for editing compressed files.
2 2 " Maintainer: Bram Moolenaar <Bram@vim.org>
3   -" Last Change: 2008 May 29
  3 +" Last Change: 2008 Jul 04
4 4
5 5 " These functions are used by the gzip plugin.
6 6
@@ -153,9 +153,9 @@ fun gzip#write(cmd)
153 153 let nmt = s:tempname(nm)
154 154 if rename(nm, nmt) == 0
155 155 if exists("b:gzip_comp_arg")
156   - call system(a:cmd . " " . b:gzip_comp_arg . " " . s:escape(nmt))
  156 + call system(a:cmd . " " . b:gzip_comp_arg . " -- " . s:escape(nmt))
157 157 else
158   - call system(a:cmd . " " . s:escape(nmt))
  158 + call system(a:cmd . " -- " . s:escape(nmt))
159 159 endif
160 160 call rename(nmt . "." . expand("<afile>:e"), nm)
161 161 endif
@@ -180,10 +180,10 @@ fun gzip#appre(cmd)
180 180 if rename(nm, nmte) == 0
181 181 if &patchmode != "" && getfsize(nm . &patchmode) == -1
182 182 " Create patchmode file by creating the decompressed file new
183   - call system(a:cmd . " -c " . s:escape(nmte) . " > " . s:escape(nmt))
  183 + call system(a:cmd . " -c -- " . s:escape(nmte) . " > " . s:escape(nmt))
184 184 call rename(nmte, nm . &patchmode)
185 185 else
186   - call system(a:cmd . " " . s:escape(nmte))
  186 + call system(a:cmd . " -- " . s:escape(nmte))
187 187 endif
188 188 call rename(nmt, nm)
189 189 endif
895 runtime/autoload/netrw.vim
... ... @@ -1,7 +1,7 @@
1 1 " netrw.vim: Handles file transfer and remote directory listing across
2 2 " AUTOLOAD SECTION
3   -" Date: Jun 12, 2008
4   -" Version: 125
  3 +" Date: Jul 12, 2008
  4 +" Version: 127
5 5 " Maintainer: Charles E Campbell, Jr <NdrOchip@ScampbellPfamily.AbizM-NOSPAM>
6 6 " GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim
7 7 " Copyright: Copyright (C) 1999-2008 Charles E. Campbell, Jr. {{{1
@@ -27,19 +27,13 @@ if !exists("s:NOTE")
27 27 let s:WARNING = 1
28 28 let s:ERROR = 2
29 29 endif
30   -let g:loaded_netrw = "v125"
  30 +let g:loaded_netrw = "v127"
31 31
32 32 " sanity checks
33 33 if v:version < 700
34 34 call netrw#ErrorMsg(s:WARNING,"you need vim version 7.0 or later for version ".g:loaded_netrw." of netrw",1)
35 35 finish
36 36 endif
37   -if !exists("*shellescape")
38   - call netrw#ErrorMsg(s:ERROR,"you need to upgade your vim so that it has shellescape()",64)
39   -endif
40   -if !exists("*fnameescape")
41   - call netrw#ErrorMsg(s:ERROR,"you need to upgade your vim so that it has fnameescape()",65)
42   -endif
43 37
44 38 let s:keepcpo= &cpo
45 39 setlocal cpo&vim
@@ -312,6 +306,9 @@ if !exists("g:netrw_sort_by")
312 306 " alternatives: date size
313 307 let g:netrw_sort_by= "name"
314 308 endif
  309 +if !exists("g:netrw_sort_options")
  310 + let g:netrw_sort_options= ""
  311 +endif
315 312 if !exists("g:netrw_sort_direction")
316 313 " alternative: reverse (z y x ...)
317 314 let g:netrw_sort_direction= "normal"
@@ -415,7 +412,7 @@ fun! s:NetrwOptionSave(vt)
415 412 let {a:vt}netrw_twkeep = &l:tw " textwidth
416 413 let {a:vt}netrw_wigkeep = &l:wig " wildignore
417 414 if has("win32") && !has("win95")
418   - let {a:vt}netrw_swfkeep= &l:swf " swapfile
  415 + let {a:vt}netrw_swfkeep = &l:swf " swapfile
419 416 endif
420 417 if &go =~ 'a' | silent! let {a:vt}netrw_regstar = @* | endif
421 418 silent! let {a:vt}netrw_regslash= @/
@@ -428,7 +425,7 @@ endfun
428 425 fun! s:NetrwOptionRestore(vt)
429 426 " call Dfunc("s:NetrwOptionRestore(vt<".a:vt.">) win#".winnr()." buf#".bufnr("%"))
430 427 if !exists("{a:vt}netrw_optionsave")
431   -" call Decho("ro=".&ro." ma=".&ma." mod=".&mod." wrap=".&wrap)
  428 +" call Decho("ro=".&l:ro." ma=".&l:ma." mod=".&l:mod." wrap=".&l:wrap)
432 429 " call Dret("s:NetrwOptionRestore : ".a:vt."netrw_optionsave doesn't exist")
433 430 return
434 431 endif
@@ -492,7 +489,7 @@ fun! s:NetrwOptionRestore(vt)
492 489
493 490 " call Decho("g:netrw_keepdir=".g:netrw_keepdir.": getcwd<".getcwd()."> acd=".&acd)
494 491 " call Decho("fo=".&fo.(exists("&acd")? " acd=".&acd : " acd doesn't exist"))
495   -" call Decho("ro=".&ro." ma=".&ma." mod=".&mod." wrap=".&wrap)
  492 +" call Decho("ro=".&l:ro." ma=".&l:ma." mod=".&l:mod." wrap=".&l:wrap)
496 493 " call Dret("s:NetrwOptionRestore : win#".winnr()." buf#".bufnr("%"))
497 494 endfun
498 495
@@ -536,12 +533,12 @@ fun! netrw#NetrwClean(sys)
536 533 for dir in split(&rtp,',')
537 534 if filereadable(dir."/plugin/netrwPlugin.vim")
538 535 " call Decho("removing netrw-related files from ".dir)
539   - if s:System("delete",dir."/plugin/netrwPlugin.vim") |call netrw#ErrorMsg(1,"unable to remove ".dir."/plugin/netrwPlugin.vim",55) |endif
540   - if s:System("delete",dir."/autoload/netrwFileHandlers.vim")|call netrw#ErrorMsg(1,"unable to remove ".dir."/autoload/netrwFileHandlers.vim",55)|endif
541   - if s:System("delete",dir."/autoload/netrwSettings.vim") |call netrw#ErrorMsg(1,"unable to remove ".dir."/autoload/netrwSettings.vim",55) |endif
542   - if s:System("delete",dir."/autoload/netrw.vim") |call netrw#ErrorMsg(1,"unable to remove ".dir."/autoload/netrw.vim",55) |endif
543   - if s:System("delete",dir."/syntax/netrw.vim") |call netrw#ErrorMsg(1,"unable to remove ".dir."/syntax/netrw.vim",55) |endif
544   - if s:System("delete",dir."/syntax/netrwlist.vim") |call netrw#ErrorMsg(1,"unable to remove ".dir."/syntax/netrwlist.vim",55) |endif
  536 + if s:NetrwDelete(dir."/plugin/netrwPlugin.vim") |call netrw#ErrorMsg(1,"unable to remove ".dir."/plugin/netrwPlugin.vim",55) |endif
  537 + if s:NetrwDelete(dir."/autoload/netrwFileHandlers.vim")|call netrw#ErrorMsg(1,"unable to remove ".dir."/autoload/netrwFileHandlers.vim",55)|endif
  538 + if s:NetrwDelete(dir."/autoload/netrwSettings.vim") |call netrw#ErrorMsg(1,"unable to remove ".dir."/autoload/netrwSettings.vim",55) |endif
  539 + if s:NetrwDelete(dir."/autoload/netrw.vim") |call netrw#ErrorMsg(1,"unable to remove ".dir."/autoload/netrw.vim",55) |endif
  540 + if s:NetrwDelete(dir."/syntax/netrw.vim") |call netrw#ErrorMsg(1,"unable to remove ".dir."/syntax/netrw.vim",55) |endif
  541 + if s:NetrwDelete(dir."/syntax/netrwlist.vim") |call netrw#ErrorMsg(1,"unable to remove ".dir."/syntax/netrwlist.vim",55) |endif
545 542 let diddir= dir
546 543 let diddel= diddel + 1
547 544 if !a:sys|break|endif
@@ -704,8 +701,8 @@ fun! netrw#NetRead(mode,...)
704 701 let uid_machine = g:netrw_machine
705 702 endif
706 703 endif
707   -" call Decho("executing: !".g:netrw_rcp_cmd." ".s:netrw_rcpmode." ".shellescape(uid_machine.":".escape(b:netrw_fname,' ?&;')." ".tmpfile)
708   - exe s:netrw_silentxfer."!".g:netrw_rcp_cmd." ".s:netrw_rcpmode." ".shellescape(uid_machine.":".escape(b:netrw_fname,' ?&;')." ".tmpfile)
  704 +" call Decho("executing: !".g:netrw_rcp_cmd." ".s:netrw_rcpmode." ".shellescape(uid_machine.":".b:netrw_fname,1)." ".shellescape(tmpfile,1))
  705 + exe s:netrw_silentxfer."!".g:netrw_rcp_cmd." ".s:netrw_rcpmode." ".shellescape(uid_machine.":".b:netrw_fname,1)." ".shellescape(tmpfile,1))
709 706 let result = s:NetrwGetFile(readcmd, tmpfile, b:netrw_method)
710 707 let b:netrw_lastfile = choice
711 708
@@ -725,18 +722,18 @@ fun! netrw#NetRead(mode,...)
725 722 exe "put ='".'get \"'.netrw_fname.'\" '.tmpfile."'"
726 723 " call Decho("filter input: ".getline('.'))
727 724 if exists("g:netrw_port") && g:netrw_port != ""
728   -" call Decho("executing: %!".g:netrw_ftp_cmd." -i ".g:netrw_machine." ".g:netrw_port)
729   - exe s:netrw_silentxfer."%!".g:netrw_ftp_cmd." -i ".g:netrw_machine." ".g:netrw_port
  725 +" call Decho("executing: %!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine." ".g:netrw_port,1))
  726 + exe s:netrw_silentxfer."%!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine." ".g:netrw_port,1)
730 727 else
731   -" call Decho("executing: %!".g:netrw_ftp_cmd." -i ".g:netrw_machine)
732   - exe s:netrw_silentxfer."%!".g:netrw_ftp_cmd." -i ".g:netrw_machine
  728 +" call Decho("executing: %!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine,1))
  729 + exe s:netrw_silentxfer."%!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine,1)
733 730 endif
734 731 " If the result of the ftp operation isn't blank, show an error message (tnx to Doug Claar)
735 732 if getline(1) !~ "^$" && !exists("g:netrw_quiet") && getline(1) !~ '^Trying '
736   - let debugkeep= &debug
  733 + let debugkeep = &debug
737 734 setlocal debug=msg
738 735 call netrw#ErrorMsg(s:ERROR,getline(1),4)
739   - let &debug= debugkeep
  736 + let &debug = debugkeep
740 737 endif
741 738 call s:SaveBufVars()|bd!|call s:RestoreBufVars()
742 739 let result = s:NetrwGetFile(readcmd, tmpfile, b:netrw_method)
@@ -806,8 +803,8 @@ fun! netrw#NetRead(mode,...)
806 803 else
807 804 let useport= ""
808 805 endif
809   -" call Decho("exe s:netrw_silentxfer.!".g:netrw_scp_cmd.useport." ".shellescape(g:netrw_machine.":".escape(b:netrw_fname,g:netrw_fname_escape))." ".tmpfile)
810   - exe s:netrw_silentxfer."!".g:netrw_scp_cmd.useport." ".shellescape(g:netrw_machine.":".escape(b:netrw_fname,g:netrw_fname_escape))." ".tmpfile
  806 +" call Decho("exe s:netrw_silentxfer.!".g:netrw_scp_cmd.useport." ".shellescape(g:netrw_machine.":".b:netrw_fname,1)." ".shellescape(tmpfile,1))
  807 + exe s:netrw_silentxfer."!".g:netrw_scp_cmd.useport." ".shellescape(g:netrw_machine.":".b:netrw_fname,1)." ".shellescape(tmpfile,1)
811 808 let result = s:NetrwGetFile(readcmd, tmpfile, b:netrw_method)
812 809 let b:netrw_lastfile = choice
813 810
@@ -823,23 +820,22 @@ fun! netrw#NetRead(mode,...)
823 820 return
824 821 endif
825 822
826   - let netrw_fname= escape(b:netrw_fname,g:netrw_fname_escape)
827 823 if match(b:netrw_fname,"#") == -1
828   - " simple wget
829   -" call Decho('using simple wget (# not in b:netrw_fname<'.b:netrw_fname.">)")
830   -" call Decho("exe ".s:netrw_silentxfer."!".g:netrw_http_cmd." ".shellescape(tmpfile)." ".shellescape("http://".g:netrw_machine.netrw_fname))
831   - exe s:netrw_silentxfer."!".g:netrw_http_cmd." ".shellescape(tmpfile)." ".shellescape("http://".g:netrw_machine.netrw_fname)
  824 + " using g:netrw_http_cmd (usually wget or curl)
  825 +" call Decho('using '.g:netrw_http_cmd.' (# not in b:netrw_fname<'.b:netrw_fname.">)")
  826 +" call Decho("exe ".s:netrw_silentxfer."!".g:netrw_http_cmd." ".shellescape(tmpfile,1)." ".shellescape("http://".g:netrw_machine.netrw_fname,1))
  827 + exe s:netrw_silentxfer."!".g:netrw_http_cmd." ".shellescape(tmpfile,1)." ".shellescape("http://".g:netrw_machine.b:netrw_fname,1)
832 828 let result = s:NetrwGetFile(readcmd, tmpfile, b:netrw_method)
833 829
834 830 else
835   - " wget plus a jump to an in-page marker (ie. http://abc/def.html#aMarker)
  831 + " wget/curl plus a jump to an in-page marker (ie. http://abc/def.html#aMarker)
836 832 " call Decho(("wget/curl plus jump (# in b:netrw_fname<".b:netrw_fname.">)")
837   - let netrw_html= substitute(netrw_fname,"#.*$","","")
838   - let netrw_tag = substitute(netrw_fname,"^.*#","","")
  833 + let netrw_html= substitute(b:netrw_fname,"#.*$","","")
  834 + let netrw_tag = substitute(b:netrw_fname,"^.*#","","")
839 835 " call Decho("netrw_html<".netrw_html.">")
840 836 " call Decho("netrw_tag <".netrw_tag.">")
841   -" call Decho("exe ".s:netrw_silentxfer."!".g:netrw_http_cmd." ".shellescape(tmpfile)." ".shellescape("http://".g:netrw_machine.netrw_html))
842   - exe s:netrw_silentxfer."!".g:netrw_http_cmd." ".shellescape(tmpfile)." ".shellescape("http://".g:netrw_machine.netrw_html)
  837 +" call Decho("exe ".s:netrw_silentxfer."!".g:netrw_http_cmd." ".shellescape(tmpfile,1)." ".shellescape("http://".g:netrw_machine.netrw_html,1))
  838 + exe s:netrw_silentxfer."!".g:netrw_http_cmd." ".shellescape(tmpfile,1)." ".shellescape("http://".g:netrw_machine.netrw_html,1)
843 839 let result = s:NetrwGetFile(readcmd, tmpfile, b:netrw_method)
844 840 " call Decho('<\s*a\s*name=\s*"'.netrw_tag.'"/')
845 841 exe 'norm! 1G/<\s*a\s*name=\s*"'.netrw_tag.'"/'."\<CR>"
@@ -877,9 +873,8 @@ fun! netrw#NetRead(mode,...)
877 873 " rsync: NetRead Method #7 {{{3
878 874 elseif b:netrw_method == 7
879 875 " call Decho("read via rsync (method #7)")
880   - let netrw_fname= escape(b:netrw_fname,g:netrw_fname_escape)
881   -" call Decho("exe ".s:netrw_silentxfer."!".g:netrw_rsync_cmd." ".shellescape(g:netrw_machine.":".netrw_fname)." ".tmpfile)
882   - exe s:netrw_silentxfer."!".g:netrw_rsync_cmd." ".shellescape(g:netrw_machine.":".netrw_fname)." ".tmpfile
  876 +" call Decho("exe ".s:netrw_silentxfer."!".g:netrw_rsync_cmd." ".shellescape(g:netrw_machine.":".b:netrw_fname,1)." ".shellescape(tmpfile,1))
  877 + exe s:netrw_silentxfer."!".g:netrw_rsync_cmd." ".shellescape(g:netrw_machine.":".b:netrw_fname,1)." ".shellescape(tmpfile,1)
883 878 let result = s:NetrwGetFile(readcmd,tmpfile, b:netrw_method)
884 879 let b:netrw_lastfile = choice
885 880
@@ -888,7 +883,6 @@ fun! netrw#NetRead(mode,...)
888 883 " fetch://[user@]host[:http]/path
889 884 elseif b:netrw_method == 8
890 885 " call Decho("read via fetch (method #8)")
891   - let netrw_fname= escape(b:netrw_fname,g:netrw_fname_escape)
892 886 if g:netrw_fetch_cmd == ""
893 887 if !exists("g:netrw_quiet")
894 888 call netrw#ErrorMsg(s:ERROR,"fetch command not available",7)
@@ -903,11 +897,11 @@ fun! netrw#NetRead(mode,...)
903 897 " call Decho("read via fetch for ".netrw_option)
904 898
905 899 if exists("g:netrw_uid") && g:netrw_uid != "" && exists("s:netrw_passwd") && s:netrw_passwd != ""
906   -" call Decho("exe ".s:netrw_silentxfer."!".g:netrw_fetch_cmd." ".tmpfile." ".shellescape(netrw_option."://".g:netrw_uid.':'.s:netrw_passwd.'@'.g:netrw_machine."/".netrw_fname))
907   - exe s:netrw_silentxfer."!".g:netrw_fetch_cmd." ".tmpfile." ".shellescape(netrw_option."://".g:netrw_uid.':'.s:netrw_passwd.'@'.g:netrw_machine."/".netrw_fname)
  900 +" call Decho("exe ".s:netrw_silentxfer."!".g:netrw_fetch_cmd." ".shellescape(tmpfile,1)." ".shellescape(netrw_option."://".g:netrw_uid.':'.s:netrw_passwd.'@'.g:netrw_machine."/".b:netrw_fname,1))
  901 + exe s:netrw_silentxfer."!".g:netrw_fetch_cmd." ".shellescape(tmpfile,1)." ".shellescape(netrw_option."://".g:netrw_uid.':'.s:netrw_passwd.'@'.g:netrw_machine."/".b:netrw_fname,1)
908 902 else
909   -" call Decho("exe ".s:netrw_silentxfer."!".g:netrw_fetch_cmd." ".tmpfile." ".shellescape(netrw_option."://".g:netrw_machine."/".netrw_fname))
910   - exe s:netrw_silentxfer."!".g:netrw_fetch_cmd." ".tmpfile." ".shellescape(netrw_option."://".g:netrw_machine."/".netrw_fname)
  903 +" call Decho("exe ".s:netrw_silentxfer."!".g:netrw_fetch_cmd." ".shellescape(tmpfile,1)." ".shellescape(netrw_option."://".g:netrw_machine."/".b:netrw_fname,1))
  904 + exe s:netrw_silentxfer."!".g:netrw_fetch_cmd." ".shellescape(tmpfile,1)." ".shellescape(netrw_option."://".g:netrw_machine."/".b:netrw_fname,1)
911 905 endif
912 906
913 907 let result = s:NetrwGetFile(readcmd,tmpfile, b:netrw_method)
@@ -918,9 +912,8 @@ fun! netrw#NetRead(mode,...)
918 912 " sftp: NetRead Method #9 {{{3
919 913 elseif b:netrw_method == 9
920 914 " call Decho("read via sftp (method #9)")
921   - let netrw_fname= escape(b:netrw_fname,g:netrw_fname_escape)
922   -" call Decho("exe ".s:netrw_silentxfer."!".g:netrw_sftp_cmd." ".shellescape(g:netrw_machine.":".netrw_fname)." ".tmpfile)
923   - exe s:netrw_silentxfer."!".g:netrw_sftp_cmd." ".shellescape(g:netrw_machine.":".netrw_fname)." ".tmpfile
  915 +" call Decho("exe ".s:netrw_silentxfer."!".g:netrw_sftp_cmd." ".shellescape(g:netrw_machine.":".b:netrw_fname,1)." ".tmpfile)
  916 + exe s:netrw_silentxfer."!".g:netrw_sftp_cmd." ".shellescape(g:netrw_machine.":".b:netrw_fname,1)." ".tmpfile
924 917 let result = s:NetrwGetFile(readcmd, tmpfile, b:netrw_method)
925 918 let b:netrw_lastfile = choice
926 919
@@ -939,7 +932,7 @@ fun! netrw#NetRead(mode,...)
939 932 endif
940 933 if s:FileReadable(tmpfile) && tmpfile !~ '.tar.bz2$' && tmpfile !~ '.tar.gz$' && tmpfile !~ '.zip' && tmpfile !~ '.tar' && readcmd != 't'
941 934 " call Decho("cleanup by deleting tmpfile<".tmpfile.">")
942   - call s:System("delete",fnameescape(tmpfile))
  935 + call s:NetrwDelete(fnameescape(tmpfile))
943 936 endif
944 937 call s:NetrwOptionRestore("w:")
945 938
@@ -975,17 +968,17 @@ fun! netrw#NetWrite(...) range
975 968 " For binary writes, always write entire file.
976 969 " (line numbers don't really make sense for that).
977 970 " Also supports the writing of tar and zip files.
978   -" call Decho("(write entire file) silent exe w! ".v:cmdarg." ".tmpfile)
979   - silent exe "w! ".v:cmdarg." ".tmpfile
  971 +" call Decho("(write entire file) silent exe w! ".fnameescape(v:cmdarg)." ".fnameescape(tmpfile))
  972 + silent exe "w! ".fnameescape(v:cmdarg)." ".fnameescape(tmpfile)
980 973 elseif g:netrw_cygwin
981 974 " write (selected portion of) file to temporary
982 975 let cygtmpfile= substitute(tmpfile,'/cygdrive/\(.\)','\1:','')
983   -" call Decho("(write selected portion) silent exe ".a:firstline."," . a:lastline . "w! ".v:cmdarg." ".cygtmpfile)
984   - silent exe a:firstline."," . a:lastline . "w! ".v:cmdarg." ".cygtmpfile
  976 +" call Decho("(write selected portion) silent exe ".a:firstline."," . a:lastline . "w! ".fnameescape(v:cmdarg)." ".fnameescape(cygtmpfile))
  977 + silent exe a:firstline."," . a:lastline . "w! ".fnameescape(v:cmdarg)." ".fnameescape(cygtmpfile)
985 978 else
986 979 " write (selected portion of) file to temporary
987   -" call Decho("(write selected portion) silent exe ".a:firstline."," . a:lastline . "w! ".v:cmdarg." ".tmpfile)
988   - silent exe a:firstline."," . a:lastline . "w! ".v:cmdarg." ".tmpfile
  980 +" call Decho("(write selected portion) silent exe ".a:firstline."," . a:lastline . "w! ".fnameescape(v:cmdarg)." ".fnameescape(tmpfile))
  981 + silent exe a:firstline."," . a:lastline . "w! ".fnameescape(v:cmdarg)." ".fnameescape(tmpfile)
989 982 endif
990 983
991 984 if curbufname == ""
@@ -1079,9 +1072,8 @@ fun! netrw#NetWrite(...) range
1079 1072 let uid_machine = g:netrw_machine
1080 1073 endif
1081 1074 endif
1082   - let netrw_fname= escape(b:netrw_fname,g:netrw_fname_escape)
1083   -" call Decho("executing: !".g:netrw_rcp_cmd." ".s:netrw_rcpmode." ".shellescape(tmpfile)." ".shellescape(uid_machine.":".netrw_fname))
1084   - exe s:netrw_silentxfer."!".g:netrw_rcp_cmd." ".s:netrw_rcpmode." ".shellescape(tmpfile)." ".shellescape(uid_machine.":".netrw_fname)
  1075 +" call Decho("executing: !".g:netrw_rcp_cmd." ".s:netrw_rcpmode." ".shellescape(tmpfile,1)." ".shellescape(uid_machine.":".b:netrw_fname,1))
  1076 + exe s:netrw_silentxfer."!".g:netrw_rcp_cmd." ".s:netrw_rcpmode." ".shellescape(tmpfile,1)." ".shellescape(uid_machine.":".b:netrw_fname,1)
1085 1077 let b:netrw_lastfile = choice
1086 1078
1087 1079 ".........................................
@@ -1101,12 +1093,12 @@ fun! netrw#NetWrite(...) range
1101 1093 exe "put ='".'put \"'.tmpfile.'\" \"'.netrw_fname.'\"'."'"
1102 1094 " call Decho("filter input: ".getline('.'))
1103 1095 if exists("g:netrw_port") && g:netrw_port != ""
1104   -" call Decho("executing: %!".g:netrw_ftp_cmd." -i ".g:netrw_machine." ".g:netrw_port)
1105   - exe s:netrw_silentxfer."%!".g:netrw_ftp_cmd." -i ".g:netrw_machine." ".g:netrw_port
  1096 +" call Decho("executing: %!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine,1)." ".shellescape(g:netrw_port,1))
  1097 + exe s:netrw_silentxfer."%!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine,1)." ".shellescape(g:netrw_port,1)
1106 1098 else
1107 1099 " call Decho("filter input window#".winnr())
1108   -" call Decho("executing: %!".g:netrw_ftp_cmd." -i ".g:netrw_machine)
1109   - exe s:netrw_silentxfer."%!".g:netrw_ftp_cmd." -i ".g:netrw_machine
  1100 +" call Decho("executing: %!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine,1))
  1101 + exe s:netrw_silentxfer."%!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine,1)
1110 1102 endif
1111 1103 " If the result of the ftp operation isn't blank, show an error message (tnx to Doug Claar)
1112 1104 if getline(1) !~ "^$"
@@ -1167,14 +1159,13 @@ fun! netrw#NetWrite(...) range
1167 1159 " scp: NetWrite Method #4 {{{4
1168 1160 elseif b:netrw_method == 4
1169 1161 " call Decho("write via scp (method #4)")
1170   - let netrw_fname= escape(b:netrw_fname,g:netrw_fname_escape)
1171 1162 if exists("g:netrw_port") && g:netrw_port != ""
1172   - let useport= " ".g:netrw_scpport." ".g:netrw_port
  1163 + let useport= " ".g:netrw_scpport." ".fnameescape(g:netrw_port)
1173 1164 else
1174 1165 let useport= ""
1175 1166 endif
1176   -" call Decho("exe ".s:netrw_silentxfer."!".g:netrw_scp_cmd.useport." ".shellescape(tmpfile)." ".shellescape(g:netrw_machine.":".netrw_fname))
1177   - exe s:netrw_silentxfer."!".g:netrw_scp_cmd.useport." ".shellescape(tmpfile)." ".shellescape(g:netrw_machine.":".netrw_fname)
  1167 +" call Decho("exe ".s:netrw_silentxfer."!".g:netrw_scp_cmd.useport." ".shellescape(tmpfile,1)." ".shellescape(g:netrw_machine.":".b:netrw_fname,1))
  1168 + exe s:netrw_silentxfer."!".g:netrw_scp_cmd.useport." ".shellescape(tmpfile,1)." ".shellescape(g:netrw_machine.":".b:netrw_fname,1)
1178 1169 let b:netrw_lastfile = choice
1179 1170
1180 1171 ".........................................
@@ -1215,9 +1206,8 @@ fun! netrw#NetWrite(...) range
1215 1206 " rsync: NetWrite Method #7 {{{4
1216 1207 elseif b:netrw_method == 7
1217 1208 " call Decho("write via rsync (method #7)")
1218   - let netrw_fname= escape(b:netrw_fname,g:netrw_fname_escape)
1219   -" call Decho("executing: !".g:netrw_rsync_cmd." ".tmpfile." ".g:netrw_machine.":".netrw_fname)
1220   - exe s:netrw_silentxfer."!".g:netrw_rsync_cmd." ".tmpfile." ".g:netrw_machine.":".netrw_fname
  1209 +" call Decho("executing: !".g:netrw_rsync_cmd." ".shellescape(tmpfile,1)." ".shellescape(g:netrw_machine.":".b:netrw_fname,1))
  1210 + exe s:netrw_silentxfer."!".g:netrw_rsync_cmd." ".shellescape(tmpfile,1)." ".shellescape(g:netrw_machine.":".b:netrw_fname,1)
1221 1211 let b:netrw_lastfile = choice
1222 1212
1223 1213 ".........................................
@@ -1235,8 +1225,8 @@ fun! netrw#NetWrite(...) range
1235 1225 put ='put \"'.escape(tmpfile,'\').'\" '.netrw_fname
1236 1226 " call Decho("filter input: ".getline('.'))
1237 1227 norm! 1Gdd
1238   -" call Decho("executing: %!".g:netrw_sftp_cmd.' '.uid_machine)
1239   - exe s:netrw_silentxfer."%!".g:netrw_sftp_cmd.' '.uid_machine
  1228 +" call Decho("executing: %!".g:netrw_sftp_cmd.' '.shellescape(uid_machine,1))
  1229 + exe s:netrw_silentxfer."%!".g:netrw_sftp_cmd.' '.shellescape(uid_machine,1)
1240 1230 bd!
1241 1231 let b:netrw_lastfile= choice
1242 1232
@@ -1251,7 +1241,7 @@ fun! netrw#NetWrite(...) range
1251 1241 " call Decho("cleanup")
1252 1242 if s:FileReadable(tmpfile)
1253 1243 " call Decho("tmpfile<".tmpfile."> readable, will now delete it")
1254   - call s:System("delete",tmpfile)
  1244 + call s:NetrwDelete(tmpfile)
1255 1245 endif
1256 1246 call s:NetrwOptionRestore("w:")
1257 1247
@@ -1312,7 +1302,7 @@ fun! s:NetrwGetFile(readcmd, tfile, method)
1312 1302
1313 1303 " readcmd=='t': simply do nothing
1314 1304 if a:readcmd == 't'
1315   -" call Decho("ro=".&ro." ma=".&ma." mod=".&mod." wrap=".&wrap)
  1305 +" call Decho("ro=".&l:ro." ma=".&l:ma." mod=".&l:mod." wrap=".&l:wrap)
1316 1306 " call Dret("NetrwGetFile : skip read of <".a:tfile.">")
1317 1307 return
1318 1308 endif
@@ -1336,8 +1326,8 @@ fun! s:NetrwGetFile(readcmd, tfile, method)
1336 1326 else
1337 1327 let tfile= a:tfile
1338 1328 endif
1339   -" " call Decho("exe silent! keepalt file ".tfile)
1340   - exe "silent! keepalt file ".tfile
  1329 +" call Decho("exe silent! keepalt file ".fnameescape(tfile))
  1330 + exe "silent! keepalt file ".fnameescape(tfile)
1341 1331
1342 1332 " edit temporary file (ie. read the temporary file in)
1343 1333 if rfile =~ '\.zip$'
@@ -1358,8 +1348,8 @@ fun! s:NetrwGetFile(readcmd, tfile, method)
1358 1348 endif
1359 1349
1360 1350 " rename buffer back to remote filename
1361   -" call Decho("exe silent! keepalt file ".escape(rfile,' '))
1362   - exe "silent! keepalt file ".escape(rfile,' ')
  1351 +" call Decho("exe silent! keepalt file ".fnameescape(rfile))
  1352 + exe "silent! keepalt file ".fnameescape(rfile)
1363 1353 if a:method == 5
1364 1354 set ft=html
1365 1355 else
@@ -1374,14 +1364,14 @@ fun! s:NetrwGetFile(readcmd, tfile, method)
1374 1364 " call Decho("read file<".a:tfile."> after current line")
1375 1365 let curline = line(".")
1376 1366 let lastline= line("$")
1377   -" call Decho("exe<".a:readcmd." ".v:cmdarg." ".a:tfile."> line#".curline)
1378   - exe a:readcmd." ".v:cmdarg." ".a:tfile
  1367 +" call Decho("exe<".a:readcmd." ".fnameescape(v:cmdarg)." ".fnameescape(a:tfile)."> line#".curline)
  1368 + exe a:readcmd." ".fnameescape(v:cmdarg)." ".fnameescape(a:tfile)
1379 1369 let line1= curline + 1
1380 1370 let line2= line("$") - lastline + 1
1381 1371
1382 1372 else
1383 1373 " not readable
1384   -" call Decho("ro=".&ro." ma=".&ma." mod=".&mod." wrap=".&wrap)
  1374 +" call Decho("ro=".&l:ro." ma=".&l:ma." mod=".&l:mod." wrap=".&l:wrap)
1385 1375 " call Decho("tfile<".a:tfile."> not readable")
1386 1376 call netrw#ErrorMsg(s:WARNING,"file <".a:tfile."> not readable",9)
1387 1377 " call Dret("NetrwGetFile : tfile<".a:tfile."> not readable")
@@ -1406,7 +1396,7 @@ fun! s:NetrwGetFile(readcmd, tfile, method)
1406 1396 " make sure file is being displayed
1407 1397 " redraw!
1408 1398
1409   -" call Decho("ro=".&ro." ma=".&ma." mod=".&mod." wrap=".&wrap)
  1399 +" call Decho("ro=".&l:ro." ma=".&l:ma." mod=".&l:mod." wrap=".&l:wrap)
1410 1400 " call Dret("NetrwGetFile")
1411 1401 endfun
1412 1402
@@ -1704,6 +1694,7 @@ fun! s:BrowserMaps(islocal)
1704 1694 nnoremap <buffer> <silent> U :<c-u>call <SID>NetrwBookmarkDir(5,expand("%"))<cr>
1705 1695 nnoremap <buffer> <silent> v :call <SID>NetrwSplit(5)<cr>
1706 1696 nnoremap <buffer> <silent> x :call netrw#NetrwBrowseX(<SID>NetrwBrowseChgDir(1,<SID>NetrwGetWord(),0),0)"<cr>
  1697 + nnoremap <buffer> <silent> % :call <SID>NetrwOpenFile(1)<cr>
1707 1698 if !hasmapto('<Plug>NetrwHideEdit')
1708 1699 nmap <buffer> <unique> <c-h> <Plug>NetrwHideEdit
1709 1700 endif
@@ -1775,6 +1766,7 @@ fun! s:BrowserMaps(islocal)
1775 1766 nnoremap <buffer> <silent> U :<c-u>call <SID>NetrwBookmarkDir(5,b:netrw_curdir)<cr>
1776 1767 nnoremap <buffer> <silent> v :call <SID>NetrwSplit(2)<cr>
1777 1768 nnoremap <buffer> <silent> x :call netrw#NetrwBrowseX(<SID>NetrwBrowseChgDir(0,<SID>NetrwGetWord()),1)<cr>
  1769 + nnoremap <buffer> <silent> % :call <SID>NetrwOpenFile(0)<cr>
1778 1770 if !hasmapto('<Plug>NetrwHideEdit')
1779 1771 nmap <buffer> <c-h> <Plug>NetrwHideEdit
1780 1772 endif
@@ -1797,7 +1789,7 @@ fun! s:BrowserMaps(islocal)
1797 1789 exe 'vnoremap <buffer> <silent> D :call <SID>NetrwRemoteRm("'.s:user.s:machine.'","'.s:path.'")<cr>'
1798 1790 exe 'nnoremap <buffer> <silent> R :call <SID>NetrwRemoteRename("'.s:user.s:machine.'","'.s:path.'")<cr>'
1799 1791 exe 'vnoremap <buffer> <silent> R :call <SID>NetrwRemoteRename("'.s:user.s:machine.'","'.s:path.'")<cr>'
1800   - nnoremap <buffer> <F1> :he netrw-browse-cmds<cr>
  1792 + nnoremap <buffer> <F1> :he netrw-quickhelp<cr>
1801 1793 endif
1802 1794 call s:SetRexDir(a:islocal,b:netrw_curdir)
1803 1795 " call Dret("s:BrowserMaps")
@@ -1921,8 +1913,8 @@ fun! s:NetrwBookmarkDir(chg,curdir)
1921 1913 setlocal nomod
1922 1914 " call Decho("setlocal nomod")
1923 1915 endif
1924   -" call Decho("exe e! ".g:NETRW_DIRHIST_{g:NETRW_DIRHIST_CNT})
1925   - exe "e! ".g:NETRW_DIRHIST_{g:NETRW_DIRHIST_CNT}
  1916 +" " call Decho("exe e! ".fnameescape(g:NETRW_DIRHIST_{g:NETRW_DIRHIST_CNT}))
  1917 + exe "e! ".fnameescape(g:NETRW_DIRHIST_{g:NETRW_DIRHIST_CNT})
1926