Skip to content

spacewulf/oil-addon.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Oil-addon.nvim

Simple plugin made to slightly enhance the capabilities of Oil.nvim and to practice making my own Neovim plugins. For whatever reason, I can never get my brain to wrap around the fact that I need to use my default mapping for closing a window, 'q', and so instead I created this to close the floating oil window with just a press of the 'q' button. This is configurable.

Setup and configuration

Installation with Lazy.nvim

require('lazy').setup({
	{
		"spacewulf/oil-addon.nvim",
		opts = {},
		dependencies = {
			"stevearc/oil.nvim",
		},
	},
})

The setup method must be called in order for the plugin to work. This can be done via the opts table or using the dedicated setup function.

Configuration

require('oil-addon').setup({
	keys = {
		close_floating = 'q'
	}

})

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages