diff --git a/IPython/html/static/notebook/js/cell.js b/IPython/html/static/notebook/js/cell.js
index 032b413..5a481c5 100644
--- a/IPython/html/static/notebook/js/cell.js
+++ b/IPython/html/static/notebook/js/cell.js
@@ -70,7 +70,12 @@ var IPython = (function (IPython) {
cm_config : {
indentUnit : 4,
readOnly: false,
- theme: "default"
+ theme: "default",
+ extraKeys: {
+ "Cmd-Right":"goLineRight",
+ "End":"goLineRight",
+ "Cmd-Left":"goLineLeft"
+ }
}
};