In Sublime Text 2, how do I enclose a selection in a comment?
Is there a keyboard shortcut for this action?
标签:
sublimetext2
相关问题
- How to run code in Sublime text 2 python
- Why is Sublime Package Control not working?
- C++ 11 code compiles with `clang++`, but not with
- White text in Sublime Text
- mongo --shell file.js and “use” statement
相关文章
- trouble getting sublime to execute with linux term
-
Perl with Sublime Text 2:
not working - Show info about current character in status bar in
- How can a Sublime Text build system access the con
- In Sublime Text 3, how to have shortcuts for “Buil
- Use vim syntax definition with sublime-text2
- Does Sublime Text support live editing of CSS/SASS
- Move cursor on middle button paste in Sublime Text
Seems like some kind of keyboard mapping bug. I'm Portuguese, so I'm using a PT/PT keyboard. Sublime Text 3 apparently is handling / as ~.
This did the trick for me coming from Brackets and being used to ctrl+/ on the numpad.
Ctrl+d and Ctrl+Shift+d....
Max OS: If you want to toggle comment multiple individual lines versus block comment an entire selection, you can do multi line edit, shift+cmd+L, then cmd+/ in that sequence.
On a Mac with a US keyboard, you want cmd+/.
In the "Preferences->Key Bindings - User"
Just paste it, these are will work great !