I'd like to print some file information on vim's bottom line upon pressing a keyboard shortcut, sort of like Ctrl+G
but with different info (modification timestamp).
How can I output there?
My current shot:
nnoremap <C-H> :!stat -c '\%y' %<CR>
is unsatisfactory because it switches to the command output buffer (or what should I call it) and stays there until Enter is pressed, which is quite disruptive.
:echo systemlist()
or do some processing in a dedicated function. Or usegetftime()