/vim-clock-tick

22:23 :clock10: Add a ticking clock to vim-airline-clock

Primary LanguageVim Script

Vim Clock Tick

Add a ticking clock face to airline-clock

Why?

Having a clock in vim is helpful when you're working in full screen. Adding the icon just serves as an indication that you're looking at the time. There is no reason for having it animated.

Installing

Using pathogen, clone into ~/.vim/bundles/vim-clock-tick

Configuration

  • Changing the clock format

    let g:airline#extensions#clock_tick#format = '%H:%M:%S'
  • The tick speed by default depends on the hour. To change it to minutes use 'M' and seconds use 'S'.

    let g:airline#extensions#clock_tick#delta = 'S'