skyline.vim

A minimal yet configurable statusline plugin for Vim

Pure Nim score 16/100 · last commit 2022-06-29 · 6 stars · tests present · no docs generated

Summary

Latest Version Unknown
License Unknown
CI Status Failing
Stars 6
Forks 1
Open Issues 0
Last Commit 2022-06-29
Downloads 0
Last Indexed 2026-08-11 05:07

Installation

nimble install skyline.vim
choosenim install skyline.vim
git clone https://gitlab.com/maister/skyline.vim

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
skyline.vim - - - - - - -

Source

Repository https://gitlab.com/maister/skyline.vim
Homepage https://gitlab.com/maister/skyline.vim
Registry Source gitlab

README

skyline.vim

skyline.vim is a simple, no nonsense statusline plugin for Vim.

It is a much slimmer alternatives to plugins like powerline, vim-airline, or lightline.vim. But, of course, it is not as feature-packed. That being said, if you are looking for a minimal, functional statusline that expands upon (and is easier to configure than) the default :h statusline, look no further.

The notable features of skyline.vim are:

  • a dynamic mode module, whose color and text changes to indicate your editing mode
  • a git branch module, supported by vim-fugitive or plugin-less
  • word and line count modules, perfect Vimmers that are writers
  • show and hide many modules at will with simple g:skyline* variables

Installation

vim-plug

  1. Add to your .vimrc or init.vim
Plug 'https://gitlab.com/maister/skyline.vim'
  1. Install with :PlugInstall

Native :packadd

# NOTE: You can replace `bundle` with any directory name

# Vim instructions
mkdir -p ~/.vim/pack/bundle/start
cd ~/.vim/pack/bundle/start
git clone https://gitlab.com/maister/skyline.vim
# generating helptags for `:h skyline.vim`
vim -u NONE -c "helptags skyline.vim/doc" -c q

# Neovim instructions
mkdir -p  ~/.config/nvim/pack/bundle/start
cd ~/.config/nvim/pack/bundle/start
git clone https://gitlab.com/maister/skyline.vim
# generating helptags for `:h skyline.vim`
nvim -u NONE -c "helptags skyline.vim/doc" -c q

Options

  • g:skyline_gitbranch Set let g:skyline_gitbranch = 1 to show the branch of your file. Defaults to 0.

  • g:skyline_path Set let g:skyline_path = 0 if you only want the tail (file name) of the path. Defaults to 1 for full relative path.

  • g:skyline_preview Set let g:skyline_preview = 1 [Preview] flag on applicable buffers. Defaults to 0.

  • g:skyline_fileformat Set let g:skyline_fileformat = 0 to hide the file format. Defaults to 1.

  • g:skyline_encoding Set let g:skyline_encoding = 0 to hide the file encoding. Defaults to 1.

  • g:skyline_wordcount Set let g:skyline_wordcount = 1 to show the total word count of the file / visual selection. Defaults to 0.

  • g:skyline_linecount Set let g:skyline_linecount = 1 to show the total line count of the file. Defaults to 0.

  • g:skyline_percent Set let g:skyline_percent = 0 to hide the percentage through file. Defaults to 1.

  • g:skyline_lineinfo Set let g:skyline_lineinfo = 0 to hide the line : column position. Defaults to 1.

  • g:skyline_filetype Set let g:skyline_filetype = 0 to hide filetype. Defaults to 1.

  • g:skyline_bufnum Set let g:skyline_bufnum = 0 to hide buffer number. Defaults to 1.

Screenshots

Standard Statusline

"Writer" Statusline

Dynamic Mode Module

Dynamic Word Count Module

Author's Notes