Skip to content

Commit

Permalink
Day 17 - Grammar & Spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelCade committed May 30, 2022
1 parent 03fa26f commit 7b22f44
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Days/day17.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ The first question might be "How do I exit vim?" that is going to be `escape` an

![](Images/Day17_Linux3.png)

You start in `normal` mode, there are other modes `command, normal, visual, insert` , if we want to add the text we will need to switch from `normal` to `insert` we need to press `i` if you have added some text and would like to save these changes then you would hit escape and then `:wq`
You start in `normal` mode, there are other modes `command, normal, visual, insert`, if we want to add the text we will need to switch from `normal` to `insert` we need to press `i` if you have added some text and would like to save these changes then you would hit escape and then `:wq`

![](Images/Day17_Linux4.png)

Expand All @@ -55,15 +55,15 @@ There is some cool fast functionality with vim that allows you to do menial task

![](Images/Day17_Linux6.png)

Now we want to replace that word with 90DaysOfDevOps, we can do this by hitting `esc` and typing `:%s/Day/90DaysOfDevOps`
Now we want to replace that word with 90DaysOfDevOps, we can do this by hitting `ESC` and typing `:%s/Day/90DaysOfDevOps`

![](Images/Day17_Linux7.png)

The outcome when you hit enter is that the word day is then replaced with 90DaysOfDevOps.

![](Images/Day17_Linux8.png)

Copy and Paste was a big eye-opener for me. Copy is not copy it is yank. we can copy using `yy` on our keyboard in normal mode. `p` paste on the same line, `P` paste on a new line.
Copy and Paste was a big eye-opener for me. Copy is not copied it is yanked. we can copy using `yy` on our keyboard in normal mode. `p` paste on the same line, `P` paste on a new line.

You can also delete these lines by choosing the number of lines you wish to delete followed by `dd`

Expand All @@ -82,4 +82,4 @@ Another pointer to navigate around in vim we can use `H,J,K,L` as well as our ar
- [Learn the Linux Fundamentals - Part 1](https://www.youtube.com/watch?v=kPylihJRG70)
- [Linux for hackers (don't worry you don't need to be a hacker!)](https://www.youtube.com/watch?v=VbEx7B_PTOE)

See you on [Day18](day18.md)
See you on [Day18](day18.md)

0 comments on commit 7b22f44

Please sign in to comment.