Skip to content

A small look into the files in your current directory.

License

Notifications You must be signed in to change notification settings

Ash-Olorenshaw/Porthole.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Porthole.nvim

A small, slightly rounded view into the files in your current directory.

What is Porthole.nvim?

Porthole.nvim is a small plugin for NeoVim to give you a popup window to show you the current directory's files and folders.

Mostly written in Lua, Porthole also uses a small compiled F# .NET program to perform directory searches called Lister. Don't have .NET installed? Don't worry about it, Porthole falls back to using Bash, Pwsh or CMD depending on your system (just a slight performance decrease).

Features

  • Small (screenspace-wise and storage-wise) and fast!
  • NERDFont icons (can be turned off)
  • Interaction with folders, files, etc
  • Fully cross-platform
  • Customisable
  • Colourful!

Porthole.nvim in action

Getting Started

Get started by installing this plugin with your plugin manager of choice:

" Vim-Plugged
Plug 'ash-olorenshaw/porthole.nvim'

then run

:Porthole

to get started!

If you want to have Porthole.nvim use Lister for better speeds - install .NET 8.0 with your method of choice.

e.g.

# Ubuntu
sudo apt update
sudo apt install dotnet8

Settings

Below are the default settings for Porthole.nvim:

require "porthole-nvim".setup {
	width_ratio = 0.2,
	height_ratio = 0.2,
	quit_key = 'q',
	reload_key = 'r',
	action_key = '<CR>',
	use_icons = true
}

Put this either in your init.lua or in a Lua block in your init.vim if you want to tweak things.

When set to true, use_icons will use NERDFont icons.

Credits

Influences/other stuff that is similar:

Releases

No releases published

Packages

No packages published