Having CTRL-Enter also as a default key combination
Hello!
Considering tomboy and xiki's behavior it might make sense to have Ctrl-Enter also included as a default key combination.
What do you think?
This would be a 1 line change; I don't think it'll be a big deal. The only possible downside is collision on that key combo, but I'll make sure it's safe before I commit it.
Thank you for your fast response!
I would have a couple of more suggestions:
- how about adding headings like text ending with colons something like this in the .tmLanguage file
<dict>
<key>match</key>
<string>^\s*(\w+.+:\s*$\n?)</string>
<key>name</key>
<string>keyword.control.header.Wiki</string>
</dict>
- it would be also nice enabling CTRL-R Wiki.tmPreferences
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>name</key>
<string>Wiki</string>
<key>scope</key>
<string>keyword.control.header.Wiki, markup.underline.link.internal.Wiki</string>
<key>settings</key>
<dict>
<key>showInSymbolList</key>
<integer>1</integer>
<!-- Make sure that not more then 110 characters are sent per line to the method list -->
<key>symbolTransformation</key>
<string>s/^\s*(.{1,120}).*/$1/</string>
</dict>
</dict>
</plist>
And for compatibility with Monokai bright theme, I've added a string here, to have the Camel Case words highlighted:
<dict>
<key>comment</key>
<string>Match WikiWords and make them into links.</string>
<key>match</key>
<string>([A-Z][a-z]+){2,}</string>
<key>name</key>
<string>string.markup.underline.link.internal.Wiki</string>
</dict>
If you'd like to submit a pull request with all the changes I'll look it over and pull it in; these look like helpful additions.
These changes were made in #5