You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The command comment-region will comment current line if there is no region marked. (In other words, it's now in vi-normal mode.)
However, the command comment-or-uncomment-region will not comment current line if there is no region marked. This is annoy, if i only want to comment 1 single-line, i have to switch to vi-visual mode, and use comment-or-uncomment-region, and switch back to vi-normal mode.
This is also the same in case you want to un-comment a single-line.
The text was updated successfully, but these errors were encountered:
sakurawald
changed the title
feature: comment current line if no region is selected for comment-or-uncommnet-region command.
feature: comment current line if no region is marked for comment-or-uncommnet-region command.
Nov 19, 2024
The command
comment-region
will comment current line if there is no region marked. (In other words, it's now invi-normal mode
.)However, the command
comment-or-uncomment-region
will not comment current line if there is no region marked. This is annoy, if i only want to comment 1 single-line, i have to switch tovi-visual
mode, and usecomment-or-uncomment-region
, and switch back tovi-normal
mode.This is also the same in case you want to un-comment a single-line.
The text was updated successfully, but these errors were encountered: