pvim ch03 reading notes

This commit is contained in:
Matthew Ryan Dillon 2021-03-10 07:48:03 -07:00
parent ccdf5e307d
commit 4cc1cae76b
4 changed files with 28 additions and 0 deletions

11
56653cb1.md Normal file
View file

@ -0,0 +1,11 @@
---
date: 2021-03-10T07:38
tags:
- vim
---
# the expression register
The expression register (`=`) can be used to evaluate expressions, like `2+3`.
If this register is used while in Insert mode (`<C-r>=`), the results of the
expression will be inserted after the expression is evaluated.

View file

@ -2,3 +2,4 @@
- [[[92598822]]]
- [[[c4e96daf]]]
- [[[b926d9bd]]]

4
b926d9bd.md Normal file
View file

@ -0,0 +1,4 @@
# vim
- [[[56653cb1]]]
- [[[fa6a31b4]]]

12
fa6a31b4.md Normal file
View file

@ -0,0 +1,12 @@
---
date: 2021-03-10T07:40
tags:
- vim
---
# replace mode
From Normal mode, `R` activates Replace mode, which behaves a lot like Insert
mode, except that it allows you to effectively type over existing content. This
is different from `r`, which is a single character replacement (ending back in
Normal mode) - `R` requires you to deliberately exit back to Normal mode.