list commands prints a set of lines, but I need one single line, where I am and where an error has probably occurred.
list
All the answers above are correct, What I prefer is to use tui mode (ctrl+X A or 'tui enable') which shows your location and the function in a separate window which is very helpful for the users. Hope that helps too.