vimcaps
vimcaps copied to clipboard
New style for NerdFonts and redraws
Thanks for this plugin!
I lost a a few hours trying to write a function using system() for lightline by myself, but it was giving me bugs outputing movement keycodes everywhere.
- I would like to start by proposing an additional style for people using a NerdFonts font:
let names["nerd"] = [[" ", ""], [" ", ""], [" ", ""]]
- And also suggest adding to the readme the ability to trigger statusline redraws in .vimrc:
" redraw statusline every 1000ms for Vimcaps
call timer_start(1000, {-> execute(':let &stl=&stl')}, {'repeat': -1})
- And another suggestion to change locks output order to stick to most keyboards leds (Num, Caps, Scroll):
let names["nerd"] = [[" ", ""], [" ", ""], [" ", ""]]
...
let locks = [2, 1, 4] " capslock, numlock, scrollock
Ex: Left side of my Lightline statusline:
Great suggestions!
I'll try finding some time to do that, or perhaps drop a PR here?