Changes

Jump to: navigation, search

Tutorial2: Unix / Linux File Management

224 bytes added, 08:57, 7 January 2021
Part 2: Creating Text Files Using The vi Text Editor
'''NOTE:''' Refer to the table below for a list of the most common '''vi''' ('''vim''') navigation &amp; editing commands:<br><table cellpadding="5"><tr><th style="border-bottom: 1px solid black;">Keyboard Combination</th><th style="border-bottom: 1px solid black;">Purpose</th></tr><tr><tdstyle="font-family:courier">'''i'''</td><td>Enter '''INPUT''' mode</td></tr><tr><tdstyle="font-family:courier">'''&lt;esc&gt;'''</td><td>Return to '''COMMAND''' MODE</td></tr><tr><tdstyle="font-family:courier">'''W'''</td><td>Move forward one word</td></tr><tr><tdstyle="font-family:courier">'''B'''</td><td>Move back one word</td></tr><tr><tdstyle="font-family:courier">'''dd'''</td><td>Cut line</td></tr><tr><tdstyle="font-family:courier">'''yy'''</td><td>Copy Line</td></tr><tr><tdstyle="font-family:courier">'''&lt;ctrl&gt;u'''</td><td>Paste Cut/Copied Text</td></tr><tr><tdstyle="font-family:courier">''':help'''</td><td>Display help screen ('':q!'' to exit help screen)</td></tr></table><br>
[[Image:vi-text-editor-2.png|right|250px|thumb|The online vi-tutorial provides users "hands-on" experience of using the vi text editor.]]
13,420
edits

Navigation menu