Thursday, October 6, 2011

Re: Netrw and filtering

On Oct 6, 10:20 pm, Ben Fritz <fritzophre...@gmail.com> wrote:
> I saw :help netrw-star and read that text to understand that netrw can
> filter for files matching a pattern in a given directory.
>
> But I cannot get it to work.
>
> I tried:
>
> :Explore ~/vimfiles/*.vim
> (nothing happens; no netrw window, no error message, nothing)
>
> :Explore $HOME/vimfiles/*.vim
> (same result; nothing happens)
>
> :Explore C:/Users/ben/vimfiles/*.vim
> (same result)
>
> :Explore /Users/ben/vimfiles/*.vim
> (same result)
>
> :Explore */~/vimfiles/*.vim
> (error message: **warning** (netrw) no files matched)
>
> :Explore */$HOME/vimfiles/*.vim
> (Netrw opens to the WRONG DIRECTORY, C:/Program Files/Vim/vim73/doc,
> showing all the .txt files therein)
>
> :Explore */C:/Users/ben/vimfiles/*.vim
> (error message: **warning** (netrw) no files matched)
>
> :Explore *//Users/ben/vimfiles/*.vim
> (C:/Program Files/vim/vim73/doc/arabic.txt opens with a statusline
> reading "Match 1 of 43"...I'm REALLY confused here)
>
> :Explore */Users/ben/vimfiles/*.vim
> (error message: **warning** (netrw) no files matched)
>
> What am I doing wrong here? How am I supposed to use patterns with
> netrw? And am I wrong about the filtering behavior?

Version info:

" netrwPlugin.vim: Handles file transfer and remote directory listing
across a network
" PLUGIN SECTION
" Date: Feb 10, 2011


VIM - Vi IMproved 7.3 (2010 Aug 15, compiled May 26 2011 05:23:29)
MS-Windows 32-bit GUI version with OLE support
Included patches: 1-206
Compiled by digitectNO@SPAMdancingpaper.com
Huge version with GUI. Features included (+) or not (-):
+arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset
+cindent +clientserver +clipboard +cmdline_compl +cmdline_hist
+cmdline_info +comments +conceal +cryptv
+cscope +cursorbind +cursorshape +dialog_con_gui +diff +digraphs -dnd -
ebcdic +emacs_tags +eval +ex_extra +extra_search +farsi +file_in_path
+find_in_path +float +folding
-footer +gettext/dyn -hangul_input +iconv/dyn +insert_expand +jumplist
+keymap +langmap +libcall +linebreak +lispindent +listcmds +localmap
+lua/dyn +menu +mksession
+modify_fname +mouse +mouseshape +multi_byte_ime/dyn +multi_lang
+mzscheme/dyn +netbeans_intg +ole +path_extra +perl/dyn
+persistent_undo -postscript +printer +profile
+python/dyn -python3 +quickfix +reltime +rightleft +ruby/dyn
+scrollbind +signs +smartindent -sniff +startuptime +statusline -
sun_workshop +syntax +tag_binary +tag_old_static
-tag_any_white +tcl/dyn -tgetent -termresponse +textobjects +title
+toolbar +user_commands +vertsplit +virtualedit +visual +visualextra
+viminfo +vreplace +wildignore +wildmenu
+windows +writebackup -xfontset -xim -xterm_save -xpm_w32

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment