18
GitHub - mattn/vim-usa_president_2020
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
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)
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK