From 9364db7d70538ef94c27cb45c9b02a035c2d26ef Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Mon, 6 Feb 2017 12:55:10 +0000 Subject: [PATCH] Add cmdtrl-shift-f shortcut to show command palette Closes gh-2121 At least on my system, Ctrl-Shift-F does not seem to be taken in either Chrome or Firefox. My reasoning for F is 'Find command'. --- notebook/static/notebook/js/keyboardmanager.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/notebook/static/notebook/js/keyboardmanager.js b/notebook/static/notebook/js/keyboardmanager.js index 11254b117..f417b7d02 100644 --- a/notebook/static/notebook/js/keyboardmanager.js +++ b/notebook/static/notebook/js/keyboardmanager.js @@ -114,6 +114,7 @@ define([ KeyboardManager.prototype.get_default_edit_shortcuts = function() { return { 'cmdtrl-shift-p' : 'jupyter-notebook:show-command-palette', + 'cmdtrl-shift-f' : 'jupyter-notebook:show-command-palette', 'esc' : 'jupyter-notebook:enter-command-mode', 'ctrl-m' : 'jupyter-notebook:enter-command-mode', 'up' : 'jupyter-notebook:move-cursor-up', @@ -125,6 +126,7 @@ define([ KeyboardManager.prototype.get_default_command_shortcuts = function() { return { 'cmdtrl-shift-p': 'jupyter-notebook:show-command-palette', + 'cmdtrl-shift-f': 'jupyter-notebook:show-command-palette', 'shift-space': 'jupyter-notebook:scroll-notebook-up', 'shift-v' : 'jupyter-notebook:paste-cell-above', 'shift-m' : 'jupyter-notebook:merge-cells',