There is no easier way to explain what I want to do than a picture:
I would like to reduce the time it takes me to refactor HTML code by deleting all the white space behind (or before, doesn't matter that much) my caret until the next non-blank character, emphasized by the highlighted blue whitespace I would like to delete. I found a way to do this on vim, but I want to do this on Intellij.
Brilliant! Though 40% of the time it's hard to nail down all the keystrokes at once (just like ctrl+k+s on VScode for all save).
@BarAkiva If a shortcut to a certain action that you use quite a lot is multi-keystroke by default, you can remap it in the File | Settings | Keymap dialog to something shorter like
Ctrl+Num5
or even a single-strokeF10
. Just make sure that the bindings do not clash.