Skip to content
Snippets Groups Projects
Commit 5ac3b1aa authored by Bram Moolenaar's avatar Bram Moolenaar
Browse files

Updated runtime files. New netrw plugin version.

parent 8765a4ac
No related merge requests found
This diff is collapsed.
*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*
......
*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.
......
*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".
......
" Vim indent file
" Language: Haml
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
" Last Change: 2008 Sep 11
" Last Change: 2010 May 21
if exists("b:did_indent")
finish
......
" netrwPlugin.vim: Handles file transfer and remote directory listing across a network
" PLUGIN SECTION
" Date: Aug 10, 2008
" Date: Jul 27, 2010
" Maintainer: Charles E Campbell, Jr <NdrOchip@ScampbellPfamily.AbizM-NOSPAM>
" GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim
" Copyright: Copyright (C) 1999-2008 Charles E. Campbell, Jr. {{{1
......@@ -20,7 +20,7 @@
if &cp || exists("g:loaded_netrwPlugin")
finish
endif
let g:loaded_netrwPlugin = "v138"
let g:loaded_netrwPlugin = "v139"
if v:version < 702
echohl WarningMsg | echo "***netrw*** you need vim version 7.2 for this version of netrw" | echohl None
finish
......@@ -81,7 +81,7 @@ com! -nargs=0 NetrwSettings call netrwSettings#NetrwSettings()
com! -bang NetrwClean call netrw#NetrwClean(<bang>0)
" Maps:
if !exists("g:netrw_nogx") && maparg('g','n') == ""
if !exists("g:netrw_nogx") && maparg('gx','n') == ""
if !hasmapto('<Plug>NetrwBrowseX')
nmap <unique> gx <Plug>NetrwBrowseX
endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment