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
Following are the plug mappings that are now available
`<Plug>(comment_toggle_linewise_count)` - Toggles line comment with count
`<Plug>(comment_toggle_blockwise_count)` - Toggles block comment with count
`<Plug>(comment_toggle_current_linewise)` - Toggles line comment on the current line
`<Plug>(comment_toggle_current_blockwise)` - Toggles block comment on the current line
`<Plug>(comment_toggle_linewise)` - Toggles line comment via Operator pending mode
`<Plug>(comment_toggle_blockwise)` - Toggles block comment via Operator pending mode
`<Plug>(comment_toggle_linewise_visual)` - Toggles line comment in VISUAL mode
`<Plug>(comment_toggle_blockwise_visual)` - Toggles block comment in VISUAL mode
Read https://github.com/numToStr/Comment.nvim/blob/master/doc/plugs.md
---
This is a breaking change for nvim 0.6 users. So If you are using 0.6 please follow https://github.com/numToStr/Comment.nvim/releases/tag/v0.6
Following are the `<Plug>` mappings which you can use to quickly setup your custom keybindings
4
+
5
+
-`<Plug>(comment_toggle_linewise_count)` - Toggles line comment with count
6
+
-`<Plug>(comment_toggle_blockwise_count)` - Toggles block comment with count
7
+
-`<Plug>(comment_toggle_current_linewise)` - Toggles line comment on the current line
8
+
-`<Plug>(comment_toggle_current_blockwise)` - Toggles block comment on the current line
9
+
-`<Plug>(comment_toggle_linewise)` - Toggles line comment via Operator pending mode
10
+
-`<Plug>(comment_toggle_blockwise)` - Toggles block comment via Operator pending mode
11
+
-`<Plug>(comment_toggle_linewise_visual)` - Toggles line comment in VISUAL mode
12
+
-`<Plug>(comment_toggle_blockwise_visual)` - Toggles block comment in VISUAL mode
13
+
14
+
> NOTE: There are only meant for custom keybindings but If you want to create a custom comment function then be sure to check out all the [API](./API.md).
15
+
16
+
#### Usage
17
+
18
+
Following snippets is same as the default mappings set by the plugin.
0 commit comments