nnoremap <CR> :xa<CR>

set shortmess+=F

" colorscheme is green (2) on black (16)
hi StatusLine cterm=none
hi StatusLine ctermbg=16
hi StatusLine ctermfg=1
hi StatusLineNC cterm=none
hi StatusLineNC ctermbg=16
hi StatusLineNC ctermfg=2

fun! VincaStatus(filename)
	" The command
	" set statusline=%{VincaStatus(expand(\"\%:t:r\"))}
	" will apply this format
	" Create a status which looks like ----- filename ------ "
	let line = "  " . a:filename . "  "
	while strlen(line) < winwidth(0) - 1
		let line = "-" . line . "-"
	endwhile	
	if strlen(line) == winwidth(0) - 1
		let line = line . "-"
	endif
	return line
endfun
set statusline=%{VincaStatus(expand(\"\%:t:r\"))}

" hide the blue tildes which are normally seen at the end of each file
set fillchars=eob:\ ,
