However, when creating a new buffer that does not yet have a name (e.g. using :tabnew), the BufNewFile event will not fire, and hardtime will not be run. The same is true for buffers that are opened by a plugin: opening a netrw window (:Ex) doesn't enable hardtime, which means that the user can freely use the hjkl and arrow keys.
Is this behavior intended? If not, this commit could possibly help.
When
g:hardtime_default_on
is set, hardtime is supposed to be enabled in every buffer. This is what the README says.The following line [link to source] does this:
However, when creating a new buffer that does not yet have a name (e.g. using
:tabnew
), theBufNewFile
event will not fire, and hardtime will not be run. The same is true for buffers that are opened by a plugin: opening a netrw window (:Ex
) doesn't enable hardtime, which means that the user can freely use the hjkl and arrow keys.Is this behavior intended? If not, this commit could possibly help.