In emacs, there’s an action called just-one-space which is binded to Meta+Space.
It is used to
Delete all spaces and tabs around point, leaving one space (or N
spaces).
I used this action a lot in emacs and it’s quite useful for me.
I was wondering whether there are also such actions in intelliJ?
(The use case is like this:
Line1
Line2
when I use Ctrl+k at the end of Line1 twice, the text becomes this:
Line1 Line2
I need several actions to delete the spaces to make it like this:
Line1 Line2
Just found that
Join Linesmight be what I need.