From 7e5df885da620a8cb273b43602c7365351a19e9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Thu, 22 Jan 2015 13:49:38 -0800 Subject: [PATCH 1/2] Remove reference the Command Bar Command Bar is no more. Now the search field is a plain text field that only searches within the current repo. --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index b592abb..25cdb38 100644 --- a/README.md +++ b/README.md @@ -217,7 +217,7 @@ When on a repository page, keyboard shortcuts allow you to navigate easily. - Pressing `t` will bring up a file explorer. - Pressing `w` will bring up the branch selector. - - Pressing `s` will select the Command Bar. + - Pressing `s` will focus the search field. - Pressing `l` will edit labels on existing Issues. - Pressing `y` **when looking at a file** (e.g. `https://github.com/tiimgreen/github-cheat-sheet/blob/master/README.md`) will change your URL to one which, in effect, freezes the page you are looking at. If this code changes, you will still be able to see what you saw at that current time. @@ -225,8 +225,6 @@ To see all of the shortcuts for the current page press `?`: ![Keyboard shortcuts](http://i.imgur.com/y5ZfNEm.png) -[*Read more about using the Command Bar.*](https://help.github.com/articles/using-the-command-bar) - ### Line Highlighting in Repositories Either adding `#L52` to the end of a code file URL or simply clicking the line number will highlight that line number. From f67e9b5e979d71e1f4fc98d72c5fc60909770fb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Mon, 26 Jan 2015 16:07:24 -0800 Subject: [PATCH 2/2] More tips on GitHub search --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 25cdb38..c26e4c9 100644 --- a/README.md +++ b/README.md @@ -217,7 +217,7 @@ When on a repository page, keyboard shortcuts allow you to navigate easily. - Pressing `t` will bring up a file explorer. - Pressing `w` will bring up the branch selector. - - Pressing `s` will focus the search field. + - Pressing `s` will focus the search field for the current repository. Pressing Backspace to delete the “This repository” pill changes the field to search all of GitHub. - Pressing `l` will edit labels on existing Issues. - Pressing `y` **when looking at a file** (e.g. `https://github.com/tiimgreen/github-cheat-sheet/blob/master/README.md`) will change your URL to one which, in effect, freezes the page you are looking at. If this code changes, you will still be able to see what you saw at that current time. @@ -225,6 +225,8 @@ To see all of the shortcuts for the current page press `?`: ![Keyboard shortcuts](http://i.imgur.com/y5ZfNEm.png) +[Read more about search syntax you can use.](https://help.github.com/articles/search-syntax/) + ### Line Highlighting in Repositories Either adding `#L52` to the end of a code file URL or simply clicking the line number will highlight that line number.