vinegar.vim: Combine with netrw to create a delicious salad dressing
Split windows and the project drawer go together like oil and vinegar. I
don’t mean to say that you can combine them to create a delicious salad
dressing. I mean that they don’t mix well!
- Drew Neil
You know what netrw is, right? The built in directory browser? Well,
vinegar.vim enhances netrw, partially in an attempt to mitigate the need for
more disruptive “project drawer” style plugins.
Some of the behaviors added by vinegar.vim would make excellent upstream
additions. Many, the author would probably reject. Others are a bit too wild
to even consider.
- in any buffer to hop up to the directory listing and seek to theI to toggle until you adapt.'suffixes'.'wildignore'.let g:netrw_list_hide = '\(^\|\s\s\)\zs\.\S\+'gh to toggle dot file hiding.. on a file to pre-populate it at the end of a : command line.:grep of the file or.!chmod +x and:!chmod +x path/to/file.y. to yank an absolute path for the file under the cursor.~ to go home.CTRL-^ (CTRL-6) for switching back to the previousInstall using your favourite package manager, or use Vim’s built-in package support:
mkdir -p ~/.vim/pack/tpope/start
cd ~/.vim/pack/tpope/start
git clone https://github.com/tpope/vim-vinegar.git
Like vinegar.vim? Star the repository on
GitHub and vote for it on
vim.org.
Love vinegar.vim? Follow tpope on
GitHub and
Twitter.
Copyright © Tim Pope. Distributed under the same terms as Vim itself.
See :help license.
We use cookies
We use cookies to analyze traffic and improve your experience. You can accept or reject analytics cookies.