There is no built-in command for this, but you can use the init script function in the menu Cloud9. Just add:
services.commands.addCommand({
name: "toggleWordWrap",
bindKey: {win: "alt-shift-w", mac: "alt-shift-w", position: 1000},
exec: function(editor) {
editor.setOption("wrap", editor.getOption("wrap") == "off")
},
isAvailable: function(editor) {return editor && editor.ace}
}, plugin);
position: 1000 means that the command gets higher priority than the default commands with the same key
source
share