My workflow revolves around having NerdTree opened with a quickfix at the the bottom and one file opened in a buffer.
I often grep within my file only by using the
% shortcut in my grep command.
I then navigate to quickfix or NerdTree to look at something and rerun my grep command slightly tweaked. At this point the command no longer works as
@% does not contain the name of my file anymore.
Could I keep entering non-modifiable buffers from updatding