Skip to content

samjcombs/vi-murph-splash.nvim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

minintro.nvim

Extremely minimalistic intro screen for Neovim

Motivation

Neovim intro screen can be extremely buggy and forced to close automatically by plugins installed such as nvim-tree, bufferline, lualine and many more.
minintro.nvim hijects no-name and directory buffer and draws a simple intro logo. If you just want a simple and lightweight startup intro that works, this plugin is for you.

Screenshot

minintro-screenshot

Installation

-- Lazy
{
    "eoh-bse/minintro.nvim",
    config = true,
    lazy = false
}
-- Packer
use {
    "eoh-bse/minintro.nvim",
    config = function() require("minintro").setup() end
}

Configuration

There is only one option available for minintro.nvim and that is color of the intro logo. There is no need to create a separate config file. Pass the config directly in your plugin installation file

-- Lazy
{
    "eoh-bse/minintro.nvim",
    opts = { color = "#98c379" }
    config = true,
    lazy = false
}
-- Packer
use {
    "eoh-bse/minintro.nvim",
    config = function() require("minintro").setup({ color = "#98c379" }) end
}

Things to be aware of

If you have some sort of tabline plugin such as bufferline, vim.opt.showtabline will be overridden to 1. This forces display of a buffer tab even when there is only one. If you do not wanna see the tab, you can modify bufferline's configuration like the following:

require("bufferline").setup({
    options = {
        always_show_bufferline = false
    }
})

The above configuration will effectively set vim.opt.showtabline to 2, meaning the tabs will only start to display when there is more than one buffer open

Reference Configuration

If you want to see a reference neovim configuration, please refer to this nvim-setup

About

ViMurph nvim Splash screen

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%