dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit addb46d2b016e934e440ebd58ce392f0a13b2adb
parent 982b997c5194cb52f4fe42c6b8b8b223272fcf74
Author: Janis Pagel <janis.pagel@ims.uni-stuttgart.de>
Date:   Sun,  4 Nov 2018 02:40:03 +0100

Enable custom status line

Diffstat:
Mvim/vimrc | 14+++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/vim/vimrc b/vim/vimrc @@ -1,5 +1,4 @@ set encoding=utf-8 " Encoding -set ruler set number " Display line numbers set relativenumber " Display relative line numbers @@ -25,6 +24,19 @@ if has("autocmd") au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif endif +" status line +set laststatus=2 +set statusline= +set statusline+=%7*\[%n] "buffernr +set statusline+=%1*\ %<./%t\ "Filename +set statusline+=%2*\ %y\ "FileType +set statusline+=%3*\ %{''.(&fenc!=''?&fenc:&enc).''} "Encoding +set statusline+=%3*\ %{(&bomb?\",BOM\":\"\")}\ "Encoding2 +set statusline+=%4*\ %{&ff}\ "FileFormat (dos/unix..) +set statusline+=%5*\ %{&spelllang}\ "Spellanguage +set statusline+=%8*\ %=\ %l:%v\ "Rownr:Colnr +set statusline+=%0*\ \ %m%r%w\ %P\ \ "Modified? Readonly? Top/bot. + " vim-plug section call plug#begin('~/.vim/plugged') Plug 'vimwiki/vimwiki'