I would like to see if the caps-lock is ON
or OFF
in my vim-airline status bar for reasons mentioned here. I installed vim-capslock in my bundle and set the variable as let g:airline#extensions#capslock#enabled = 1
. However, I don't see any difference after opening the VIM. I don't see a caps-lock
status in the status line. My airline configuration is as below in ~/.vimrc
let g:airline_theme='wombat'
" Enable the list of buffers
let g:airline#extensions#tabline#enabled = 1
" Show just the filename
let g:airline#extensions#tabline#fnamemod = ':t'
" Show capslock status in the statusline
let g:airline#extensions#capslock#enabled = 1
I was expecting CAPS
in the status line if the caps-lock was ON. Am I doing anything wrong?