mgutz / minline

Minimal status line for Vim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

minline

minline is a simple status line for Vim

It's meant to be forked. Got tired of issues with using statusline plugins and conflicts with other plugins.

Supports these plugins

Options

g:minlineWithGitBranchCharacter

minline statusline supports Tim Pope's fugitive plugin.

The g:minlineWithGitBranchCharacter option specifies whether to display Git branch details using the Unicode Git branch character U+E0A0. By default Git branches displayed in the statusline will not use that character since many monospace fonts will not contain it. However, some modern fonts, such as Fira Code and Iosevka, do contain the Git branch character.

If g:minlineWithGitBranchCharacter is unset the default value from the fugitive plugin will be used.

To display the Unicode Git branch character please add the following to your vimrc:

let g:minlineWithGitBranchCharacter = 1

g:minlineHonorUserDefinedColors

The g:minlineHonorUserDefinedColors option specifies whether user-defined colors should be used instead of the default colors from the minline color scheme.

let g:minlineHonorUserDefinedColors = 1

For example, these user-defined colors mimic Vim's default statusline colors:

highlight! link User1 StatusLine
highlight! link User2 DiffAdd
highlight! link User3 DiffChange
highlight! link User4 DiffDelete
highlight! link User5 StatusLine
highlight! link User6 StatusLine
highlight! link User7 StatusLine

License

Mdified from moonfly

MIT

About

Minimal status line for Vim


Languages

Language:Vim Script 100.0%