==================== First Steps with Vim [TOC] ==================== For creating text files you need a text editor. And you are actually free to use your editor of choice. However, we suggest to use an editor that does not require a GUI (graphical user interface). Such editors have the advantage that you can use them efficiently together with `ssh` to create and edit files on another Unix server. Quiz 1 ====== On `theon` the `submit` command can be used to hand in solutions for programming exercises. The first quiz is just a practise for using `submit`: - Create a file `quiz01.txt` with the following content: ---- CODE (file=session01/quiz01.txt) ---------------------------------------- hello, world! ------------------------------------------------------------------------------ - If you have created this file on your local machine copy it to `theon` - On `theon` submit the file `quiz01.txt` with `submit` as follows: ---- SHELL (path=session01) -------------------------------------------------- submit hpc quiz01 quiz01.txt ------------------------------------------------------------------------------ Should I use Vim? ================= Furthermore, I personally recommend to use this semester as an opportunity to learn how to use Vim. Like every editor it has some advantages and disadvantages. Disadvantages ------------- It needs some practise to actually use Vim. Advantages ---------- When you search the web for "Reasons Why You Should Use Vi/Vim" you will find a lot. Here is another one: It is the only editor where I can give you any help. I simply don't know how to use any other editor. Some Tutorial for vimtutor ========================== ---- VIDEO ------------------------------ https://www.youtube.com/embed/3LbcQP76vS0 ----------------------------------------- Alternatives to Vim =================== On most Unix systems you have an editor called __nano__ which can be used out of the box. For German speakers: The __CHAOS COMPUTER CLUB ULM__ organized an __editor battle__ in which different editors where introduced: ---- VIDEO ------------------------------- https://dortmund.media.ccc.de/contributors/ulm/chaosseminar/201504-editorbattle/cs-201504-editorbattle_video.mp4 ------------------------------------------ :links: nano -> https://en.wikipedia.org/wiki/GNU_nano CHAOS COMPUTER CLUB ULM -> https://www.ulm.ccc.de/ editor battle -> https://www.ulm.ccc.de/ccc/chaosseminar/2015_04_editoren_battle/