Leader key is backslash

This commit is contained in:
Cyrus Yip 2022-01-14 12:30:01 +08:00 committed by GitHub
parent f35e3b5b7a
commit f2c76987a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -268,7 +268,7 @@ nnoremap <silent> <C-f> :Files<CR>
To search inside files, you can use the `:Rg` command.
Again, since you will probably use this frequently, let's map it to a keyboard shortcut. I map mine to `<Leader>f`.
Again, since you will probably use this frequently, let's map it to a keyboard shortcut. I map mine to `<Leader>f`. The `<Leader>` key is mapped to `\` by default.
```
nnoremap <silent> <Leader>f :Rg<CR>