All Projects → maciakl → Vim Neatstatus

maciakl / Vim Neatstatus

Neat Status Line Plugin for Vim

Labels

Projects that are alternatives of or similar to Vim Neatstatus

Bufkill.vim
Unload/delete/wipe a buffer, keep its window(s), display last accessed buffer(s)
Stars: ✭ 61 (-15.28%)
Mutual labels:  viml
Vim Startuptime Benchmark
Stars: ✭ 65 (-9.72%)
Mutual labels:  viml
Vim Spotifysearch
Search spotify in Vim and play songs.
Stars: ✭ 71 (-1.39%)
Mutual labels:  viml
The Nerd Tree
A tree explorer plugin for navigating the filesystem
Stars: ✭ 62 (-13.89%)
Mutual labels:  viml
Tcomment
An extensible & universal comment plugin that also handles embedded filetypes
Stars: ✭ 64 (-11.11%)
Mutual labels:  viml
Vim Scmdiff
Vim script to highlight lines changed from a base version in SCM
Stars: ✭ 65 (-9.72%)
Mutual labels:  viml
Colorsbox
Stars: ✭ 61 (-15.28%)
Mutual labels:  viml
Underscore.vim
Vim script utility library 💓 The sky is the limit!
Stars: ✭ 72 (+0%)
Mutual labels:  viml
Camelcasemotion
Motion through CamelCaseWords and underscore_notation.
Stars: ✭ 64 (-11.11%)
Mutual labels:  viml
Vimmate
Custom vim like Textmate for Ruby on Rails development
Stars: ✭ 70 (-2.78%)
Mutual labels:  viml
Html5 Syntax.vim
HTML5 syntax file for vim.
Stars: ✭ 62 (-13.89%)
Mutual labels:  viml
Vim Eighties
Automatically resizes your windows
Stars: ✭ 64 (-11.11%)
Mutual labels:  viml
Archidroid Legacy
Legacy ArchiDroid Repo / New -> https://github.com/ArchiDroid/ArchiDroid
Stars: ✭ 68 (-5.56%)
Mutual labels:  viml
Showmarks
Visually shows the location of marks.
Stars: ✭ 61 (-15.28%)
Mutual labels:  viml
Javascript Indent
Javascript indenter (HTML indent is included)
Stars: ✭ 71 (-1.39%)
Mutual labels:  viml
Vim Ruby Conque
Vim plugin to display ruby, rake, and rspec output colorized in ConqueTerm. Note: repeated runs of conqueterm may cause it to eat your shell ttys. I am no longer maintaining this.
Stars: ✭ 61 (-15.28%)
Mutual labels:  viml
Xvim
Powerfull vim configuration for C/C++/GO/JS coder(好用的vim插件集成包,支持C/C++/GO/JS)
Stars: ✭ 65 (-9.72%)
Mutual labels:  viml
Rainbow
Rainbow Parentheses Improved
Stars: ✭ 72 (+0%)
Mutual labels:  viml
Vim Git Branch Info
A Vim script to return info about the Git branches.
Stars: ✭ 71 (-1.39%)
Mutual labels:  viml
Bringing Vim To The People
An lo, on the fourth day he did step down from the mountain, and with him VIM did follow . . . .
Stars: ✭ 69 (-4.17%)
Mutual labels:  viml

Neat Status Line

endorse

Yet another status line plugin. The aim of Neat Status is to provide neat, and simple UI with just basic information and no bells and whistles for those users who consider things like Powerline to be overkill.

Neat Status is loosely based on the status line script created by Tomas Restrepo. The original can be seen here:

The basic idea is roughly the same, but the script was heavily modified and made more customizable and modular to work better as a plugin rather than just a .vimrc snippet.

Note: this is not a drop-in replacement for Powerline but rather a much simpler and streamlined plugin. The aim of the project is not to achieve one to one feature compatibility but merely to implement a narrow subset of said features for users who want something simple and easy. If you would like a robust, feature-full Powerline replacement you should check out Vim-Airline.

Screenshots

Here is how this status line will look in Gvim on Windows with the Solarized color scheme:

Neat Statusline

Information provided from left to right:

  • Mode Indicator - changes color depending on the editor mode
  • Server/Session - displays vim servername (graphical) or terminal name (cli)
  • File path for the file associated with current buffer
  • File type (eg. python, ruby, etc..)
  • File format (eg. unix, dos, etc..)
  • File encoding (eg. utf8, latin1, etc..)
  • Buffer number
  • Current line, total number of lines (purple box)
  • Percentage of file read
  • Relative column number (from first character)
  • Absolute column number (from start of line)
  • Modified / Unmodified (blue box)

Installation

To install with Pathogen:

cd ~/.vim/bundle
git clone git://github.com/maciakl/vim-neatstatus.git

If your .vim is under source control with Git do this instead:

cd ~/.vim
git submodule add git://github.com/maciakl/vim-neatstatus.git bundle/vim-neatstatus
git submodule init
git submodule update

Installing without pathogen:

  • Copy neatstatus.vim to ~/.vim/after/plugins directory

Configuration

You can configure the colors of the status line elements by defining the following global vars in your .vimrc:

  • g:NeatStatusLine_color_normal - the color of the mode indicator when in normal mode
  • g:NeatStatusLine_color_insert - the color of the mode indicator when in insert mode
  • g:NeatStatusLine_color_replace - the color of the mode indicator when in replace mode
  • g:NeatStatusLine_color_position - the color of the cursor position box (and session box)
  • g:NeatStatusLine_color_line - the color of the line number in the cursor position box
  • g:NeatStatusLine_color_modified - the color of the "modified" indicator on the right
  • g:NeatStatusLine_color_filetype - the color of the filetype box

Make sure you define values both for graphical and terminal clients when you do this. Here is a quick example that shows you hot to redefine the insert mode colors:

let g:NeatStatusLine_color_insert = 'guifg=#ffffff guibg=#ff0000 gui=bold ctermfg=15 ctermbg=9 cterm=bold'

Note that these only affect the small boxes created by NeatStatus. Your status line will remain the default color as per your color scheme. This works very well if you also happen to use the Obvious-Mode plugin.

If you want to style your status line, you can do it in your .vimrc normally using the hi StatusLine and hi StatusLineNC commands.

You can also change the separator character that divides the boxes by changing:

  • g:NeatStatusLine_separator

By default the separator is set to the pipe | character. You can disable the separator by setting it to empty string.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].