better statusline and .md highlight
This commit is contained in:
@@ -29,7 +29,7 @@ color settings:
|
||||
|
||||
```
|
||||
0: #000000 (snowhite)
|
||||
0: #101010 (pitchblack)
|
||||
0: #101010 (pitchblack)
|
||||
1: #c00000
|
||||
2: #00c000
|
||||
3: #c0c000
|
||||
|
||||
@@ -72,8 +72,7 @@ augroup END
|
||||
|
||||
augroup trailingwhite
|
||||
autocmd!
|
||||
autocmd BufWinEnter,InsertLeave * if &ft != 'markdown'
|
||||
\ | match TrailingWhite '\v\s+$' | endif
|
||||
autocmd BufWinEnter,InsertLeave * match TrailingWhite
|
||||
autocmd InsertEnter * match TrailingWhite ''
|
||||
augroup END
|
||||
"}}}
|
||||
|
||||
@@ -14,9 +14,9 @@ set statusline=
|
||||
set statusline+=%w%q%h "Is it help/preview/loclist?
|
||||
set statusline+=%{GetGitStatus()} "Is it git?
|
||||
set statusline+=\
|
||||
set statusline+=%f "What's the filename?
|
||||
set statusline+=%.40f "What's the filename?
|
||||
set statusline+=%m%r "Is it modifiable/readonly?
|
||||
set statusline+=[%LL] "What are total lines?
|
||||
set statusline+=[%LL] "How many lines?
|
||||
set statusline+=%= "Go to the right ---->
|
||||
set statusline+=\
|
||||
set statusline+=%< "Trim here
|
||||
@@ -24,6 +24,6 @@ set statusline+=%{&fileencoding?&fileencoding:&encoding}
|
||||
set statusline+=\|%{&fileformat} "Unix/Win?
|
||||
set statusline+=%y "What's the type of the file?
|
||||
set statusline+=\
|
||||
set statusline+=<x%02B> "Character under cursor...
|
||||
set statusline+=@%2c "at column
|
||||
set statusline+=x%02B "Character under cursor...
|
||||
set statusline+=\ @%-2c "at column
|
||||
set statusline+=\
|
||||
|
||||
Reference in New Issue
Block a user