Vim: Add Lightline
This commit is contained in:
parent
01c51393c6
commit
f83c78d628
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -25,3 +25,6 @@
|
||||
[submodule ".concession"]
|
||||
path = .concession
|
||||
url = git@gitlab.com:rehashedsalt/concession
|
||||
[submodule ".vim/bundle/lightline.vim"]
|
||||
path = .vim/bundle/lightline.vim
|
||||
url = https://github.com/itchyny/lightline.vim
|
||||
|
1
.vim/bundle/lightline.vim
Submodule
1
.vim/bundle/lightline.vim
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 47765c787ddc981c2eab6105ade84067d164893c
|
19
.vimrc
19
.vimrc
@ -5,6 +5,25 @@ colorscheme gruvbox
|
||||
|
||||
syntax on
|
||||
filetype plugin indent on
|
||||
" Lightline
|
||||
set noshowmode
|
||||
let g:lightline = {
|
||||
\ 'active': {
|
||||
\ 'left': [
|
||||
\ [ 'mode', 'paste' ],
|
||||
\ [ 'readonly', 'filename', 'modified' ],
|
||||
\ [ 'charvaluehex' ]
|
||||
\ ],
|
||||
\ 'right': [
|
||||
\ [ 'lineinfo' ],
|
||||
\ [ 'percent' ],
|
||||
\ [ 'fileformat', 'fileencoding', 'filetype' ]
|
||||
\ ]
|
||||
\ },
|
||||
\ 'component': {
|
||||
\ 'charvaluehex': 'char: 0x%B'
|
||||
\ },
|
||||
\}
|
||||
|
||||
" Automatically read when a file is changed outside of Vim
|
||||
set autoread
|
||||
|
Loading…
Reference in New Issue
Block a user