THE vi editor

Description

Most Common Linux Editor for text files
Brandon Gonzalez
Flashcards by Brandon Gonzalez, updated more than 1 year ago
Brandon Gonzalez
Created by Brandon Gonzalez about 3 years ago
4
0
1 2 3 4 5 (0)

Resource summary

Question Answer
When using the Vi editor it is good to know that pressing either i or a will get you into "insert" mode, and then pressing ESC at any time takes you back to command mode True
When editing a file in vi, pressing ESC then :wq will save your file. True
Shift + # Moves to the end of the line FALSE SHIFT + $ moves to the end of the line
When editing text using the vi editor, to move 3 lines up one would need to type_______ and to move 4 lines back down one would need to type______ 3k and 4j
Shift + ^ Jumps to the start of any given line TRUE
To move the cursor all the way to the front of the text you would type ________ 1 + SHIFT + H
Moving to the end of a word one would press e
w is the same as e and moves you to the start of the next word TRUE
If you want to navigate to the end of the previous word type b TRUE
If you want to navigate to the start of the next sentence you have to type SHIFT + ) and the start of the previous sentence would be_____ SHIFT + (
To navigate to the end of the paragraph you must type SHIFT + { and the start of the previous paragraph type_______ SHIFT + }
To look for a specific word you must type ESC to exit whatever mode you are in and then type ____________ /"and then the word you are looking for"
To shut off the current highlighting of the word you type________ in command mode. :noh
Move your cursor onto any of the characters in the middle of any line. To append text after the last character at the end of the line, press _____ Notice that the file is back into the insert mode and the cursor is shifted to the end of the line. A
TIn command mode type dw to __________ Erase the first word of the sentence
To delete text from the first word after tying dw pressing d$ _______the rest of the line. Deletes It
To copy a specific number of lines, enter the number of lines to copy, along with lowercase yy. Ensure your cursor is on the first character of the first line and then enter 1yy. 1yy is similar to yy. TRUE
Note: You can also use D$ to delete all or part of a line from where your cursor is. Cool
Use ZZ to save current file and keep contents text in file intact........ TRUE
Show full summary Hide full summary

0 comments

There are no comments, be the first and leave one below:

Similar

Developmental Psychology - Freud, Little Hans (1909)
Robyn Chamberlain
OCR Gateway GCSE P3 Revision Quiz
xhallyx
Religious Studies- Marriage and the family
Emma Samieh-Tucker
Physics GCSE AQA Unit 1 quiz
Adorkable_dreamer
Of Mice & Men Themes - Key essay points
Lilac Potato
NSI FINAL TEST
brahim matrix
NSI Test First day
brahim matrix
Penson
Roslyn Penson
English Literature (Topics based on: A Christmas Carol, Macbeth, An Inspector Calls, Poetry, and Unseen Poetry)
Larissa Thomson
How to Study Smart
Abdou Mohamed