From e101d5951bf66bc78d2660116b04f72e38b5b0dd Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sun, 19 May 2013 00:17:31 -0400 Subject: vim, ftplugin, sisu.vim, statusline --- data/doc/sisu/CHANGELOG_v4 | 2 ++ data/doc/sisu/CHANGELOG_v5 | 2 ++ .../conf/editor-syntax-etc/vim/ftplugin/sisu.vim | 34 +++++++++++++++++++++- 3 files changed, 37 insertions(+), 1 deletion(-) (limited to 'data') diff --git a/data/doc/sisu/CHANGELOG_v4 b/data/doc/sisu/CHANGELOG_v4 index eaf5b0ce..02004006 100644 --- a/data/doc/sisu/CHANGELOG_v4 +++ b/data/doc/sisu/CHANGELOG_v4 @@ -30,6 +30,8 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_4.1.1.orig.tar.xz sisu_4.1.1.orig.tar.xz sisu_4.1.1-1.dsc +* vim, ftplugin, sisu.vim, statusline + %% 4.1.0.orig.tar.xz (2013-05-08:18/3) http://sources.sisudoc.org/gitweb/?p=code/sisu.git;a=shortlog;h=refs/tags/sisu_4.1.0 http://sources.sisudoc.org/gitweb/?p=code/sisu.git;a=shortlog;h=refs/tags/debian/sisu_4.1.0-1 diff --git a/data/doc/sisu/CHANGELOG_v5 b/data/doc/sisu/CHANGELOG_v5 index ed9e7fe5..d617b4b2 100644 --- a/data/doc/sisu/CHANGELOG_v5 +++ b/data/doc/sisu/CHANGELOG_v5 @@ -30,6 +30,8 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_5.0.1.orig.tar.xz sisu_5.0.1.orig.tar.xz sisu_5.0.1-1.dsc +* vim, ftplugin, sisu.vim, statusline + %% 5.0.0.orig.tar.xz (2013-05-08:18/3) http://sources.sisudoc.org/gitweb/?p=code/sisu.git;a=shortlog;h=refs/tags/sisu_5.0.0 http://sources.sisudoc.org/gitweb/?p=code/sisu.git;a=shortlog;h=refs/tags/debian/sisu_5.0.0-1 diff --git a/data/sisu/conf/editor-syntax-etc/vim/ftplugin/sisu.vim b/data/sisu/conf/editor-syntax-etc/vim/ftplugin/sisu.vim index a72251da..1da73012 100644 --- a/data/sisu/conf/editor-syntax-etc/vim/ftplugin/sisu.vim +++ b/data/sisu/conf/editor-syntax-etc/vim/ftplugin/sisu.vim @@ -30,7 +30,39 @@ \set guioptions-=T \endif :set paste -:set statusline=%f%m%r%h%w\ [type=%Y]\ [format=%{&ff}]\ [%v:%l/%L\ %p%%] +"% statusline +:set statusline= " +"% [ buffer number ] +:set statusline +=%#Normal#[ " +:set statusline +=%#Identifier#%n " buffer number +:set statusline +=%#PreProc#%M " modified flag +:set statusline +=%#Normal#] " +"% [ file name (& modified?) ] +:set statusline +=%#Normal#\ [ " +:set statusline +=%#Statement#%<%t " full path +:set statusline +=%#PreProc#%M " modified flag +:set statusline +=%#Normal#] " +"% [ column : line number / number of lines in file, percentage of file ] [%v:%l/%L\ %p%%] +:set statusline +=%#Normal#\ [ " +:set statusline +=%#Identifier#%v " column & line +:set statusline +=%#Normal#: " +:set statusline +=%#Identifier#%l " column & line +:set statusline +=%#SpecialKey#/%L\ " total lines +:set statusline +=%#Identifier#%p " percentage of file +:set statusline +=%#SpecialKey#%% " +:set statusline +=%#Normal#] " +"% [ file format : file type ] +:set statusline +=%#Normal#\ [ " +:set statusline +=%#SpecialKey#%{&ff} " file format +:set statusline +=%#Normal#: " +:set statusline +=%#SpecialKey#%Y " file type +:set statusline +=%#Normal#] " +"% [ character under cursor ] +:set statusline +=%#Normal#\ [ " +:set statusline +=%#String#0x%04B " character under cursor +:set statusline +=%#Normal#]\ " +"% Status line background +:set statusline +=%#MatchParen#\ " :set laststatus=2 " status line always on "% textwrap :set whichwrap=<,>,h,l,[,] -- cgit v1.2.3