home
NOTE: Under Construction - I'm in the middle of upgrading my site and lots of stuff is kinda broken. Please forgive the mess.

Get The Buffer Number For The Current Window In Neovim

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

October 2023
Code
nvim_get_current_buf()

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

Code
:echo nvim_get_current_buf()
═══ § ═══