Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 556 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 556 Bytes

vim-usa-election-2024

Indicate USA election 2024 in Vim

vim-usa-election-2024

Usage

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

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

For lightline

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

License

MIT

Author

Yasuhiro Matsumoto (a.k.a. mattn)