Skip to content

Commit c6f961c

Browse files
committed
Use nano to look at recipy
Also added shortcut for line numbers to help section description
1 parent ecf7b59 commit c6f961c

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

_episodes/04-recipe.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,21 @@ the name: [recipe_example.yml](https://github.com/ESMValGroup/ESMValTool_Tutoria
146146
> ## Explore the recipe
147147
> Use the following command and investigate the sample recipe.
148148
> ~~~bash
149-
> vim recipe_example.yml
149+
> nano recipe_example.yml
150150
> ~~~
151151
{: .challenge}
152152
153+
> ## Text editor side note
154+
>
155+
> No matter what editor you use, you will need to know where it searches
156+
> for and saves files. If you start it from the shell, it will (probably)
157+
> use your current working directory as its default location. We use ``nano``
158+
> in examples here because it is one of the least complex text editors.
159+
> Press <kbd>ctrl</kbd> + <kbd>O</kbd> to save the file,
160+
> and then <kbd>ctrl</kbd> + <kbd>X</kbd> to exit ``nano``.
161+
> The line numbers can be shown by pressing <kbd>alt</kbd> + <kbd>shift</kbd> + <kbd>3</kbd>.
162+
{: .callout}
163+
153164
Please note the following sections:
154165
155166
- documentation: lines 4-20

0 commit comments

Comments
 (0)