733
Comment:
|
785
|
Deletions are marked like this. | Additions are marked like this. |
Line 25: | Line 25: |
If you don't know anything about vi, it is better to use nano. | You can use a ["GUI"] version called ["gvim"]. If you don't know anything about vi, it is better to use ["nano"]. |
Vim is a fullfeatured editor. it is basicly a clone of vi with a lot of features.
Vim is a modal editor. In Different modes of vim,the same keystroke is interpreted differently.
Small tips to survive in Vim:
To insert text (and be in the insert mode): press 'i' then your text. To come back to the command mode press "ESC".
To save text (in command mode): press ':w'
To quit vim (in command mode): press ':q'
To quit vim without saving (in command mode): press ':!q'
To delete the line where the cursor is (in command mode): press 'dd'
If you want to learn more try the command 'vimtutor'.
You can use a ["GUI"] version called ["gvim"].
If you don't know anything about vi, it is better to use ["nano"].