Difference between revisions of "Introduction to Linux in HPC/The vim text editor"
Introduction to Linux in HPC/The vim text editor
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
<youtube width="600" height="400" right>IfD9IPixgpo</youtube> | <youtube width="600" height="400" right>IfD9IPixgpo</youtube> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Line 66: | Line 38: | ||
− | {{Warning|mode=info|text= '''If you forget which mode you are in while using vim, just keep pressing Esc.'''}} | + | {{Warning|mode=info|text= '''If you forget in which mode you are in while using vim, just keep pressing Esc.'''}} |
− | |||
=== Exercises in Terminal (slide 100) === <!--T:5--> | === Exercises in Terminal (slide 100) === <!--T:5--> |
Revision as of 11:29, 5 October 2020
Video
Quiz
1. How to enter the insert mode of
vim
?
2. How would you open a file in read-only mode using the
Hint: In terminal
vim
editor? Hint: In terminal
man vim
Info: | If you forget in which mode you are in while using vim, just keep pressing Esc. |
Exercises in Terminal (slide 100)
1. Create a vim file and write some text in it with insert (pressing i
) and than undo and redo the changes.
Answer: |
|