18

GitHub - mattn/vim-usa_president_2020

 3 years ago
source link: https://github.com/mattn/vim-usa_president_2020
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

vim-usa-president-2020

Indicate USA President 2020 in Vim

vim-usa-president-2020

Usage

Set usa_president_2020#status() into you statusline like below.

set statusline=%<%f\ %h%m%r%=%-14.(%l,%c%V%)\[%{usa_president_2020#status()}\]\ %P

For lightline

let g:lightline = {
\   ...
\   'component_function': {
\     'usa_president_2020': 'usa_president_2020#status',
\   },
\ }

License

MIT

Author

Yasuhiro Matsumoto (a.k.a. mattn)


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK