This commit is contained in:
2026-02-17 20:56:53 +01:00
parent 6c7e442056
commit 4519c8bf89
23 changed files with 895 additions and 0 deletions

17
after/plugin/comment.lua Normal file
View File

@@ -0,0 +1,17 @@
require("Comment").setup()
-- Normal Mode
--
-- `gcc` - Toggles the current line using linewise comment
-- `gbc` - Toggles the current line using blockwise comment
-- `[count]gcc` - Toggles the number of line given as a prefix-count using linewise
-- `[count]gbc` - Toggles the number of line given as a prefix-count using blockwise
-- `gc[count]{motion}` - (Op-pending) Toggles the region using linewise comment
-- `gb[count]{motion}` - (Op-pending) Toggles the region using blockwise comment
-- `gco` - Insert comment to the next line and enters INSERT mode
-- `gcO` - Insert comment to the previous line and enters INSERT mode
-- `gcA` - Insert comment to end of the current line and enters INSERT mode
--
-- Visual Mode
-- `gc` - Toggles the region using linewise comment
-- `gb` - Toggles the region using blockwise comment