Add comment/uncomment bindings
See original GitHub issueThis might be more broadly addressed with custom mappings/bindings, but adding comment/uncomment bindings would be super useful. Somehing along the lines of tpope’s commentary
which uses gc
as the binding for commenting.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:6
- Comments:11 (5 by maintainers)
Top Results From Across the Web
What's a quick way to comment/uncomment lines in Vim?
Hit Ctrl + q in GVIM or Ctrl + v in VIM, then go down to select first character on the lines to...
Read more >Comment/Uncomment - Unofficial Jupyter Notebook Extensions
Adds a new configurable hotkey binding to toggle comments on/off. Options¶. comment_uncomment_keybinding: keybinding for toggling comments (default: Alt-c).
Read more >Xcode 8 beta 4 - Comment/Uncomment… - Apple Developer
Preferences > Key Bindings shows it under "Editor Menu for Source Code", but there doesn't appear to be any way to turn it...
Read more >Forums - Key bindings to comment line(s) - PythonAnywhere
Key bindings to comment line(s) · In SublimeText2 you can press ctrl+/, and all lines, which are fully or partially selected become commented...
Read more >set key for 'comment-or-uncomment-region in python-mode
Major modes have their own keymaps, and python-mode probably overrides the binding from the global one. You can fix this by adding a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@CrashLaker You shall find a relevant discussion in #17.
Update on using
Ctrl + /
for commentingAs mentioned by DreamFlasher’s comment in this stack overflow post, the slash symbol (
/
) should be interpreted asthe slash symbol from the Numpad
!!!On my Windows machine, I added the following mapping to tune the normal
Ctrl + /
key-press into the real thing:Ctrl
+Numpad-Slash
.