dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit a9820d920a0c850a8b1b90a7ea5ba56a2c23d1b0
parent 74c2de6a4d3aea07f692fe460f3d6b299df8e0da
Author: Alex Balgavy <EMAIL>
Date:   Sun, 13 Jan 2019 22:38:30 +0100

Statusline now displays shiftwidth value


Former-commit-id: 1e1fb0d689f721473cf2a1d0eb87363b1fb27f61
Diffstat:
Mvim/general.vimrc | 16++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/vim/general.vimrc b/vim/general.vimrc @@ -68,14 +68,14 @@ set statusline+=\ %m%r%w " Flags (modified, reado if exists('g:loaded_fugitive') set statusline+=\ %{FugitiveStatusline()} endif -set statusline+=\ \ CWD:\ %r%{getcwd()}%h " Current working directory -set statusline+=%= " Left/right separator -set statusline+=\ %y " File type -set statusline+=\ [%{&expandtab?'spaces':'tabs'}, " Using spaces or tabs -set statusline+=%{strlen(&tabstop)?&tabstop:'none'}] " Spaces in a tab -set statusline+=\ %l/%L\ " Cursor line/total lines -set statusline+=\ B%n " Buffer number -set statusline+=\ \ %{strftime(\"%H:%M\")} " Time +set statusline+=\ \ CWD:\ %r%{getcwd()}%h " Current working directory +set statusline+=%= " Left/right separator +set statusline+=\ %y " File type +set statusline+=\ [%{&expandtab?'spaces':'tabs'}, " Using spaces or tabs +set statusline+=%{strlen(&shiftwidth)?&shiftwidth:'none'}] " Spaces in a tab +set statusline+=\ %l/%L\ " Cursor line/total lines +set statusline+=\ B%n " Buffer number +set statusline+=\ \ %{strftime(\"%H:%M\")} " Time " Set 80-char column (off by default) " set colorcolumn=80