@@ -38,7 +38,8 @@ the NeoVim generation. It:
38
38
or will prompt with a sensible default. It understands Treesitter embedded
39
39
languages (e.g. JavaScript-in-HTML).
40
40
41
- * Provides [ keymappings] ( #keymappings-and-commands ) for normal, visual, and operator-pending modes.
41
+ * Provides [ keymappings] ( #keymappings-and-commands ) for normal, insert,
42
+ visual, and operator-pending modes.
42
43
43
44
* Provides [ commands] ( #keymappings-and-commands ) to delete debugging lines added to the current buffer or
44
45
comment/uncomment those lines.
@@ -100,6 +101,8 @@ following table.
100
101
| Normal | None | Variable debug (always prompt for variable) | Above |
101
102
| Normal | None | Delete debug lines in buffer | - |
102
103
| Normal | None | Comment/uncomment debug lines in buffer | - |
104
+ | Insert | ` Ctrl-G p ` | Plain debug | In-place |
105
+ | Insert | ` Ctrl-G v ` | Variable debug (always prompt for variable) | In-place |
103
106
| Visual | ` g?v ` | Variable debug | Below |
104
107
| Visual | ` g?V ` | Variable debug | Above |
105
108
| Op-pending | ` g?o ` | Variable debug | Below |
@@ -129,6 +132,10 @@ return {
129
132
toggle_comment_debug_prints = nil ,
130
133
delete_debug_prints = nil ,
131
134
},
135
+ insert = {
136
+ plain = " <C-G>p" ,
137
+ variable = " <C-G>v" ,
138
+ },
132
139
visual = {
133
140
variable_below = " g?v" ,
134
141
variable_above = " g?V" ,
@@ -196,7 +203,8 @@ they are used to convert sections to ROT-13, which most folks don't use.
196
203
| Print variables using treesitter | :+1 : | :+1 : | :x : | :+1 : | :x : | :x : |
197
204
| Print variables/expressions using prompts | :+1 : | :x : | :x : | :x : | :x : | :x : |
198
205
| Print variables using motions | :+1 : | :x : | :+1 : | :x : | :x : | :x : |
199
- | Print variables using visual mode | :+1 : | :+1 : | :+1 : | :+1 : | :+1 : | :x : |
206
+ | Add plain or variable debug lines in insert mode | :+1 : | :x : | :x : : | :x : | :x : | :x : |
207
+ | Add variable debug lines in visual mode | :+1 : | :+1 : | :+1 : | :+1 : | :+1 : | :x : |
200
208
| Print assertions | :x : | :+1 : | :x : | :x : | :x : | :x : |
201
209
| Print stack traces | :x : | :+1 : | :x : | :x : | :x : | :x : |
202
210
| Add time-tracking logic | :x : | :+1 : | :x : | :x : | :x : | :x : |
0 commit comments