New answers tagged


In addition to @D. Ben Knobleā€™s suggestion, you can capture the result of a normal mode command (g8 in this example) using :redir to store it in a variable: redir => char_bytes exec 'normal! g8' redir END Then you can add it to your status line however you see fit (probably with the item %{}). See: :h redir :h 'statusline'

Top 50 recent answers are included