Skip to content

edte/lualine-ext

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

lualine-time

Time and date display extension for lualine.nvim

Why??

I always forgot to attend course in collegue while happy programming at dormitory. So I made this plugin to always remind me the current time.

Screenshot

lualine-time

Use

Add the component ctime or cdate to one of your lualine sections.

require'lualine'.setup {
	...
	sections = {
		lualine_x = {
			'cdate',
			'ctime',
			...
		}
	}
}

Installation

Plug 'archibate/lualine-time'
use 'archibate/lualine-time'

Example configuration

use {
    'nvim-lualine/lualine.nvim',
    'archibate/lualine-time',
    requires = { 'kyazdani42/nvim-web-devicons', opt = true },
    config = function()
    require'lualine'.setup {
        options = {
            theme = 'auto',
        },
        sections = {
            lualine_a = {'mode'},
            lualine_b = {'branch', 'diff', 'diagnostics'},
            lualine_c = {'filename'},
            lualine_x = {'ctime'},
            lualine_y = {'progress'},
            lualine_z = {'location'},
        },
        inactive_sections = {
            lualine_a = {},
            lualine_b = {},
            lualine_c = {'filename'},
            lualine_x = {'location'},
            lualine_y = {},
            lualine_z = {},
        },
        tabline = {},
        winbar = {},
        inactive_winbar = {},
        extensions = {}
    }
    end,
}

About

extension for lualine.nvim

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%