diff --git a/ch21_vimrc.md b/ch21_vimrc.md index 404d3f2..8ce527e 100644 --- a/ch21_vimrc.md +++ b/ch21_vimrc.md @@ -193,9 +193,9 @@ let mapleader = "\" ``` The `nnoremap` command used above can be broken down into three parts: -- `map` is the map command. - `n` represents the normal mode. - `nore` means non-recursive. +- `map` is the map command. At minimum, you could have used `nmap` instead of `nnoremap` (`nmap :Gfiles`). However, it is a good practice to use the non-recursive variant to avoid potential infinite loop.