Skip to content

Commit 42efc33

Browse files
Merge pull request #96 from ESMValGroup/nano-everywhere-77
Use nano everywhere
2 parents e8aa2ec + 57c74ae commit 42efc33

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

_episodes/03-configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ path to your home directory. Note that files and directories starting with a
3636
period are "hidden", to see the `.esmvaltool` directory in the terminal use
3737
`ls -la ~`.
3838

39-
We run a text editor called Nano to have a look inside the configuration file:
39+
We run a text editor called ``nano`` to have a look inside the configuration file:
4040

4141
~~~bash
4242
nano ~/.esmvaltool/config-user.yml

_episodes/04-recipe.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,12 +157,23 @@ wget https://raw.githubusercontent.com/ESMValGroup/ESMValTool_Tutorial/master/da
157157
{: .solution}
158158
159159
> ## Explore the recipe
160-
> Use the following command and investigate the sample recipe.
160+
> We use the text editor ``nano`` to investigate the sample recipe.
161161
> ~~~bash
162-
> vim recipe_example.yml
162+
> nano recipe_example.yml
163163
> ~~~
164164
{: .challenge}
165165
166+
> ## Text editor side note
167+
>
168+
> No matter what editor you use, you will need to know where it searches
169+
> for and saves files. If you start it from the shell, it will (probably)
170+
> use your current working directory as its default location. We use ``nano``
171+
> in examples here because it is one of the least complex text editors.
172+
> Press <kbd>ctrl</kbd> + <kbd>O</kbd> to save the file,
173+
> and then <kbd>ctrl</kbd> + <kbd>X</kbd> to exit ``nano``.
174+
> The line numbers can be shown by pressing <kbd>alt</kbd> + <kbd>shift</kbd> + <kbd>3</kbd>.
175+
{: .callout}
176+
166177
Please note the following sections:
167178
168179
- documentation: lines 4-20

0 commit comments

Comments
 (0)