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
|`dqp`| Insert a 'plain' debug line appropriate to the filetype just below the current line |`require('debugprint').debugprint()`|
98
-
|`dqP`| The same, but above the current line |`require('debugprint').debugprint({above = true})`|
99
-
|`dQP`| Insert a variable debugging line below the current line. If the cursor is on a variable name, use that, otherwise prompt for one. |`require('debugprint').debugprint({variable = true})`|
100
-
|`dQP`| The same, but above the current line |`require('debugprint').debugprint({above = true, variable = true})`|
97
+
|`g?p`| Insert a 'plain' debug line appropriate to the filetype just below the current line |`require('debugprint').debugprint()`|
98
+
|`g?P`| The same, but above the current line |`require('debugprint').debugprint({above = true})`|
99
+
|`g?v`| Insert a variable debugging line below the current line. If the cursor is on a variable name, use that, otherwise prompt for one. |`require('debugprint').debugprint({variable = true})`|
100
+
|`g?V`| The same, but above the current line |`require('debugprint').debugprint({above = true, variable = true})`|
101
101
| None by default | Always prompt for a variable name, and insert a debugging line just below the current line which outputs it |`require('debugprint').debugprint({ignore_treesitter = true, variable = true})`|
102
102
| None by default | Always prompt for a variable name, and insert a debugging line just above the current line which outputs it |`require('debugprint').debugprint({ignore_treesitter = true, above = true, variable = true})`|
103
103
104
-
These keybindings are chosen not to conflict with any standard Vim keys (or any
105
-
common plugins, at least that I'm aware of). You can disable them from being
106
-
created by setting `create_keymaps`, and map them yourself if you prefer:
104
+
These keybindings are chosen specifically because by default in NeoVim they are
105
+
used to convert sections to ROT-13, which most folks don't use. You can disable
106
+
them from being created by setting `create_keymaps`, and map them yourself to
107
+
something else if you prefer:
107
108
108
109
```lua
109
110
opts= {
@@ -202,8 +203,8 @@ The keys in the configuration are used like this:
202
203
203
204
| Type of debug line | Default keys | How debug line is constructed
0 commit comments