Skip to content

Commit c257f2f

Browse files
committed
differences for PR #54
1 parent 5e36deb commit c257f2f

File tree

3 files changed

+31
-4
lines changed

3 files changed

+31
-4
lines changed

links.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,8 @@ any links that you are not going to use.
2323
[emacs-link]: https://www.gnu.org/software/emacs/
2424
[emacs-init-link]: https://www.gnu.org/software/emacs/manual/html_node/emacs/Init-File.html
2525

26+
[vim-link]: https://www.vim.org/
27+
[vimf90-link]: https://rudrab.github.io/vimf90/
28+
2629
[vscode-link]: https://code.visualstudio.com
2730
[vscode-modern-fortran]: https://marketplace.visualstudio.com/items?itemName=fortran-lang.linter-gfortran

md5sum.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"LICENSE.md" "b80cb8e2c26302d673fe38f95f8f22d0" "site/built/LICENSE.md" "2025-11-11"
44
"config.yaml" "7442cc2a537f5ebdaefb64e0c4f273d1" "site/built/config.yaml" "2025-11-11"
55
"index.md" "0f6046500e1734988ea78bc271254a37" "site/built/index.md" "2025-11-11"
6-
"links.md" "838a21fbb64449257765afaef81fed74" "site/built/links.md" "2025-11-11"
6+
"links.md" "402d201e117b3a67198b4f56dcfa5a50" "site/built/links.md" "2025-11-28"
77
"episodes/introduction.Rmd" "82188ceeb809ba0eeb51ec3918a65b95" "site/built/introduction.md" "2025-11-11"
88
"instructors/instructor-notes.md" "89611d09d83ff70a904c268a4e50023e" "site/built/instructor-notes.md" "2025-11-11"
99
"learners/reference.md" "527a12e217602daae51c5fd9ef8958df" "site/built/reference.md" "2025-11-11"
10-
"learners/setup.md" "0763556d408b8a2934d81d289a9ddb80" "site/built/setup.md" "2025-11-11"
10+
"learners/setup.md" "080e931367243a957710c0bcf776f1a5" "site/built/setup.md" "2025-11-28"
1111
"profiles/learner-profiles.md" "73bb792eb734245d45ca4421eae955f0" "site/built/learner-profiles.md" "2025-11-11"
1212
"renv/profiles/lesson-requirements/renv.lock" "141e5ff9e83494aadf7c27c77d0cd07b" "site/built/renv.lock" "2025-11-11"

setup.md

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,29 @@ We recommend installing **GFortran** as your first compiler.
9393

9494
### GFortran
9595

96-
GFortran is a free open source compiler.
96+
GFortran is a free open-source compiler.
9797
It is part of the Gnu Compiler Collection (GCC).
9898
Comprehensive installation instructions are on the
9999
[GFortran install page on fortran-lang][install-gfortran].
100100

101-
You can also install GFortran via [conda](https://docs.conda.io/projects/conda/en/latest/user-guide/install/index.html):
101+
Check whether you already have GFortran installed:
102+
103+
```bash
104+
gfortran --version
105+
```
106+
107+
If GFortran is installed, this should print a few lines related to GFortran's version number and license.
108+
If there is instead a "Command not found" message, install GFortran via your system's package manager, for example
109+
110+
```bash
111+
sudo apt install gfortran
112+
```
113+
114+
on Debian-based systems. See [the website][install-gfortran] for instructions for other operating systems.
115+
Note that this requires root access.
116+
117+
Without root access,
118+
you can also install GFortran locally with [conda](https://docs.conda.io/projects/conda/en/latest/user-guide/install/index.html):
102119

103120
```bash
104121
$ conda install conda-forge::gfortran
@@ -227,6 +244,7 @@ Setup instructions for some editors are available below.
227244
Editor Setup Quick Links:
228245

229246
- [Emacs](#emacs)
247+
- [Vim](#vim)
230248
- [VS Code](#vs-code)
231249

232250
### Emacs
@@ -267,6 +285,12 @@ This file is stored in your home directory.
267285

268286
:::::::::::::::::::::::::
269287

288+
### Vim
289+
[Vim][vim-link] is powerful customizable command-line text editor. Fortran syntax highlighting and indenting are present by default.
290+
291+
To add additional Fortran features including syntax checking, linting, and keyboard shortcuts, install vim plugin [vimf90][vimf90-link]
292+
by following the instructions for Vundle or another vim plugin manager.
293+
270294
### VS Code
271295

272296
[Visual Studio Code (VS Code)][vscode-link] is another powerful cross-platform IDE.

0 commit comments

Comments
 (0)