🔗 magnars/expand-region.el: Expand region increases the selected region.
expand-region.el
は、カーソル位置を起点として選択範囲を広げてくれます。
2回以上呼ぶとその回数だけ賢く選択範囲が広がりますが、2回目以降はキーバインドの最後の一文字を連打すれば OKです。
その場合、選択範囲を狭める時は - を押し、0 を押せばリセットされます。
(leaf expand-region
:ensure t
:bind ("C-@" . er/expand-region))