diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-07-27 22:50:36 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-07-27 22:50:36 +0200 |
commit | 5ac3b1aae2bdcf9f02ac0ebf97836ae3c709c2dc (patch) | |
tree | a9bf2d2349c0c88932c501acd9bba854321aaad8 /runtime/doc | |
parent | 8765a4ac3a9dfb994ad7051183353ead25cfbb64 (diff) |
Updated runtime files. New netrw plugin version.
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/map.txt | 4 | ||||
-rw-r--r-- | runtime/doc/pi_netrw.txt | 55 | ||||
-rw-r--r-- | runtime/doc/todo.txt | 24 |
3 files changed, 62 insertions, 21 deletions
diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt index 153cd7fb31..7c4a95442a 100644 --- a/runtime/doc/map.txt +++ b/runtime/doc/map.txt @@ -1,4 +1,4 @@ -*map.txt* For Vim version 7.3c. Last change: 2010 Jul 20 +*map.txt* For Vim version 7.3c. Last change: 2010 Jul 27 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1266,6 +1266,8 @@ the 'path' option: > : return split(globpath(&path, a:A), "\n") :endfun < +This example does not work for file names with spaces! + Range handling *E177* *E178* *:command-range* *:command-count* diff --git a/runtime/doc/pi_netrw.txt b/runtime/doc/pi_netrw.txt index 52df67c8fe..193138bb97 100644 --- a/runtime/doc/pi_netrw.txt +++ b/runtime/doc/pi_netrw.txt @@ -1,4 +1,4 @@ -*pi_netrw.txt* For Vim version 7.3c. Last change: 2010 May 14 +*pi_netrw.txt* For Vim version 7.3c. Last change: 2010 Jul 27 ----------------------------------------------------- NETRW REFERENCE MANUAL by Charles E. Campbell, Jr. @@ -318,15 +318,24 @@ settings are described below, in |netrw-browser-options|, and in *b:netrw_lastfile* last file Network-read/written retained on a per-buffer basis (supports plain :Nw ) + *g:netrw_bufsettings* the settings that netrw buffers have + (default) noma nomod nonu nowrap ro nobl + *g:netrw_chgwin* specifies a window number where file edits will take place. (also see |netrw-C|) (default) not defined - *g:Netrw_funcref* specifies a function to be called when netrw edits - a file. The file is first edited, and then the - function reference (|Funcref|) is called. + *g:Netrw_funcref* specifies a function (or functions) to be called when + netrw edits a file. The file is first edited, and + then the function reference (|Funcref|) is called. + This variable may also hold a |List| of Funcrefs. (default) not defined - +> + Example: place in .vimrc; affects all file opening + fun! MyFuncRef() + endfun + let g:Netrw_funcref= function("MyFuncRef") +< *g:netrw_ftp* if it doesn't exist, use default ftp =0 use default ftp (uid password) =1 use alternate ftp method (user uid password) @@ -456,7 +465,7 @@ browsed remote directories, for example. On the other hand, thanks go to Jan M. for pointing out the many vulnerabilities that netrw (and vim itself) had had in handling "crafted" filenames. The |shellescape()| and |fnameescape()| functions were written in -response by Bram Moolenaar to handle this sort of problems, and netrw has +response by Bram Moolenaar to handle these sort of problems, and netrw has been modified to use them. Still, my advice is, if the "filename" looks like a vim command that you aren't comfortable with having executed, don't open it. @@ -589,7 +598,7 @@ password. PASSWORD *netrw-passwd* The script attempts to get passwords for ftp invisibly using |inputsecret()|, -a built-in Vim function. See |NetUserPass()| for how to change the password +a built-in Vim function. See |netrw-uidpass| for how to change the password after one has set it. Unfortunately there doesn't appear to be a way for netrw to feed a password to @@ -778,8 +787,10 @@ variables listed below, and may be modified by the user. The g:netrw_..._cmd options (|g:netrw_ftp_cmd| and |g:netrw_sftp_cmd|) specify the external program to use handle the ftp protocol. They may -include command line options (such as -p for passive mode). +include command line options (such as -p for passive mode). Example: > + let g:netrw_ftp_cmd= "ftp -p" +< Browsing is supported by using the |g:netrw_list_cmd|; the substring "HOSTNAME" will be changed via substitution with whatever the current request is for a hostname. @@ -803,7 +814,7 @@ temporary file: get filename tempfile > --------------------------------------------------------------------- < -The |g:netrw_ftpmode| and g:netrw_extracmd are optional. +The |g:netrw_ftpmode| and |g:netrw_extracmd| are optional. Netrw then executes the lines above by use of a filter: > @@ -2544,13 +2555,13 @@ Associated setting variables: |g:netrw_chgwin| (Vit Gottwald) How to generate public/private key and save public key it on server: > - http://www.tartarus.org/~simon/puttydoc/Chapter8.html#pubkey-gettingready - 8.3 Getting ready for public key authentication + http://www.chiark.greenend.org.uk/~sgtatham/putty/0.60/htmldoc/Chapter8.html#pubkey-gettingready + (8.3 Getting ready for public key authentication) < How to use a private key with 'pscp': > - http://www.tartarus.org/~simon/puttydoc/Chapter5.html - 5.2.4 Using public key authentication with PSCP + http://www.chiark.greenend.org.uk/~sgtatham/putty/0.60/htmldoc/Chapter5.html + (5.2.4 Using public key authentication with PSCP) < (Ben Schmidt) I find the ssh included with cwRsync is brilliant, and install cwRsync or cwRsyncServer on most @@ -2695,9 +2706,25 @@ which is loaded automatically at startup (assuming :set nocp). ============================================================================== 12. History *netrw-history* {{{1 + v139: May 14, 2010 * when viewing remote directory listings and + changing listing style, going to tree listing + mode was issuing two rather useless messages + about the buffer name. They have now been + silenced. + * (Jean Johner) with "behave mswin", clicking + on a filename in wide mode opened a new file + with a missing first letter + * (Britton Kerin) wanted netrw listings to be + buflisted; the |g:netrw_bufsettings| option + permits that. + * (John Orr) pointed out that the intended maparg + test for gx was actually testing for g rather + than gx. Fixed. + Jun 18, 2010 * (Jan Steffens) added support for xz compression + Jun 23, 2010 * vimdiff dir1 dir2 now works v138: May 01, 2010 * added the bomb setting to the Save-Set-Restore option handling (for Tony M) - * (Bram Moolenaar) netrw optionally sets cursorline + May 14, 2010 * (Bram Moolenaar) netrw optionally sets cursorline (and sometimes cursorcolumn) for its display. This option setting was leaking through with remote file handling. diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt index 1759b72ff2..e2d51634c9 100644 --- a/runtime/doc/todo.txt +++ b/runtime/doc/todo.txt @@ -1,4 +1,4 @@ -*todo.txt* For Vim version 7.3c. Last change: 2010 Jul 26 +*todo.txt* For Vim version 7.3c. Last change: 2010 Jul 27 VIM REFERENCE MANUAL by Bram Moolenaar @@ -30,17 +30,29 @@ be worked on, but only if you sponsor Vim development. See |sponsor|. *known-bugs* -------------------- Known bugs and current work ----------------------- +Problem with concealends in v50 of tex.vim? (Charles Campbell, 2010 Jul 26) +Fixed by patch from Vince? + +Conceal problem: CTRL-L draws differently than individual line. (Benjamin +Fritz, 2010 Jul 27) + Access to free memory with :redir command. (Dominique Pelle, 2010 Jul 25) -Easier way to reproduce in later message. +Easier way to reproduce in later message. (2010 Jul 26) +call get_lval() again in var_redir_stop(). Patch for VMS. Zoltan Arpadffy, 2010 Jul 26. -Patch for :find completion. (Nazri Ramliy) -But I prefer to keep term.h and include/term.h Nazri will work on it. +Patch for :find completion. (Nazri Ramliy, 2010 Jul 27, and leak fix) -Move more common code from if_python.c and if_python3.c to if_py_both.h +Windows 7: "Open with..." menu starts Vim without a file. -Problem with concealends in v50 of tex.vim? (Charles Campbell, 2010 Jul 26) +Windows 7: installing Vim again doesn't find the previously installed Vim. + +ftplugin/mupad.vim should not source AppendMatchGroup.vim, it should use an +autoload function. +Same for indent/GenericIndent.vim + +Move more common code from if_python.c and if_python3.c to if_py_both.h Add filetype completion to user commands. (Christian Brabandt, 2010 Jul 26) But call it "filetype" instead of "syntax". |