• Stars
    star
    612
  • Rank 70,482 (Top 2 %)
  • Language
    Lua
  • License
    MIT License
  • Created about 2 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🎈 Floating statuslines for Neovim, winbar alternative

incline.nvim Version v0.0.3 License: MIT Test Status

Lightweight floating statuslines, best used with Neovim's global statusline (set laststatus=3).

Screenshot of Incline.nvim running in Neovim

See more screenshots and share your own in the showcase.

Installation

Packer:

use "b0o/incline.nvim"

Usage

require('incline').setup()

Configuration

Incline's default configuration:

require('incline').setup {
  debounce_threshold = {
    falling = 50,
    rising = 10
  },
  hide = {
    cursorline = false,
    focused_win = false,
    only_win = false
  },
  highlight = {
    groups = {
      InclineNormal = {
        default = true,
        group = "NormalFloat"
      },
      InclineNormalNC = {
        default = true,
        group = "NormalFloat"
      }
    }
  },
  ignore = {
    buftypes = "special",
    filetypes = {},
    floating_wins = true,
    unlisted_buffers = true,
    wintypes = "special"
  },
  render = "basic",
  window = {
    margin = {
      horizontal = 1,
      vertical = 1
    },
    options = {
      signcolumn = "no",
      wrap = false
    },
    padding = 1,
    padding_char = " ",
    placement = {
      horizontal = "right",
      vertical = "top"
    },
    width = "fit",
    winhighlight = {
      active = {
        EndOfBuffer = "None",
        Normal = "InclineNormal",
        Search = "None"
      },
      inactive = {
        EndOfBuffer = "None",
        Normal = "InclineNormalNC",
        Search = "None"
      }
    },
    zindex = 50
  }
}

See incline.txt for full documentation of all configuration options.

Changelog

29 Apr 2022                                                             v0.0.3
  Breaking: window.options.winhighlight is deprecated
  Feat: Add highlight support
  Feat: Support hiding Incline on the only window in a tabpage
  Feat: Support hiding Incline on the focused window
  Feat: Allow tables of highlight args as winhighlight values
  Feat: Add preset render functions
  Feat: Add functions to globally enable/disable/toggle Incline
  Feat: Add config.window.options
  Feat: Add configuration transforms
  Tweak: Display notification upon invalid config rather than throwing error
  Tweak: Allow rising & falling debounce threshold to be configured separately
  Fix: Destroy child when an existing win becomes ignored
  Fix: Handle when manager.win_get_tabpage passed nil or 0
  Fix: check winline _buf and _win for nil
  Misc: Refactor, fix bugs, and improve stability

14 Apr 2022                                                             v0.0.2
  Feat: Make position, size, and content configurable
  Feat: Validate user configuration against schema
  Docs: Add documentation
  Tests: Add tests for configuration and schema
  Misc: Refactor, fix bugs, and improve stability

07 Apr 2022                                                             v0.0.1
  Initial Release

License

© 2022-2023 Maddison Hellstrom and contributors

Released under the MIT License.

More Repositories

1

SchemaStore.nvim

🛍 JSON schemas for Neovim
Lua
601
star
2

surfingkeys-conf

🏄 A SurfingKeys config which adds 180+ key mappings & 50+ search engines
JavaScript
338
star
3

mapx.nvim

🗺 A better way to create key mappings in Neovim
Lua
251
star
4

nvim-conf

☄ Maddison's Neovim configuration!
Lua
119
star
5

awesome-by-example

😎 A curated list of example-based learning resources.
113
star
6

aws-favicons-webextension

☁ Tired of all your AWS browser tabs having the same orange cube favicon? This WebExtension fixes that.
JavaScript
95
star
7

tmux-autoreload

🧐 Automatically reload your tmux config file on change
Shell
64
star
8

apple-autofill-domains

Apple's allowed autofill domains
62
star
9

swaynagmode

⌨ swaynag wrapper for the love of keybindings
Shell
41
star
10

starred

🌟 Maddison's starred repos, updated daily!
38
star
11

snag

📸 snag screenshots and screencasts in Sway
Shell
28
star
12

zfzf

zfzf is a fzf-based file picker for zsh which allows you to quickly navigate the directory hierarchy
Shell
22
star
13

neuron-extras

Auto-generate a Table of Contents for your Neuron Zettelkasten.
JSONiq
13
star
14

updoot

🎺 Unify the update process for your entire system
Shell
11
star
15

arch-lwc

🚛 Create & run lightweight Arch Linux containers
Shell
10
star
16

clipshare

Securely synchronize your clipboard between computers
JavaScript
6
star
17

refind-genconf

refind-genconf makes it easier to generate rEFInd configurations for multiple kernels
Shell
5
star
18

spotify-export

Export a listing of your saved tracks as JSON
JavaScript
5
star
19

b0o

👻
JavaScript
5
star
20

dotfiles

🫥 Maddison's dotfiles
4
star
21

alacritty-conf

Maddison's alacritty configuration!
Shell
4
star
22

zsh-extras

Extra completions and functions for zsh!
Shell
3
star
23

tmux-conf

Maddison's tmux configuration!
Shell
2
star
24

maddison.io

maddison's github pages blog
Dhall
2
star
25

I-m-using-GitHub-like-Twitter-now

This is my first “tweet”. I guess you’d call it a gleet? Or a giit? Hubeet? A hut? Octomew?
2
star
26

nextdns-logs-export

Export your NextDNS logs
JavaScript
2
star
27

zsh-conf

Maddy's zsh configuration!
Shell
2
star
28

blender.nvim

Develop Blender Add-ons with Neovim
Lua
2
star
29

btrfs-extras

extra tools for managing btrfs and btrbk. Warning: experimental - don't use anything you find here and expect your filesystem to survive
Shell
2
star
30

wezterm-conf

Lua
1
star
31

Steam-HiDPI

HiDPI skin for Steam [WIP]
JavaScript
1
star
32

builder.vim

A VimL DSL for building Patterns and Syntax Rules
Vim Script
1
star
33

advent-of-code-2023-jq

Advent of Code 2023 in Jq
jq
1
star
34

Mulberry

Mulberry is a single-file Lua BDD library for testing Neovim plugins.
Lua
1
star
35

playground

A local Golang playground optimized for tmux/vim environments
Go
1
star
36

synergy-core

A fork of symless/synergy-core 1.9 with some added features
C++
1
star
37

ndbproxy

A proxy/bridge that runs between a Node.JS debug server and a Chromium devtools client and adds some additional features.
Python
1
star
38

suto

get sudo timeout status
Shell
1
star
39

vim-HiLinkTrace

Vim Script
1
star
40

lavi.nvim

A soft and sweet colorscheme for Neovim. (WIP)
Lua
1
star