Home
Head's Up: I'm in the middle of upgrading my site. Most things are in place, but there are something missing and/or broken including image alt text. Please bear with me while I'm getting things fixed.

Get The Buffer Number For The Current Window In Neovim

You can get the buffer number of the current Neovim window with :

lua
nvim_get_current_buf()

To see the number directly in the Neovim command line use :

lua
:echo nvim_get_current_buf()