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 57: | Line 57: | ||
− | <div style='text-align: left;float:left;width:33%;'>{{Clickable button|[ Previous Page]|color=white}}</div> | + | <div style='text-align: left;float:left;width:33%;'>{{Clickable button|[https://hpc-wiki.info/hpc/Introduction_to_Linux_in_HPC/Processes_and_permissions Previous Page]|color=white}}</div> |
<div style='text-align: center;float:left;width:33%;'>{{Clickable button|[https://hpc-wiki.info/hpc/Introduction_to_Linux_in_HPC Main Menu Page]|color=white}}</div> | <div style='text-align: center;float:left;width:33%;'>{{Clickable button|[https://hpc-wiki.info/hpc/Introduction_to_Linux_in_HPC Main Menu Page]|color=white}}</div> | ||
− | <div style='text-align: right;float:left;width:33%;'>{{Clickable button|[ Next Page]|color=white}}</div> | + | <div style='text-align: right;float:left;width:33%;'>{{Clickable button|[https://hpc-wiki.info/hpc/Introduction_to_Linux_in_HPC/Shell_scripting_environment_variables Next Page]|color=white}}</div> |
Revision as of 18:37, 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: |
|