Skip to content

javiorfo/nvim-minimaline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 

Repository files navigation

nvim-minimaline

Neovim minimal statusline written in Lua

nvim-minimaline is a Neovim statusline centered on icons and minimal configuration.

Caveats

  • Integration with git and LSP
  • This plugin has been developed on and for Linux following open source philosophies.

Installation

Packer

use {
    'javiorfo/nvim-minimaline',

    -- Optional (only if you want file icons in the statusline)
    requires = 'nvim-tree/nvim-web-devicons'
}

Lazy

{
     "javiorfo/nvim-minimaline",
     lazy = false,

     -- Optional (only if you want file icons in the statusline)
     dependencies = { "nvim-tree/nvim-web-devicons" },

     opts = {
         -- Default init. For further configuration read below
         require'minimaline'.setup {}
         -- Disable minimaline in the following filetypes (default is empty table)
         disabled_filetypes = { "NvimTree*" },
    
         -- Enable or disable colors on LSP diagnostics (default is false)
         lsp_colors_enabled = true,
    
         -- Set minimaline colors
         -- Use 256 Xterm colors
         -- foreground is "fg", background is "bg" and additionally "gui" could contain "bold", "italic" or combination "bold,italic"
         -- Set only one option is possible (only fg or only bg, etc)
         style = { fg = 15, bg = 0 }   
     }
}

Configuration

  • Set up in init.lua if Packer is used. If Lazy is used the above.
require'minimaline'.setup {
    -- Disable minimaline in the following filetypes (default is empty table)
    disabled_filetypes = { "NvimTree*" },

    -- Enable or disable colors on LSP diagnostics (default is false)
    lsp_colors_enabled = true,

    -- Set minimaline colors
    -- Use 256 Xterm colors
    -- foreground is "fg", background is "bg" and additionally "gui" could contain "bold", "italic" or combination "bold,italic"
    -- Set only one option is possible (only fg or only bg, etc)
    style = { fg = 15, bg = 0 }
}

Format

MODE GIT BRANCH LSP DIAGNOSTICS BUF_NAME BUF_NR -> STATE LINE_NR/TOTAL_LINES COL_NR ENCODING

modes

buffers

Screenshots

minimaline1

minimaline2

minimaline3

minimaline4


Donate

  • Bitcoin (QR) 1GqdJ63RDPE4eJKujHi166FAyigvHu5R7v
  • Paypal