vim: tweak statusline
This commit is contained in:
parent
be3e854f7e
commit
14a8260771
1 changed files with 5 additions and 10 deletions
|
@ -35,7 +35,7 @@ set shiftwidth=0 " use 'tabstop' spaces for (auto)indent step
|
||||||
set shortmess+=I " don't show the intro message when starting Vim
|
set shortmess+=I " don't show the intro message when starting Vim
|
||||||
set showbreak="-> " " prefix for wrapped lines
|
set showbreak="-> " " prefix for wrapped lines
|
||||||
set showmatch " briefly jump to matching bracket if insert one
|
set showmatch " briefly jump to matching bracket if insert one
|
||||||
set noshowmode " don't show mode (using airline instead)
|
set noshowmode " don't show mode (shown in statusline instead)
|
||||||
set sidescrolloff=3 " min. number of columns to left and right of cursor
|
set sidescrolloff=3 " min. number of columns to left and right of cursor
|
||||||
set smartcase " case sensitive search if pattern has uppercase chars
|
set smartcase " case sensitive search if pattern has uppercase chars
|
||||||
set smartindent " use smart autoindenting
|
set smartindent " use smart autoindenting
|
||||||
|
@ -99,22 +99,17 @@ call plug#begin('$XDG_DATA_HOME/nvim/plugged')
|
||||||
\ 'active': {
|
\ 'active': {
|
||||||
\ 'left': [
|
\ 'left': [
|
||||||
\ [ 'mode', 'paste' ],
|
\ [ 'mode', 'paste' ],
|
||||||
\ [ 'gitbranch', 'readonly', 'modified' ],
|
\ [ 'readonly', 'modified' ],
|
||||||
\ [ 'relativepath' ],
|
\ [ 'relativepath' ],
|
||||||
\ ],
|
\ ],
|
||||||
\ 'right': [
|
\ 'right': [
|
||||||
\ [ 'lineinfo' ],
|
\ [ 'lineinfo' ],
|
||||||
\ [ 'percent' ],
|
\ [ 'percent_total' ],
|
||||||
\ [ 'filetype', 'fileencoding', 'fileformat' ],
|
\ [ 'filetype', 'fileencoding', 'fileformat' ],
|
||||||
\ ]
|
\ ]
|
||||||
\ },
|
\ },
|
||||||
\ 'component_function': {
|
\ 'component': { 'percent_total': '%3p%%×%L' },
|
||||||
\ 'gitbranch': 'gitbranch#name',
|
\ 'subseparator': { 'left': '', 'right': '|' },
|
||||||
\ },
|
|
||||||
\ 'subseparator': {
|
|
||||||
\ 'left': '',
|
|
||||||
\ 'right': '|',
|
|
||||||
\ },
|
|
||||||
\ }
|
\ }
|
||||||
Plug 'vim-scripts/srec.vim'
|
Plug 'vim-scripts/srec.vim'
|
||||||
highlight link srecStart Comment
|
highlight link srecStart Comment
|
||||||
|
|
Loading…
Add table
Reference in a new issue