mirror of
https://github.com/opsschool/curriculum.git
synced 2026-01-15 12:15:03 +00:00
Add the vi examples mirroring the emacs examples to the existing shells_101 page. Then, remove the Todo box for the vi examples section. (#325)
This commit is contained in:
committed by
Mike Fiedler
parent
9220fd7fc0
commit
21d364d3c5
@@ -42,7 +42,15 @@ The following commands are very common while using the ``emacs`` mode.
|
||||
- ``Ctrl-u``: Delete from the cursor backward
|
||||
- ``Ctrl-r``: Search the command history
|
||||
|
||||
.. todo:: Add vi examples. I haven't used that mode in years and will need to look up the mirror version of the above commands.
|
||||
The following commands are very common while using the ``vi`` mode.
|
||||
|
||||
- ``h``: Move backward by one character
|
||||
- ``l``: Move forward by one character
|
||||
- ``0``: Move to the beginning of the line
|
||||
- ``$``: Move to the end of the line
|
||||
- ``d$``: Delete from the cursor to the end of the line
|
||||
- ``d0``: Delete from the cursor the beginning of the line
|
||||
- ``:history s``: Search the command history
|
||||
|
||||
Setting the Mode
|
||||
~~~~~~~~~~~~~~~~
|
||||
|
||||
Reference in New Issue
Block a user