Skip to content

combine with vinegar, or plain netrw, for a delicious salad dressing

Notifications You must be signed in to change notification settings

go2null/vim-oil

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

INTRODUCTION

oil.vim: combine with vinegar, or plain netrw, for a delicious salad dressing.

Plugin to create a Netrw Explorer Project Drawer. It uses Netrw and compliments vim-vinegar.

It is created for those who like a Docked Explorer and for those new to Vim. It can even be useful to those who like the split-windows-explorer approach.

 [project drawer] still has its place, particularly during the orientation phase with a new codebase.
 - Drew Neil, Oil and vinegar Vimcast

This plugin is inspired by

  1. vim-vinegar, and
  2. the Oil and vinegar Vimcast
  3. my not finding one that uses Netrw to implement a project drawer, while still allowing the split window approach, i.e., oil AND vinegar.

Note: It is only tested on Vim 7.4, but should work on older versions too.

MAPPINGS

<Leader>e : explore. Set to OilWhisk by default.

COMMANDS

OilWhisk Cycles between Netrw windows and buffers.

OilShake Toggles display of the Netrw window.

SETTINGS

The following settings are all boolean; set them to any value to enable them.

g:loaded_oil Set before sourcing to disable plugin.

g:oil_right Display the drawer on the right, instead of the left.

g:oil_multi Allow more than one Netrw window. OilWhisk will cycle through each window.

g:oil_shake Set default mapping to OilShake to toggle the Netrw window.

g:oil_no_map Disable default key mapping (<Leader>e).

CONTRIBUTIONS

Contributions and pull requests are welcome.

LICENSE

GPL v3 or later

About

combine with vinegar, or plain netrw, for a delicious salad dressing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published