Skip to content

feat: add a section introducing CTRL+A and CTRL+E shortcuts#364

Merged
TaylorKT merged 2 commits intomainfrom
enhancement/cl_nav_shortcuts
Jun 27, 2025
Merged

feat: add a section introducing CTRL+A and CTRL+E shortcuts#364
TaylorKT merged 2 commits intomainfrom
enhancement/cl_nav_shortcuts

Conversation

@ameynert
Copy link
Contributor

Closes #334

Adds a section 'Shortcuts: Moving to the start or end of a command' under 'Shortcut: Tab Completion' in episode 1 to give a brief demonstration of the CTRL+A and CTRL+E keyboard shortcuts for moving to the start/end of a command as it is being typed.

These shortcuts are likely to be heavily used by learners as they frequently need to edit commands, and will reduce frustration as the commands in the workshop get longer,

@github-actions
Copy link

github-actions bot commented May 23, 2025

Thank you!

Thank you for your pull request 😃

🤖 This automated message can help you check the rendered files in your submission for clarity. If you have any questions, please feel free to open an issue in {sandpaper}.

If you have files that automatically render output (e.g. R Markdown), then you should check for the following:

  • 🎯 correct output
  • 🖼️ correct figures
  • ❓ new warnings
  • ‼️ new errors

Rendered Changes

🔍 Inspect the changes: https://github.com/datacarpentry/shell-genomics/compare/md-outputs..md-outputs-PR-364

The following changes were observed in the rendered markdown documents:

 01-introduction.md | 34 ++++++++++++++++++++++++++++++++++
 md5sum.txt         |  2 +-
 2 files changed, 35 insertions(+), 1 deletion(-)
What does this mean?

If you have source files that require output and figures to be generated (e.g. R Markdown), then it is important to make sure the generated figures and output are reproducible.

This output provides a way for you to inspect the output in a diff-friendly manner so that it's easy to see the changes that occur due to new software versions or randomisation.

⏱️ Updated at 2025-06-27 17:47:16 +0000

github-actions bot pushed a commit that referenced this pull request May 23, 2025
Editing a long command can be time consuming. The shell has shortcut keys for moving to the start
or end of a command that you are typing.

Try typing this command, but don't hit enter yet.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider allowing the students to encounter the error by hitting enter?

@ameynert ameynert force-pushed the enhancement/cl_nav_shortcuts branch from 6c4c11b to ceea7d7 Compare June 27, 2025 17:46
github-actions bot pushed a commit that referenced this pull request Jun 27, 2025
Copy link
Contributor

@TaylorKT TaylorKT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@TaylorKT TaylorKT merged commit c6d9f2e into main Jun 27, 2025
3 checks passed
@TaylorKT TaylorKT deleted the enhancement/cl_nav_shortcuts branch June 27, 2025 17:48
github-actions bot pushed a commit that referenced this pull request Jun 27, 2025
Auto-generated via `{sandpaper}`
Source  : c6d9f2e
Branch  : main
Author  : Alison Meynert <ameynert@gmail.com>
Time    : 2025-06-27 17:48:32 +0000
Message : feat: add a section introducing CTRL+A and CTRL+E shortcuts (#364)

* feat: add a section introducing CTRL+A and CTRL+E shortcuts

* feat: Let learners see the failed command prior to editing.
github-actions bot pushed a commit that referenced this pull request Jun 27, 2025
Auto-generated via `{sandpaper}`
Source  : 86cbe9d
Branch  : md-outputs
Author  : GitHub Actions <actions@github.com>
Time    : 2025-06-27 17:49:08 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : c6d9f2e
Branch  : main
Author  : Alison Meynert <ameynert@gmail.com>
Time    : 2025-06-27 17:48:32 +0000
Message : feat: add a section introducing CTRL+A and CTRL+E shortcuts (#364)

* feat: add a section introducing CTRL+A and CTRL+E shortcuts

* feat: Let learners see the failed command prior to editing.
github-actions bot pushed a commit that referenced this pull request Jul 1, 2025
Auto-generated via `{sandpaper}`
Source  : 86cbe9d
Branch  : md-outputs
Author  : GitHub Actions <actions@github.com>
Time    : 2025-06-27 17:49:08 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : c6d9f2e
Branch  : main
Author  : Alison Meynert <ameynert@gmail.com>
Time    : 2025-06-27 17:48:32 +0000
Message : feat: add a section introducing CTRL+A and CTRL+E shortcuts (#364)

* feat: add a section introducing CTRL+A and CTRL+E shortcuts

* feat: Let learners see the failed command prior to editing.
github-actions bot pushed a commit that referenced this pull request Jul 8, 2025
Auto-generated via `{sandpaper}`
Source  : 86cbe9d
Branch  : md-outputs
Author  : GitHub Actions <actions@github.com>
Time    : 2025-06-27 17:49:08 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : c6d9f2e
Branch  : main
Author  : Alison Meynert <ameynert@gmail.com>
Time    : 2025-06-27 17:48:32 +0000
Message : feat: add a section introducing CTRL+A and CTRL+E shortcuts (#364)

* feat: add a section introducing CTRL+A and CTRL+E shortcuts

* feat: Let learners see the failed command prior to editing.
github-actions bot pushed a commit that referenced this pull request Jul 15, 2025
Auto-generated via `{sandpaper}`
Source  : 86cbe9d
Branch  : md-outputs
Author  : GitHub Actions <actions@github.com>
Time    : 2025-06-27 17:49:08 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : c6d9f2e
Branch  : main
Author  : Alison Meynert <ameynert@gmail.com>
Time    : 2025-06-27 17:48:32 +0000
Message : feat: add a section introducing CTRL+A and CTRL+E shortcuts (#364)

* feat: add a section introducing CTRL+A and CTRL+E shortcuts

* feat: Let learners see the failed command prior to editing.
github-actions bot pushed a commit that referenced this pull request Jul 22, 2025
Auto-generated via `{sandpaper}`
Source  : 86cbe9d
Branch  : md-outputs
Author  : GitHub Actions <actions@github.com>
Time    : 2025-06-27 17:49:08 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : c6d9f2e
Branch  : main
Author  : Alison Meynert <ameynert@gmail.com>
Time    : 2025-06-27 17:48:32 +0000
Message : feat: add a section introducing CTRL+A and CTRL+E shortcuts (#364)

* feat: add a section introducing CTRL+A and CTRL+E shortcuts

* feat: Let learners see the failed command prior to editing.
github-actions bot pushed a commit that referenced this pull request Jul 29, 2025
Auto-generated via `{sandpaper}`
Source  : 86cbe9d
Branch  : md-outputs
Author  : GitHub Actions <actions@github.com>
Time    : 2025-06-27 17:49:08 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : c6d9f2e
Branch  : main
Author  : Alison Meynert <ameynert@gmail.com>
Time    : 2025-06-27 17:48:32 +0000
Message : feat: add a section introducing CTRL+A and CTRL+E shortcuts (#364)

* feat: add a section introducing CTRL+A and CTRL+E shortcuts

* feat: Let learners see the failed command prior to editing.
github-actions bot pushed a commit that referenced this pull request Aug 5, 2025
Auto-generated via `{sandpaper}`
Source  : 86cbe9d
Branch  : md-outputs
Author  : GitHub Actions <actions@github.com>
Time    : 2025-06-27 17:49:08 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : c6d9f2e
Branch  : main
Author  : Alison Meynert <ameynert@gmail.com>
Time    : 2025-06-27 17:48:32 +0000
Message : feat: add a section introducing CTRL+A and CTRL+E shortcuts (#364)

* feat: add a section introducing CTRL+A and CTRL+E shortcuts

* feat: Let learners see the failed command prior to editing.
github-actions bot pushed a commit that referenced this pull request Aug 12, 2025
Auto-generated via `{sandpaper}`
Source  : 86cbe9d
Branch  : md-outputs
Author  : GitHub Actions <actions@github.com>
Time    : 2025-06-27 17:49:08 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : c6d9f2e
Branch  : main
Author  : Alison Meynert <ameynert@gmail.com>
Time    : 2025-06-27 17:48:32 +0000
Message : feat: add a section introducing CTRL+A and CTRL+E shortcuts (#364)

* feat: add a section introducing CTRL+A and CTRL+E shortcuts

* feat: Let learners see the failed command prior to editing.
github-actions bot pushed a commit that referenced this pull request Aug 19, 2025
Auto-generated via `{sandpaper}`
Source  : 86cbe9d
Branch  : md-outputs
Author  : GitHub Actions <actions@github.com>
Time    : 2025-06-27 17:49:08 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : c6d9f2e
Branch  : main
Author  : Alison Meynert <ameynert@gmail.com>
Time    : 2025-06-27 17:48:32 +0000
Message : feat: add a section introducing CTRL+A and CTRL+E shortcuts (#364)

* feat: add a section introducing CTRL+A and CTRL+E shortcuts

* feat: Let learners see the failed command prior to editing.
github-actions bot pushed a commit that referenced this pull request Aug 26, 2025
Auto-generated via `{sandpaper}`
Source  : 86cbe9d
Branch  : md-outputs
Author  : GitHub Actions <actions@github.com>
Time    : 2025-06-27 17:49:08 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : c6d9f2e
Branch  : main
Author  : Alison Meynert <ameynert@gmail.com>
Time    : 2025-06-27 17:48:32 +0000
Message : feat: add a section introducing CTRL+A and CTRL+E shortcuts (#364)

* feat: add a section introducing CTRL+A and CTRL+E shortcuts

* feat: Let learners see the failed command prior to editing.
github-actions bot pushed a commit that referenced this pull request Sep 2, 2025
Auto-generated via `{sandpaper}`
Source  : 86cbe9d
Branch  : md-outputs
Author  : GitHub Actions <actions@github.com>
Time    : 2025-06-27 17:49:08 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : c6d9f2e
Branch  : main
Author  : Alison Meynert <ameynert@gmail.com>
Time    : 2025-06-27 17:48:32 +0000
Message : feat: add a section introducing CTRL+A and CTRL+E shortcuts (#364)

* feat: add a section introducing CTRL+A and CTRL+E shortcuts

* feat: Let learners see the failed command prior to editing.
github-actions bot pushed a commit that referenced this pull request Sep 9, 2025
Auto-generated via `{sandpaper}`
Source  : 86cbe9d
Branch  : md-outputs
Author  : GitHub Actions <actions@github.com>
Time    : 2025-06-27 17:49:08 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : c6d9f2e
Branch  : main
Author  : Alison Meynert <ameynert@gmail.com>
Time    : 2025-06-27 17:48:32 +0000
Message : feat: add a section introducing CTRL+A and CTRL+E shortcuts (#364)

* feat: add a section introducing CTRL+A and CTRL+E shortcuts

* feat: Let learners see the failed command prior to editing.
github-actions bot pushed a commit that referenced this pull request Sep 16, 2025
Auto-generated via `{sandpaper}`
Source  : 86cbe9d
Branch  : md-outputs
Author  : GitHub Actions <actions@github.com>
Time    : 2025-06-27 17:49:08 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : c6d9f2e
Branch  : main
Author  : Alison Meynert <ameynert@gmail.com>
Time    : 2025-06-27 17:48:32 +0000
Message : feat: add a section introducing CTRL+A and CTRL+E shortcuts (#364)

* feat: add a section introducing CTRL+A and CTRL+E shortcuts

* feat: Let learners see the failed command prior to editing.
github-actions bot pushed a commit that referenced this pull request Sep 23, 2025
Auto-generated via `{sandpaper}`
Source  : 86cbe9d
Branch  : md-outputs
Author  : GitHub Actions <actions@github.com>
Time    : 2025-06-27 17:49:08 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : c6d9f2e
Branch  : main
Author  : Alison Meynert <ameynert@gmail.com>
Time    : 2025-06-27 17:48:32 +0000
Message : feat: add a section introducing CTRL+A and CTRL+E shortcuts (#364)

* feat: add a section introducing CTRL+A and CTRL+E shortcuts

* feat: Let learners see the failed command prior to editing.
github-actions bot pushed a commit that referenced this pull request Sep 30, 2025
Auto-generated via `{sandpaper}`
Source  : 86cbe9d
Branch  : md-outputs
Author  : GitHub Actions <actions@github.com>
Time    : 2025-06-27 17:49:08 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : c6d9f2e
Branch  : main
Author  : Alison Meynert <ameynert@gmail.com>
Time    : 2025-06-27 17:48:32 +0000
Message : feat: add a section introducing CTRL+A and CTRL+E shortcuts (#364)

* feat: add a section introducing CTRL+A and CTRL+E shortcuts

* feat: Let learners see the failed command prior to editing.
github-actions bot pushed a commit that referenced this pull request Oct 7, 2025
Auto-generated via `{sandpaper}`
Source  : 86cbe9d
Branch  : md-outputs
Author  : GitHub Actions <actions@github.com>
Time    : 2025-06-27 17:49:08 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : c6d9f2e
Branch  : main
Author  : Alison Meynert <ameynert@gmail.com>
Time    : 2025-06-27 17:48:32 +0000
Message : feat: add a section introducing CTRL+A and CTRL+E shortcuts (#364)

* feat: add a section introducing CTRL+A and CTRL+E shortcuts

* feat: Let learners see the failed command prior to editing.
github-actions bot pushed a commit that referenced this pull request Oct 14, 2025
Auto-generated via `{sandpaper}`
Source  : 86cbe9d
Branch  : md-outputs
Author  : GitHub Actions <actions@github.com>
Time    : 2025-06-27 17:49:08 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : c6d9f2e
Branch  : main
Author  : Alison Meynert <ameynert@gmail.com>
Time    : 2025-06-27 17:48:32 +0000
Message : feat: add a section introducing CTRL+A and CTRL+E shortcuts (#364)

* feat: add a section introducing CTRL+A and CTRL+E shortcuts

* feat: Let learners see the failed command prior to editing.
github-actions bot pushed a commit that referenced this pull request Oct 21, 2025
Auto-generated via `{sandpaper}`
Source  : 86cbe9d
Branch  : md-outputs
Author  : GitHub Actions <actions@github.com>
Time    : 2025-06-27 17:49:08 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : c6d9f2e
Branch  : main
Author  : Alison Meynert <ameynert@gmail.com>
Time    : 2025-06-27 17:48:32 +0000
Message : feat: add a section introducing CTRL+A and CTRL+E shortcuts (#364)

* feat: add a section introducing CTRL+A and CTRL+E shortcuts

* feat: Let learners see the failed command prior to editing.
github-actions bot pushed a commit that referenced this pull request Oct 28, 2025
Auto-generated via `{sandpaper}`
Source  : 86cbe9d
Branch  : md-outputs
Author  : GitHub Actions <actions@github.com>
Time    : 2025-06-27 17:49:08 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : c6d9f2e
Branch  : main
Author  : Alison Meynert <ameynert@gmail.com>
Time    : 2025-06-27 17:48:32 +0000
Message : feat: add a section introducing CTRL+A and CTRL+E shortcuts (#364)

* feat: add a section introducing CTRL+A and CTRL+E shortcuts

* feat: Let learners see the failed command prior to editing.
github-actions bot pushed a commit that referenced this pull request Nov 4, 2025
Auto-generated via `{sandpaper}`
Source  : 86cbe9d
Branch  : md-outputs
Author  : GitHub Actions <actions@github.com>
Time    : 2025-06-27 17:49:08 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : c6d9f2e
Branch  : main
Author  : Alison Meynert <ameynert@gmail.com>
Time    : 2025-06-27 17:48:32 +0000
Message : feat: add a section introducing CTRL+A and CTRL+E shortcuts (#364)

* feat: add a section introducing CTRL+A and CTRL+E shortcuts

* feat: Let learners see the failed command prior to editing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a Tip for command line navigation as part of "Naviational Shortcuts" in episode 2

2 participants