fixed small errors

This commit is contained in:
anebz 2020-04-01 16:28:42 +02:00
parent 6db72111bb
commit 1ed0103806
3 changed files with 4 additions and 3 deletions

View File

@ -186,7 +186,7 @@ To enter **Command line mode**, type `:`.
* o / O insert line below / above
* `A` append to line (in the end of line)
* `d{motion}` delete {motion}
* e.g. dw is delete word, d$ is delete to end of line, d0 is* delete to beginning of line, d$ delete until end of line
* e.g. dw is delete word, d$ is delete to end of line, d0 is delete to beginning of line, d$ delete until end of line
* `dd` delete whole line. 2dd, delete this and next line
* `rx` to replace the character at the cursor by x. `ra`, deletes current character and writes a.
* c{motion} change {motion}
@ -199,7 +199,7 @@ To enter **Command line mode**, type `:`.
* visual mode + manipulation
* select text, d to delete it or c to change it
* `u` to undo, `U` to undo whole line, `<Ctr> + R` to redo
* y to copy / “yank” (some other commands like d also copy)
* `y` to copy / “yank” (some other commands like d also copy)
* `p` to paste under the cursor
* Lots more to learn: e.g. ~ flips the case of a character

View File

@ -53,6 +53,7 @@ If you can't afford to buy the book, you can find a free pdf [here](http://ahmed
* Insert bit
* Binary to string
* Flip bit to create longest sequence of 1s
## Chapter 7 Object-oriented design