dot

packages and services management
Log | Files | Refs | README

commit e35b0d1cd8f297e6ca4527a7ba2b1b1b8305bfb5
parent 7a10512a8c6bb25e339ca047288e7f59d7359868
Author: josuah <mail@josuah.net>
Date:   Fri, 16 Sep 2016 23:59:33 -0400

Ruler as statusline

Diffstat:
Mvim/.vimrc | 20+++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/vim/.vimrc b/vim/.vimrc @@ -10,13 +10,14 @@ "------------------------------------------------------------------------------- set autoindent copyindent " Indentation -set laststatus=2 ruler " Statusline +set laststatus=0 " Status set smartcase ignorecase " Case set hlsearch showmatch " Highlight set list listchars=tab::\ ,trail:.,nbsp:.,extends:>,precedes:< " Listchars -set ruler number numberwidth=4 cursorline nowrap " Interface -set backupdir=~/.cache/vim// -set directory=~/.cache/vim// +set ruler rulerformat=%40(%#Ruler#\ %t%4m%=%l,%-7(%c%V%)%4P\ %*%) +set number numberwidth=4 cursorline nowrap " Interface +set scrolloff=3 " Scroll +set backupdir=~/.cache/vim// directory=~/.cache/vim// " Backup, cache set virtualedit=block @@ -53,7 +54,7 @@ map col :set list !<cr> :set list ?<cr> map con :set number !<cr> :set number ?<cr> map cop :set paste !<cr> :set paste ?<cr> map coh :set hlsearch !<cr> :set hlsearch ?<cr> -map cov :set <c-r>=(&ve =~# "all") ? 've-=all' : 've+=all'<cr><cr> :set ve ?<cr> +map cov :set <c-r>=(&ve =~# "all") ? 've=block' : 've=all'<cr><cr> :set ve ?<cr> map ]<leader> mzo<Esc>k`z map [<leader> mzO<Esc>k`z<C-e> @@ -69,11 +70,12 @@ iabbrev =_ <Esc>v0x80a=<esc>gvpA " HIGHLIGHTS "------------------------------------------------------------------------------- -highlight NonText cterm=bold ctermfg=0 -highlight SpecialKey cterm=bold ctermfg=0 +highlight NonText cterm=bold ctermfg=0 +highlight SpecialKey cterm=bold ctermfg=0 highlight Cursorline cterm=bold -highlight StatusLine cterm=bold ctermfg=3 -highlight StatusLineNC cterm=none ctermfg=7 +highlight Ruler cterm=reverse ctermfg=3 +highlight StatusLine cterm=bold ctermfg=3 +highlight StatusLineNC cterm=bold ctermfg=7 highlight VertSplit cterm=none