comparison runtime/doc/pi_netrw.txt @ 464:3b705e71c7b0 v7.0124

updated for version 7.0124
author vimboss
date Fri, 05 Aug 2005 21:35:02 +0000
parents f98374445f66
children 7a01bd1ac566
comparison
equal deleted inserted replaced
463:8411e13e6dcb 464:3b705e71c7b0
1 *pi_netrw.txt* For Vim version 7.0. Last change: Aug 01, 2005 1 *pi_netrw.txt* For Vim version 7.0. Last change: Aug 04, 2005
2 2
3 3
4 VIM REFERENCE MANUAL by Charles E. Campbell, Jr. 4 VIM REFERENCE MANUAL by Charles E. Campbell, Jr.
5 5
6 *dav* *http* *network* *rcp* *scp* 6 *dav* *http* *network* *rcp* *scp*
582 COMMANDS *netrw-explore-cmds* 582 COMMANDS *netrw-explore-cmds*
583 :Explore[!] [dir].Explore directory of current file........|netrw-explore| 583 :Explore[!] [dir].Explore directory of current file........|netrw-explore|
584 :Sexplore[!] [dir].Split & Explore directory of current file|netrw-explore| 584 :Sexplore[!] [dir].Split & Explore directory of current file|netrw-explore|
585 :Hexplore[!] [dir].Horizontal Split & Explore...............|netrw-explore| 585 :Hexplore[!] [dir].Horizontal Split & Explore...............|netrw-explore|
586 :Vexplore[!] [dir].Vertical Split & Explore.................|netrw-explore| 586 :Vexplore[!] [dir].Vertical Split & Explore.................|netrw-explore|
587 :Pexplore[!] [dir].Vertical Split & Explore.................|netrw-explore|
588 :Nexplore[!] [dir].Vertical Split & Explore.................|netrw-explore|
587 589
588 QUICK REFERENCE COMMANDS TABLE *netrw-browse-cmds* 590 QUICK REFERENCE COMMANDS TABLE *netrw-browse-cmds*
589 > 591 >
590 ------- ----------- 592 ------- -----------
591 Command Explanation 593 Command Explanation
604 <c-h> Edit file hiding list 606 <c-h> Edit file hiding list
605 i Toggles between long and short listing 607 i Toggles between long and short listing
606 <c-l> Causes Netrw to refresh the directory listing 608 <c-l> Causes Netrw to refresh the directory listing
607 o Enter the file/directory under the cursor in a new browser 609 o Enter the file/directory under the cursor in a new browser
608 window. A horizontal split is used. 610 window. A horizontal split is used.
611 p Preview the file
609 r Reverse sorting order 612 r Reverse sorting order
610 s Select sorting style: by name, time, or file size 613 s Select sorting style: by name, time, or file size
611 v Enter the file/directory under the cursor in a new browser 614 v Enter the file/directory under the cursor in a new browser
612 window. A vertical split is used. 615 window. A vertical split is used.
613 x Apply a function to a file. 616 x Apply a function to a file.
739 ssh interaction, etc, see |netrw-list-hack|. 742 ssh interaction, etc, see |netrw-list-hack|.
740 743
741 744
742 DIRECTORY EXPLORING COMMANDS *netrw-explore* 745 DIRECTORY EXPLORING COMMANDS *netrw-explore*
743 746
744 :Explore[!] [dir].Explore directory of current file 747 :Explore[!] [dir]... Explore directory of current file
745 :Sexplore[!] [dir].Split & Explore directory of current file 748 :Sexplore[!] [dir]... Split & Explore directory of current file
746 :Hexplore[!] [dir].Horizontal Split & Explore 749 :Hexplore[!] [dir]... Horizontal Split & Explore
747 :Vexplore[!] [dir].Vertical Split & Explore 750 :Vexplore[!] [dir]... Vertical Split & Explore
751 :Nexplore............. used with **/patterns; go to next matching file
752 :Pexplore............. used with **/patterns; go to previous matching file
748 753
749 The Explore command will open the local-directory browser on the current 754 The Explore command will open the local-directory browser on the current
750 file's directory (or on directory [dir] if specified). The window 755 file's directory (or on directory [dir] if specified). The window
751 will be split only if the file has been modified, otherwise the 756 will be split only if the file has been modified, otherwise the
752 browsing window will take over that window. Normally the splitting is 757 browsing window will take over that window. Normally the splitting is
760 optional ! does the Explore with |aboveleft| horizontal splitting. 765 optional ! does the Explore with |aboveleft| horizontal splitting.
761 766
762 Vexplore does an Explore with |leftabove| vertical splitting; the optiona 767 Vexplore does an Explore with |leftabove| vertical splitting; the optiona
763 ! does an Explore with |topleft| vertical splitting. 768 ! does an Explore with |topleft| vertical splitting.
764 769
770 (Following needs v7.0 or later)
771 When Explore, Sexplore, Hexplore, or Vexplore are used with
772 **/filename-patterns, netrw will attempt to find a (sub)directory which
773 matches the filename pattern. The Nexplore and Pexplore commands enable
774 one to proceed to the next/previous matching file, respectively. If your
775 console or gui produce recognizable shift-up or shift-down sequences, then
776
777 <s-down> == Nexplore, and
778 <s-up> == Pexplore.
779
780 As an example, consider >
781
782 :Explore **/*.c
783 :Nexplore
784 :Nexplore
785 :Pexplore
786 <
765 787
766 REFRESHING THE LISTING *netrw-ctrl-l* 788 REFRESHING THE LISTING *netrw-ctrl-l*
767 789
768 To refresh either a local or remote directory listing, press ctrl-l (<c-l>) or 790 To refresh either a local or remote directory listing, press ctrl-l (<c-l>) or
769 hit the <cr> when atop the ./ directory entry in the listing. One may also 791 hit the <cr> when atop the ./ directory entry in the listing. One may also
991 the current directory to the current browsing directory. 1013 the current directory to the current browsing directory.
992 1014
993 1015
994 BOOKMARKING A DIRECTORY *netrw-b* *netrw-bookmark* *netrw-bookmarks* 1016 BOOKMARKING A DIRECTORY *netrw-b* *netrw-bookmark* *netrw-bookmarks*
995 1017
996 One may easily "bookmark" a directory by using 1018 One may easily "bookmark" a directory by using >
997 1019
998 {cnt}b 1020 {cnt}b
999 1021 <
1000 Any count may be used. One may use viminfo's "!" option to retain bookmarks 1022 Any count may be used. One may use viminfo's "!" option to retain bookmarks
1001 between vim sessions. See |netrw-B| for how to return to a bookmark and 1023 between vim sessions. See |netrw-B| for how to return to a bookmark and
1002 |netrw-q| for how to list them. 1024 |netrw-q| for how to list them.
1003 1025
1004 1026
1141 NdrOchip at ScampbellPfamily.AbizM - NOSPAM 1163 NdrOchip at ScampbellPfamily.AbizM - NOSPAM
1142 1164
1143 ============================================================================== 1165 ==============================================================================
1144 10. History *netrw-history* 1166 10. History *netrw-history*
1145 1167
1168 v58: * Explore and relatives can now handle **/somefilepattern (v7)
1169 * Nexplore and Pexplore introduced (v7). shift-down and shift-up
1170 cursor keys will invoke Nexplore and Pexplore, respectively.
1171 * bug fixed with o and v
1172 * autochdir only worked around for vim when it has been
1173 compiled with either |+netbeans_intg| or |+sun_workshop|
1174 * Under Windows, all directories and files were being preceded
1175 with a "/" when local browsing. Fixed.
1176 * When: syntax highlighting is off, laststatus=2, and remote
1177 browsing is used, sometimes the laststatus highlighting
1178 bleeds into the entire display. Work around - do an extra
1179 redraw in that case.
1180 * Bugfix: when g:netrw_keepdir=0, due to re-use of buffers,
1181 netrw didn't change the directory when it should've
1182 * Bugfix: D and R commands work again
1146 v57: * Explore and relatives can now handle RO files 1183 v57: * Explore and relatives can now handle RO files
1147 * reverse sort restored with vim7's sort command 1184 * reverse sort restored with vim7's sort command
1148 * g:netrw_keepdir now being used to keep the current directory 1185 * g:netrw_keepdir now being used to keep the current directory
1149 unchanged as intended (sense change) 1186 unchanged as intended (sense change)
1150 * vim 6.3 still supported 1187 * vim 6.3 still supported