From 4cc1cae76b6288fd2f7ebe5a5f6a7d3f60eb4375 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Wed, 10 Mar 2021 07:48:03 -0700 Subject: [PATCH] pvim ch03 reading notes --- 56653cb1.md | 11 +++++++++++ 9b74f625.md | 1 + b926d9bd.md | 4 ++++ fa6a31b4.md | 12 ++++++++++++ 4 files changed, 28 insertions(+) create mode 100644 56653cb1.md create mode 100644 b926d9bd.md create mode 100644 fa6a31b4.md diff --git a/56653cb1.md b/56653cb1.md new file mode 100644 index 0000000..090bb00 --- /dev/null +++ b/56653cb1.md @@ -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 (`=`), the results of the +expression will be inserted after the expression is evaluated. diff --git a/9b74f625.md b/9b74f625.md index 53ea34e..2fa5294 100644 --- a/9b74f625.md +++ b/9b74f625.md @@ -2,3 +2,4 @@ - [[[92598822]]] - [[[c4e96daf]]] +- [[[b926d9bd]]] diff --git a/b926d9bd.md b/b926d9bd.md new file mode 100644 index 0000000..8966e5f --- /dev/null +++ b/b926d9bd.md @@ -0,0 +1,4 @@ +# vim + +- [[[56653cb1]]] +- [[[fa6a31b4]]] diff --git a/fa6a31b4.md b/fa6a31b4.md new file mode 100644 index 0000000..73de79d --- /dev/null +++ b/fa6a31b4.md @@ -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.