• Stars
    star
    260
  • Rank 156,242 (Top 4 %)
  • Language
    Lua
  • License
    GNU General Publi...
  • Created over 1 year ago
  • Updated 4 months ago

Reviews

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

Repository Details

A minimal, stylish and customizable statusline, statuscolumn, and winbar for Neovim

feline.nvim

A minimal, stylish and customizable statusline, statuscolumn, and winbar for Neovim

Requires Neovim >= 0.7

About

Feline is a Lua statusline, statuscolumn and winbar plugin that prioritizes speed, customizability and minimalism. It's fast and never gets in your way. Feline only provides you with the necessary tools that you need to configure these UI elements to your liking and avoids feature-bloat. It's also extremely customizable and allows you to configure it in any way you wish to. Feline also has reasonable defaults for those who don't want to configure things and just want a good out of the box experience.

The author of feline.nvim has stepped down from maintaining this project. This repository is the plugins new home as per reddit discussion.

Features

  • Ease-of-use.

  • Complete customizability over every component.

  • Built-in providers such as:

    and many more

  • Minimalistic, only provides the bare minimum and allows the user to build their own components very easily.

  • Winbar support.

  • Statuscolumn support.

Requirements

  • Necessary
    • Neovim v0.7 or greater
    • You must have 24-bit RGB color enabled in Neovim (do :help 'termguicolors' in Neovim for more info)
  • Optional

Screenshots

NOTE: Some of these configurations may be outdated and may need to be changed prior to use. A few of the configurations are missing a link because the link to them was removed due to the link no longer being valid.

Default setup: image

Default no-icons setup: image

Config by freddiehaddad: image

Config by crivotz: image

Config by 6cdh: image

Config by luizcoro2: image

Config by rafamadriz (classic):

Gruvbox: image Nord: image

Config by rafamadriz (slant):

Gruvbox: image Nord: image

Config by rafamadriz (VSCode): image

Config by pianocomposer321: image

Config by iBhagwan: image

Config by EdenEast (Colors generated from applied colorscheme)

Nightfox image

Dayfox image

Config by toufyx image

Config by Hitesh-Aggarwal image

Config by Dharmx image

To share your configuration, start a discussion following this example.

Installation

{ 'freddiehaddad/feline.nvim' }
use 'freddiehaddad/feline.nvim'
Plug 'freddiehaddad/feline.nvim'

Getting started

Using the default configuration

Once you've installed Feline, it's extremely easy to get started with it. If you don't mind using the default settings, you can just call Feline's setup() function in your configuration. Like this:

require('feline').setup()

If you want to set up the 'winbar' alongside the statusline, just add this line next to the previous line:

require('feline').winbar.setup()

If you want to set up the 'statuscolumn' alongside the statusline, just add this line next to the previous line:

require('feline').statuscolumn.setup()

Configuring Feline to fit your needs

If the default configuration doesn't suit your needs, Feline provides plenty of customization options enabling you to configure everything exactly how you want. The only prerequisite is knowing the basics of Lua. Refer to the USAGE documentation or use :help feline.txt inside Neovim to read the USAGE docs. Additionally, you may find it helpful to look at the community configurations.

Help

Common issues

Feline crashes or disappears for seemingly no reason

This can be caused by conflicting plugins modifying the winbar, statuscolumn or statusbar along with Feline. The statusline is a core piece of functionality of Feline and can't easily be disabled. However, the optional components can be. If another plugin is modifying any of these components, then do not enable them in Feline.

Reporting issues or feature requests

If you have an issue that you can't find the fix to in the documentation or want to request a feature you think is absolutely necessary, feel free to make a new Issue and I will try my best to look into it. If you want to contribute to Feline, you can make a Pull Request. For more details, please see: CONTRIBUTING

Why Feline?

Now, you might be thinking, why do we need another statusline plugin? We've already got a bunch of brilliant statusline plugins like galaxyline, airline, lualine, expressline etc. and all of them are excellent. So then, why Feline?

I'd like to preface this by saying that what I'm about to say can be (and probably is) very biased and opinionated. Take what's being said here with a grain of salt. All of this is purely my opinion and not a fact by any means, so it's fine to disagree. Moreover, any statement I make here may be incorrect or outdated. In which case, please feel free to make an Issue or Pull Request correcting it.

I think that despite those plugins being neat, each have their own shortcomings. I find those shortcomings as too much to ignore. For example, most of the statusline plugins are not very customizable and the plugins only provide a limited amount of tools and options for customization. Feline, on the other hand, is built for customizability from the ground up. You are not limited in any way by what the plugin provides. You can control every individual component and its location, appearance, everything about it.

Feline is also fast and never gets in your way. It lazy-loads most of its modules, which allows it to start up instantly. Statusline updates with Feline are also blazing fast, which provides for a really smooth experience.

Feline is minimal and only implements the bare minimum required for you to get started. It both expects and invites you to make your own components and providers, because nobody understands you better than yourself. To help you do that, Feline provides all the tools and options you would need while also giving you a solid foundation to build from. One could say that the real goal of Feline is to make creating your own statusline as easy for you as possible, while also providing reasonable defaults that should be enough for most people.

Documentation is another aspect where I found most statusline plugins to be very lacking. Feline is extremely easy to configure and well-documented, which allows anyone to be able to build their statusline as they wish to. It provides example for every option to allow anyone to easily understand the purpose of any option

Lastly, anyone is welcome to contribute to Feline, either by making an Issue or through a Pull Request (see CONTRIBUTING for further information). Any kind of contribution starting from fixing a minor typo to adding a massive new feature is welcome.

And this plugin is named after cats, you won't get that anywhere else.

LICENSE

Feline is licensed under GNU GPLv3. For more info, see: LICENSE.md.

Miscellaneous

Naming

The name of this plugin is a silly pun based on the convention of the names of statusline plugins ending with 'line', while also being named after cats. And in a way this statusline is supposed to be as quick as a cat's instincts, so I guess the name fits.

More Repositories

1

nvim

Neovim configuration from scratch
Lua
8
star
2

base16-nvim

base16-nvim
Vim Script
5
star
3

assembly

A walkthrough of calling functions in AMD64 Assembly
Assembly
4
star
4

swaybar

Swaybar JSON protocol generator
Go
4
star
5

base16-waybar

Base16 theme for waybar based on tinted-theming
CSS
2
star
6

base16-sway

Base16 theme for SwayWM based on tinted-theming
Shell
2
star
7

base16-wofi

Base16 theme for Wofi based on tinted-theming
CSS
1
star
8

lazyvim

Custom LazyVim configuration
Lua
1
star
9

i3wm-net-speed

Network bandwidth module for i3status
Go
1
star
10

monkey.compiler

Source code for Writing a Compiler in Go
Go
1
star
11

monkey.interpreter

Monkey Interpreter based on Writing an Interpreter in Go
Go
1
star
12

base16-alacritty

base16-alacritty
Mustache
1
star
13

go_in_action

Short programs inspired by Go In Action
Go
1
star
14

base16-tmux

base16-tmux
Shell
1
star
15

base16-vim

base16-vim
Vim Script
1
star
16

base16-shell

base16-shell
Shell
1
star
17

base16-foot

base16-foot
Shell
1
star
18

arch-dotfiles

Arch Linux SwayWM and Shell configuration
Shell
1
star
19

swaylock

Sets the swaylock background to a blurred screenshot of your desktop right before locking.
Shell
1
star
20

base16-fzf

base16 colorschemes for fzf
Shell
1
star
21

justification

Multithreaded Text Justification
Go
1
star
22

websocket

Websocket pub/sub demonstration
Go
1
star
23

lrucache

Least recently used (LRU) in-memory cache.
Go
1
star
24

peanut.tmux

Peanut colorscheme for Tmux
Shell
1
star
25

dev-tools

Development tools, editors, and shell configuration
Lua
1
star
26

endianness

Detects the endianness (big or little) on a given platform.
C
1
star
27

envoy-proxy-playground

Docker-based sandbox using client, server, and proxy containers.
Shell
1
star
28

leetcode

LeetCode | top 150 interview problems
Go
1
star
29

wacom

Wacom Tablet/Stylus Window Mapper
Shell
1
star
30

Console-Blackjack-Game

A C++ Blackjack game that runs in the console. The emphasis of this project was to develop a state machine graph to handle game events and actions.
C++
1
star
31

anagrams

Multithreaded anagram grouping written in Go.
Go
1
star
32

render-hex

Generate SVG image from hexadecimal input.
Rust
1
star
33

matrix

Multithreaded Matrix Rotator written in Go.
Go
1
star
34

palindrome

Multithreaded palindrome detector written in Go.
Go
1
star
35

tsl

Tmux session launcher
Shell
1
star
36

dotfiles

Arch Linux System and User Configuration Files
Lua
1
star
37

corrosion

Compiler and Interpreter for the Corrosion programming language
Go
1
star
38

tictactoe

A console version of the classic game written in Go.
Go
1
star
39

checkreboot

A script to check if your computer requires a reboot or if processes need restarting after updating packages.
Shell
1
star
40

rnti

Multithreaded Roman Numeral to Integer converter written in Go.
Go
1
star
41

shuntingyard

Simple calculator using the Shunting Yard algorithm
Go
1
star