comparison runtime/doc/pi_netrw.txt @ 799:6beb2c667935

updated for version 7.0b
author vimboss
date Fri, 24 Mar 2006 22:21:52 +0000
parents f19994020dad
children 9f345c48220b
comparison
equal deleted inserted replaced
798:95dac6af3b3a 799:6beb2c667935
1 *pi_netrw.txt* For Vim version 7.0. Last change: Mar 21, 2006 1 *pi_netrw.txt* For Vim version 7.0b. Last change: Mar 22, 2006
2 2
3 VIM REFERENCE MANUAL by Charles E. Campbell, Jr. 3 VIM REFERENCE MANUAL by Charles E. Campbell, Jr.
4 4
5 5
6 *dav* *http* *network* *rcp* *scp* 6 *dav* *http* *network* *rcp* *scp*
363 363
364 364
365 NETRC *netrw-netrc* 365 NETRC *netrw-netrc*
366 366
367 The typical syntax for lines in a <.netrc> file is given as shown below. 367 The typical syntax for lines in a <.netrc> file is given as shown below.
368 Ftp under Unix usually support <.netrc>; Windows' ftp usually doesn't. 368 Ftp under Unix usually supports <.netrc>; ftp under Windows usually doesn't.
369 > 369 >
370 machine {full machine name} login {user-id} password "{password}" 370 machine {full machine name} login {user-id} password "{password}"
371 default login {user-id} password "{password}" 371 default login {user-id} password "{password}"
372 372
373 Your ftp client must handle the use of <.netrc> on its own, but if the 373 Your ftp client must handle the use of <.netrc> on its own, but if the
393 393
394 394
395 ============================================================================== 395 ==============================================================================
396 4. Activation *netrw-activate* 396 4. Activation *netrw-activate*
397 397
398 Network-oriented file transfers are available by default whenever 398 Network-oriented file transfers are available by default whenever Vim's
399 |'nocompatible'| mode is enabled. The <netrw.vim> file resides in your 399 |'nocompatible'| mode is enabled. The <netrw.vim> file resides in your
400 system's vim-plugin directory and is sourced automatically whenever you bring 400 system's vim-plugin directory and is sourced automatically whenever you bring
401 up vim. I suggest that, at a minimum, you have at least the following in your 401 up vim. I suggest that, at a minimum, you have at least the following in your
402 <.vimrc> customization file: > 402 <.vimrc> customization file: >
403
403 set nocp 404 set nocp
404 if version >= 600 405 if version >= 600
405 filetype plugin indent on 406 filetype plugin indent on
406 endif 407 endif
407 < 408 <
418 :wq 419 :wq
419 420
420 See |netrw-activate| for more on how to encourage your vim to use plugins 421 See |netrw-activate| for more on how to encourage your vim to use plugins
421 such as netrw. 422 such as netrw.
422 423
424
423 ============================================================================== 425 ==============================================================================
424 6. Ex Commands *netrw-ex* 426 6. Ex Commands *netrw-ex*
425 427
426 The usual read/write commands are supported. There are also a couple of 428 The usual read/write commands are supported. There are also a few
427 additional commands available. 429 additional commands available. Often you won't need to use Nw or
430 Nread as shown in |netrw-transparent| (ie. use :e url, :r url, :w url;
431 see |netrw-urls|).
428 432
429 :[range]Nw Write the specified lines to the current 433 :[range]Nw Write the specified lines to the current
430 file as specified in b:netrw_lastfile. 434 file as specified in b:netrw_lastfile.
431 435
432 :[range]Nw {netfile} [{netfile}]... 436 :[range]Nw {netfile} [{netfile}]...
453 The user-id and password are used by ftp transfers. One may 457 The user-id and password are used by ftp transfers. One may
454 effectively remove the user-id and password by using "" 458 effectively remove the user-id and password by using ""
455 strings. 459 strings.
456 460
457 :NetrwSettings This command is desribed in |netrw-settings| -- used to 461 :NetrwSettings This command is desribed in |netrw-settings| -- used to
458 display netrw settings and change netrw behavior 462 display netrw settings and change netrw behavior.
459 463
460 464
461 ============================================================================== 465 ==============================================================================
462 7. Variables and Options *netrw-options* *netrw-var* 466 7. Variables and Options *netrw-options* *netrw-var*
463 467
1442 NdrOchip at ScampbellPfamily.AbizM - NOSPAM 1446 NdrOchip at ScampbellPfamily.AbizM - NOSPAM
1443 1447
1444 ============================================================================== 1448 ==============================================================================
1445 11. History *netrw-history* {{{1 1449 11. History *netrw-history* {{{1
1446 1450
1451 v83: * disabled stop-acd handling; the change in directory handling
1452 may allow acd to be used again. Awaiting feedback.
1453 * D was refusing to delete remote files/directories in wide
1454 listing mode.
1447 v81: * FocusGained also used to refresh/wipe local browser directory 1455 v81: * FocusGained also used to refresh/wipe local browser directory
1448 buffers 1456 buffers
1449 * (bugfix) netrw was leaving [Scratch] buffers behind when the 1457 * (bugfix) netrw was leaving [Scratch] buffers behind when the
1450 the user had the "hidden" option set. The 'hidden' option is 1458 the user had the "hidden" option set. The 'hidden' option is
1451 now bypassed. 1459 now bypassed.