Skip to content

Commit

Permalink
Merge pull request #72 from kiryph/patch-2
Browse files Browse the repository at this point in the history
Clarify default behavior of dotfile hiding
  • Loading branch information
tpope committed Jun 30, 2016
2 parents 75fc382 + 94dcf60 commit bd7f7b7
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,13 @@ to even consider.
* All that annoying crap at the top is turned off, leaving you with nothing
but a list of files. This is surprisingly disorienting, but ultimately
very liberating. Press `I` to toggle until you adapt.
* The oddly C-biased default sort order and file hiding is replaced with a
sensible application of `'suffixes'` and `'wildignore'`.
* The oddly C-biased default sort order is replaced with a sensible application
of `'suffixes'`.
* File hiding: files are not listed that match with one of the patterns in
`'wildignore'`.
If you put `let g:netrw_list_hide = '\(^\|\s\s\)\zs\.\S\+'`
in your vimrc, vinegar will initialize with dot files hidden.
Press `gh` to toggle dot file hiding.
* Press `.` on a file to pre-populate it at the end of a `:` command line.
This is great, for example, to quickly initiate a `:grep` of the file or
directory under the cursor. There's also `!`, which starts the line off
Expand Down

0 comments on commit bd7f7b7

Please sign in to comment.