Permalink
Browse files

updated for version 7.2a

  • Loading branch information...
1 parent 490fa97 commit efe58cdf912f930db0baa9e9c403c6c989e57671 vimboss committed Jun 24, 2008
Showing with 31,846 additions and 15,114 deletions.
  1. +5,107 −2,753 runtime/autoload/netrw.vim
  2. +30 −8 runtime/autoload/netrwSettings.vim
  3. +0 −1 runtime/autoload/xml/html40s.vim
  4. +0 −1 runtime/autoload/xml/html40t.vim
  5. +0 −1 runtime/autoload/xml/xhtml11.vim
  6. +20 −11 runtime/autoload/zip.vim
  7. +1 −1 runtime/compiler/eruby.vim
  8. +2 −2 runtime/compiler/gcc.vim
  9. +17 −11 runtime/doc/autocmd.txt
  10. +83 −49 runtime/doc/change.txt
  11. +1 −1 runtime/doc/debug.txt
  12. +1 −1 runtime/doc/diff.txt
  13. +588 −233 runtime/doc/eval.txt
  14. +1 −1 runtime/doc/fold.txt
  15. +2 −2 runtime/doc/gui_x11.txt
  16. +2 −2 runtime/doc/help.txt
  17. +1 −1 runtime/doc/if_cscop.txt
  18. +1 −1 runtime/doc/if_ruby.txt
  19. +1 −1 runtime/doc/if_sniff.txt
  20. +1 −1 runtime/doc/if_tcl.txt
  21. +7 −5 runtime/doc/mbyte.txt
  22. +16 −11 runtime/doc/motion.txt
  23. +77 −39 runtime/doc/options.txt
  24. +1 −1 runtime/doc/os_390.txt
  25. +1 −1 runtime/doc/os_mac.txt
  26. +1 −1 runtime/doc/os_msdos.txt
  27. +1,870 −972 runtime/doc/pi_netrw.txt
  28. +8 −1 runtime/doc/pi_paren.txt
  29. +1 −1 runtime/doc/quotes.txt
  30. +1 −1 runtime/doc/recover.txt
  31. +1 −1 runtime/doc/rileft.txt
  32. +1 −1 runtime/doc/russian.txt
  33. +1 −1 runtime/doc/sign.txt
  34. +266 −124 runtime/doc/tags
  35. +9 −4 runtime/doc/term.txt
  36. +1 −1 runtime/doc/tips.txt
  37. +1 −1 runtime/doc/undo.txt
  38. +1 −1 runtime/doc/usr_10.txt
  39. +1 −1 runtime/doc/usr_21.txt
  40. +1 −1 runtime/doc/usr_24.txt
  41. +1 −1 runtime/doc/usr_25.txt
  42. +1 −1 runtime/doc/usr_26.txt
  43. +3 −3 runtime/doc/usr_29.txt
  44. +1 −1 runtime/doc/usr_31.txt
  45. +1 −1 runtime/doc/usr_32.txt
  46. +1 −1 runtime/doc/usr_toc.txt
  47. +1 −1 runtime/doc/version6.txt
  48. +5 −1 runtime/doc/vimtutor.man
  49. +6 −1 runtime/ftplugin/c.vim
  50. +2 −2 runtime/ftplugin/changelog.vim
  51. +18 −0 runtime/ftplugin/hostconf.vim
  52. +2 −2 runtime/ftplugin/lua.vim
  53. +89 −0 runtime/ftplugin/pdf.vim
  54. +5 −1 runtime/ftplugin/perl.vim
  55. +25 −0 runtime/ftplugin/reva.vim
  56. +1 −1 runtime/ftplugin/ruby.vim
  57. +4 −4 runtime/indent/cmake.vim
  58. +17 −0 runtime/indent/dtrace.vim
  59. +1 −1 runtime/indent/ruby.vim
  60. +68 −0 runtime/keymap/croatian_utf-8.vim
  61. +457 −0 runtime/lang/menu_eo.utf-8.vim
  62. +3 −0 runtime/lang/menu_eo_xx.utf-8.vim
  63. +3 −0 runtime/lang/menu_fi.utf-8.vim
  64. +3 −0 runtime/lang/menu_finnish_finland.1252.vim
  65. +17 −15 runtime/macros/matchit.txt
  66. +3 −3 runtime/syntax/2html.vim
  67. +10 −3 runtime/syntax/colortest.vim
  68. +3 −3 runtime/syntax/def.vim
  69. +150 −0 runtime/syntax/dtrace.vim
  70. +180 −175 runtime/syntax/erlang.vim
  71. +1 −1 runtime/syntax/eruby.vim
  72. +22 −16 runtime/syntax/esterel.vim
  73. +43 −23 runtime/syntax/fvwm.vim
  74. +2 −2 runtime/syntax/indent.vim
  75. +6 −1 runtime/syntax/java.vim
  76. +2 −2 runtime/syntax/man.vim
  77. +2 −2 runtime/syntax/mplayerconf.vim
  78. +167 −34 runtime/syntax/muttrc.vim
  79. +21 −9 runtime/syntax/po.vim
  80. +2 −2 runtime/syntax/readline.vim
  81. +3 −2 runtime/syntax/rhelp.vim
  82. +602 −597 runtime/syntax/sqlanywhere.vim
  83. +2 −2 runtime/syntax/sudoers.vim
  84. +3 −3 runtime/syntax/tpp.vim
  85. +19 −12 runtime/syntax/verilogams.vim
  86. +29 −0 runtime/syntax/xbl.vim
  87. +10 −4 runtime/syntax/xpm.vim
  88. +24 −0 runtime/tutor/README.el.cp737.txt
  89. +24 −0 runtime/tutor/README.el.txt
  90. BIN runtime/tutor/README.txt.info
  91. +12 −0 runtime/tutor/README_amibin.txt
  92. +61 −0 runtime/tutor/README_extra.txt
  93. +20 −0 runtime/tutor/README_ole.txt
  94. BIN runtime/tutor/runtime/doc.info
  95. +35 −0 runtime/tutor/runtime/ftplugin.vim
  96. +11 −0 runtime/tutor/runtime/ftplugof.vim
  97. BIN runtime/tutor/runtime/hi16-action-make.png
  98. +1,105 −0 runtime/tutor/runtime/menu.vim
  99. +753 −0 runtime/tutor/runtime/rgb.txt
  100. BIN runtime/tutor/runtime/tutor.info
  101. BIN runtime/tutor/runtime/vim16x16.gif
  102. BIN runtime/tutor/runtime/vim32x32.gif
  103. +973 −0 runtime/tutor/tutor.no.utf-8
  104. +42 −33 runtime/tutor/tutor.vim
  105. +163 −0 src/INSTALLx.txt
  106. +1 −1 src/Make_os2.mak
  107. +8,702 −7,464 src/auto/configure
  108. +3 −6 src/charset.c
  109. +5 −0 src/config.h.in
  110. +325 −100 src/configure.in
  111. +7 −7 src/ex_getln.c
  112. +1 −1 src/gui_gtk.c
  113. +3 −3 src/gui_mac.c
  114. +3 −3 src/gui_w32.c
  115. +1 −1 src/gui_xmdlg.c
  116. +2 −3 src/if_cscope.c
  117. +11 −17 src/misc2.c
  118. +5 −2 src/nbdebug.c
  119. +30 −4 src/os_mac_conv.c
  120. +1 −5 src/os_msdos.c
  121. +1 −0 src/os_msdos.h
  122. +0 −3 src/os_mswin.c
  123. +4 −0 src/po/Make_ming.mak
  124. +4 −0 src/po/Make_mvc.mak
  125. +6,262 −0 src/po/eo.po
  126. +10 −10 src/po/es.po
  127. +10 −11 src/po/pl.cp1250.po
  128. +7 −7 src/po/sk.cp1250.po
  129. +2,981 −1,565 src/po/uk.cp1251.po
  130. +1 −0 src/proto/netbeans.pro
  131. +7 −2 src/quickfix.c
  132. +3 −3 src/regexp.c
  133. +1 −2 src/screen.c
  134. +1 −1 src/termlib.c
  135. +2 −1 src/testdir/Make_amiga.mak
  136. +1 −1 src/testdir/Make_dos.mak
  137. +56 −0 src/testdir/test65.ok
  138. +2 −1 src/ui.c
  139. +10 −660 src/version.c
  140. +11 −11 src/version.h
  141. +0 −1 src/workshop.c
  142. +7 −1 src/wsdebug.c
View

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -1,7 +1,7 @@
" netrwSettings.vim: makes netrw settings simpler
-" Date: Mar 26, 2007
+" Date: Mar 11, 2008
" Maintainer: Charles E Campbell, Jr <drchipNOSPAM at campbellfamily dot biz>
-" Version: 9
+" Version: 11
" Copyright: Copyright (C) 1999-2007 Charles E. Campbell, Jr. {{{1
" Permission is hereby granted to use and distribute this code,
" with or without modifications, provided that this copyright
@@ -19,13 +19,13 @@
if exists("g:loaded_netrwSettings") || &cp
finish
endif
-let g:loaded_netrwSettings = "v9"
+let g:loaded_netrwSettings = "v11"
" ---------------------------------------------------------------------
" NetrwSettings: {{{1
fun! netrwSettings#NetrwSettings()
" this call is here largely just to insure that netrw has been loaded
- call netrw#NetSavePosn()
+ call netrw#NetrwSavePosn()
if !exists("g:loaded_netrw")
echohl WarningMsg | echomsg "***sorry*** netrw needs to be loaded prior to using NetrwSettings" | echohl None
return
@@ -101,35 +101,52 @@ fun! netrwSettings#NetrwSettings()
else
put = 'let g:netrw_browsex_viewer = (not defined)'
endif
+ let cdescline= line("$")
+ put ='let g:netrw_cd_escape...'
+ put = 'let g:netrw_compress = '.g:netrw_compress
+ let decompressline= line("$")
+ put ='let g:netrw_decompress...'
put = 'let g:netrw_dirhistmax = '.g:netrw_dirhistmax
put = 'let g:netrw_fastbrowse = '.g:netrw_fastbrowse
+ let fnameescline= line("$")
+ put = 'let g:netrw_fname_escape...'
put = 'let g:netrw_ftp_browse_reject = '.g:netrw_ftp_browse_reject
put = 'let g:netrw_ftp_list_cmd = '.g:netrw_ftp_list_cmd
put = 'let g:netrw_ftp_sizelist_cmd = '.g:netrw_ftp_sizelist_cmd
put = 'let g:netrw_ftp_timelist_cmd = '.g:netrw_ftp_timelist_cmd
+ let globescline= line("$")
+ put ='let g:netrw_glob_escape...'
put = 'let g:netrw_hide = '.g:netrw_hide
put = 'let g:netrw_keepdir = '.g:netrw_keepdir
put = 'let g:netrw_list_cmd = '.g:netrw_list_cmd
put = 'let g:netrw_list_hide = '.g:netrw_list_hide
+ put = 'let g:netrw_liststyle = '.g:netrw_liststyle
+ put = 'let g:netrw_localcopycmd = '.g:netrw_localcopycmd
put = 'let g:netrw_local_mkdir = '.g:netrw_local_mkdir
+ put = 'let g:netrw_localmovecmd = '.g:netrw_localmovecmd
put = 'let g:netrw_local_rmdir = '.g:netrw_local_rmdir
- put = 'let g:netrw_liststyle = '.g:netrw_liststyle
put = 'let g:netrw_maxfilenamelen = '.g:netrw_maxfilenamelen
put = 'let g:netrw_menu = '.g:netrw_menu
put = 'let g:netrw_mkdir_cmd = '.g:netrw_mkdir_cmd
+ put = 'let g:netrw_preview = '.g:netrw_preview
put = 'let g:netrw_rename_cmd = '.g:netrw_rename_cmd
+ put = 'let g:netrw_retmap = '.g:netrw_retmap
put = 'let g:netrw_rm_cmd = '.g:netrw_rm_cmd
put = 'let g:netrw_rmdir_cmd = '.g:netrw_rmdir_cmd
put = 'let g:netrw_rmf_cmd = '.g:netrw_rmf_cmd
put = 'let g:netrw_silent = '.g:netrw_silent
put = 'let g:netrw_sort_by = '.g:netrw_sort_by
put = 'let g:netrw_sort_direction = '.g:netrw_sort_direction
put = 'let g:netrw_sort_sequence = '.g:netrw_sort_sequence
+ put = 'let g:netrw_special_syntax = '.g:netrw_special_syntax
put = 'let g:netrw_ssh_browse_reject = '.g:netrw_ssh_browse_reject
put = 'let g:netrw_scpport = '.g:netrw_scpport
put = 'let g:netrw_sshport = '.g:netrw_sshport
put = 'let g:netrw_timefmt = '.g:netrw_timefmt
+ let tmpfileescline= line("$")
+ put ='let g:netrw_tmpfile_escape...'
put = 'let g:netrw_use_noswf = '.g:netrw_use_noswf
+ put = 'let g:netrw_xstrlen = '.g:netrw_xstrlen
put = 'let g:netrw_winsize = '.g:netrw_winsize
put =''
@@ -142,13 +159,18 @@ fun! netrwSettings#NetrwSettings()
silent %s/= $/= ''/e
1
- " Put in shq setting.
+ " Put in g:netrw_shq setting and g:netrw_cd_escape
" (deferred so as to avoid the quote manipulation just preceding)
if g:netrw_shq == "'"
- call setline(shqline,'let g:netrw_shq = "'.g:netrw_shq.'"')
+ call setline(shqline, 'let g:netrw_shq = "'.g:netrw_shq.'"')
else
- call setline(shqline,"let g:netrw_shq = '".g:netrw_shq."'")
+ call setline(shqline, "let g:netrw_shq = '".g:netrw_shq."'")
endif
+ call setline(cdescline, "let g:netrw_cd_escape = ".'"'.escape(g:netrw_cd_escape,'\"').'"')
+ call setline(decompressline,"let g:netrw_decompress = ".substitute(string(g:netrw_decompress),"^'\\(.*\\)'$",'\1',''))
+ call setline(fnameescline, "let g:netrw_fname_escape = '".escape(g:netrw_fname_escape,"'")."'")
+ call setline(globescline, "let g:netrw_glob_escape = '".escape(g:netrw_glob_escape,"'")."'")
+ call setline(tmpfileescline,"let g:netrw_tmpfile_escape = '".escape(g:netrw_tmpfile_escape,"'")."'")
set nomod
@@ -408,4 +408,3 @@ let g:xmldata_html40s = {
\ 'param': ['/>', ''],
\ }
\ }
-" vim:ft=vim:ff=unix
@@ -458,4 +458,3 @@ let g:xmldata_html40t = {
\ 'param': ['/>', ''],
\ }
\ }
-" vim:ft=vim:ff=unix
@@ -432,4 +432,3 @@ let g:xmldata_xhtml11 = {
\ 'param': ['/>', ''],
\ }
\ }
-" vim:ft=vim:ff=unix
View
@@ -1,16 +1,16 @@
" zip.vim: Handles browsing zipfiles
" AUTOLOAD PORTION
-" Date: May 08, 2007
-" Version: 14
+" Date: Jun 12, 2008
+" Version: 18
" Maintainer: Charles E Campbell, Jr <NdrOchip@ScampbellPfamily.AbizM-NOSPAM>
" License: Vim License (see vim's :help license)
-" Copyright: Copyright (C) 2005 Charles E. Campbell, Jr. {{{1
+" Copyright: Copyright (C) 2005-2008 Charles E. Campbell, Jr. {{{1
" Permission is hereby granted to use and distribute this code,
" with or without modifications, provided that this copyright
" notice is copied with it. Like anything else that's free,
-" zipPlugin.vim is provided *as is* and comes with no warranty
-" of any kind, either expressed or implied. By using this
-" plugin, you agree that in no event will the copyright
+" zip.vim and zipPlugin.vim are provided *as is* and comes with
+" no warranty of any kind, either expressed or implied. By using
+" this plugin, you agree that in no event will the copyright
" holder be liable for any damages resulting from the use
" of this software.
@@ -22,7 +22,7 @@ if &cp || exists("g:loaded_zip") || v:version < 700
finish
endif
-let g:loaded_zip = "v14"
+let g:loaded_zip = "v18"
let s:zipfile_escape = ' ?&;\'
let s:ERROR = 2
let s:WARNING = 1
@@ -31,7 +31,9 @@ let s:NOTE = 0
" ---------------------------------------------------------------------
" Global Values: {{{1
if !exists("g:zip_shq")
- if has("unix")
+ if &shq != ""
+ let g:zip_shq= &shq
+ elseif has("unix")
let g:zip_shq= "'"
else
let g:zip_shq= '"'
@@ -160,7 +162,9 @@ fun! s:ZipBrowseSelect()
" call Decho("curfile<".curfile.">")
new
- wincmd _
+ if !exists("g:zip_nomax") || g:zip_nomax == 0
+ wincmd _
+ endif
let s:zipfile_{winnr()}= curfile
" call Decho("exe e zipfile:".escape(zipfile,s:zipfile_escape).'::'.escape(fname,s:zipfile_escape))
exe "e zipfile:".escape(zipfile,s:zipfile_escape).'::'.escape(fname,s:zipfile_escape)
@@ -319,8 +323,13 @@ endfun
" QuoteFileDir: {{{2
fun! s:QuoteFileDir(fname)
" call Dfunc("QuoteFileDir(fname<".a:fname.">)")
-" call Dret("QuoteFileDir")
- return g:zip_shq.a:fname.g:zip_shq
+ if has("*shellescape")
+ let qnameq= shellescape(a:fname)
+ else
+ let qnameq= g:zip_shq.escape(a:fname,g:zip_shq).g:zip_shq
+ endif
+" call Dret("QuoteFileDir <".qnameq.">")
+ return qnameq
endfun
" ---------------------------------------------------------------------
@@ -38,4 +38,4 @@ CompilerSet errorformat=
let &cpo = s:cpo_save
unlet s:cpo_save
-" vim: nowrap sw=2 sts=2 ts=8 ff=unix:
+" vim: nowrap sw=2 sts=2:
View
@@ -11,7 +11,7 @@ let current_compiler = "gcc"
let s:cpo_save = &cpo
set cpo-=C
-setlocal errorformat=
+CompilerSet errorformat=
\%*[^\"]\"%f\"%*\\D%l:\ %m,
\\"%f\"%*\\D%l:\ %m,
\%-G%f:%l:\ %trror:\ (Each\ undeclared\ identifier\ is\ reported\ only\ once,
@@ -25,7 +25,7 @@ setlocal errorformat=
\%DMaking\ %*\\a\ in\ %f
if exists('g:compiler_gcc_ignore_unmatched_lines')
- let &errorformat .= ',%-G%.%#'
+ CompilerSet errorformat+=%-G%.%#
endif
let &cpo = s:cpo_save
View
@@ -1,4 +1,4 @@
-*autocmd.txt* For Vim version 7.1. Last change: 2007 Mar 27
+*autocmd.txt* For Vim version 7.2a. Last change: 2008 Jun 24
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -104,7 +104,7 @@ local to the script and use mappings local to the script. When the event is
triggered and the command executed, it will run in the context of the script
it was defined in. This matters if |<SID>| is used in a command.
-When executing the commands, the messages from one command overwrites a
+When executing the commands, the message from one command overwrites a
previous message. This is different from when executing the commands
manually. Mostly the screen will not scroll up, thus there is no hit-enter
prompt. When one command outputs two messages this can happen anyway.
@@ -334,7 +334,7 @@ BufDelete Before deleting a buffer from the buffer list.
list is renamed.
NOTE: When this autocommand is executed, the
current buffer "%" may be different from the
- buffer being deleted "<afile>".
+ buffer being deleted "<afile>" and "<abuf>".
*BufEnter*
BufEnter After entering a buffer. Useful for setting
options for a file type. Also executed when
@@ -400,10 +400,15 @@ BufUnload Before unloading a buffer. This is when the
*BufWinEnter*
BufWinEnter After a buffer is displayed in a window. This
can be when the buffer is loaded (after
- processing the modelines), when a hidden
+ processing the modelines) or when a hidden
buffer is displayed in a window (and is no
- longer hidden) or a buffer already visible in
- a window is also displayed in another window.
+ longer hidden).
+ Does not happen for |:split| without
+ arguments, since you keep editing the same
+ buffer, or ":split" with a file that's already
+ open in a window. But it does happen for
+ a ":split" with the name of the current
+ buffer, since it reloads that buffer.
*BufWinLeave*
BufWinLeave Before a buffer is removed from a window.
Not when it's still visible in another window.
@@ -677,7 +682,7 @@ QuickFixCmdPre Before a quickfix command is run (|:make|,
*QuickFixCmdPost*
QuickFixCmdPost Like QuickFixCmdPre, but after a quickfix
command is run, before jumping to the first
- location.
+ location. See |QuickFixCmdPost-example|.
*RemoteReply*
RemoteReply When a reply from a Vim that functions as
server was received |server2client()|. The
@@ -848,7 +853,7 @@ This autocommand will for example be executed for "/tmp/doc/xx.txt" and
The file name that the pattern is matched against is after expanding
-wildcards. Thus is you issue this command: >
+wildcards. Thus if you issue this command: >
:e $ROOTDIR/main.$EXT
The argument is first expanded to: >
/usr/root/main.py
@@ -927,7 +932,7 @@ simply use the special string instead of the pattern. Examples: >
" current buffer
:au! * <buffer=33> " remove buffer-local autocommands for
" buffer #33
- :dobuf :au! CursorHold <buffer> " remove autocmd for given event for all
+ :bufdo :au! CursorHold <buffer> " remove autocmd for given event for all
" buffers
:au * <buffer> " list buffer-local autocommands for
" current buffer
@@ -1031,8 +1036,9 @@ option will not cause any commands to be executed.
undefined group name, Vim gives you an error message.
After applying the autocommands the modelines are
- processed, so that their overrule the settings from
- autocommands, like what happens when editing a file.
+ processed, so that their settings overrule the
+ settings from autocommands, like what happens when
+ editing a file.
*:doautoa* *:doautoall*
:doautoa[ll] [group] {event} [fname]
Oops, something went wrong.

0 comments on commit efe58cd

Please sign in to comment.