The here presented plugin is able to temporarily switch a tool of your choice, maybe this could be helpful:
It can be downloaded from this GitHub-Page:
###############################################
For quick access to the eraser, the little-noticed “Krita Direct Eraser” script from the old Krita forum might come in handy.
Should the download no longer be available, I also have the script present in my cloud, bundled in a ZIP archive along with copies of the two associated forum pages in HTML and PDF formats.
Things apparently got heated in that topic, but we don’t have to worry about that.
If you have problems with the installation, we will be able to help you here, but you just have to open the resource folder in Krita via ‘‘Settings’’ >> ‘‘Manage Resources …’’ >> ‘‘Open Resource Folder’’ and copy the two directories, from the folder “krita” contained in the archive “JoannesJ - Krita Direct Eraser.zip” to it, restart Krita and then assign the two shortcuts after revive.
Link to the old forum:
https://forum.kde.org/viewtopic.php?f=137&t=151117&hilit=Direct+Eraser#p396917
Link to this plugin in my cloud, as described above:
###############################################
Furthermore, the experimental plugin from @Daishishi could fill the same gap, it is also an eraser plugin. To my shame, I must confess that I have not looked at it yet.
You’ll find it here:
###############################################
I almost forgot the “heavyweight” among the plugins that revolve around the “eraser question”. As far as I remember, it was created because of the eraser switching and assignment (and a lot of hype around it), it is, at least that’s how I felt it, very interesting for many users because of its range of functions, for me, not really, because of my way of working.
Buli Brush Switch:
Michelist