Skip to content

Neovim Winbar: Elevating Awesome. Simple, Dynamic, Navic-Powered.

License

Notifications You must be signed in to change notification settings

Abstract-IDE/abstract-winbar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation


abstract-winbar

Neovim Winbar: Elevating Awesome. Simple, Dynamic, Navic-Powered.

Contributors Stargazers Issues License

Table Of Contents

About The Project

abstract-winbar is a Neovim plugin that enhances code editing by providing a dynamic status bar. Built on top of the Navic plugin, it offers essential file information, modification indicators, and seamless integration with Navic for efficient code navigation. Screenshot

Getting Started

Prerequisites

nvim-navic
nvim-web-devicons

Installation

use your favorite plugin manager

{
	"Abstract-IDE/abstract-winbar",
	dependencies = {
		"SmiteshP/nvim-navic",
		"kyazdani42/nvim-web-devicons",
	},
},

Usage

require("abstract-winbar").setup()
default config
require("abstract-winbar").setup({
	exclude_filetypes = {
		"",
		"alpha",
		"dap-repl",
		"dap-terminal",
		"dapui_breakpoints",
		"dapui_console",
		"dapui_scopes",
		"dapui_stacks",
		"dapui_watches",
		"dashboard",
		"DressingSelect",
		"harpoon",
		"help",
		"Jaq",
		"lab",
		"lazy",
		"lir",
		"Markdown",
		"mason",
		"neo-tree",
		"neogitstatus",
		"notify",
		"NvimTree",
		"Outline",
		"packer",
		"spectre_panel",
		"startify",
		"TelescopePrompt",
		"toggleterm",
		"Trouble",
	},
})
example: configure navic.nvim+abstract-winbar
local _winbar, winbar = pcall(require, "abstract-winbar")
local _navic, navic = pcall(require, "nvim-navic")
if not _winbar or not _navic then
	return
end

navic.setup({
	highlight = true,
	separator = " ",
	depth_limit = 0,
	depth_limit_indicator = "..",

	icons = {
		File = "",
		Module = "",
		Namespace = "",
		Package = "",
		Class = "",
		Method = "",
		Property = "",
		Field = "",
		Constructor = "",
		Enum = "",
		Interface = "",
		Function = "",
		Variable = "",
		Constant = "",
		String = "",
		Number = "",
		Boolean = "",
		Array = "",
		Object = "",
		Key = "",
		Null = "",
		EnumMember = "",
		Struct = "",
		Event = "",
		Operator = "",
		TypeParameter = "",
	},
})

winbar.setup({
	exclude_filetypes = {},
})

License

Distributed under the MIT License. See LICENSE for more information.

Acknowledgements

About

Neovim Winbar: Elevating Awesome. Simple, Dynamic, Navic-Powered.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages