Skip to content

Commit

Permalink
Leader key is backslash
Browse files Browse the repository at this point in the history
  • Loading branch information
CyrusYip authored Jan 14, 2022
1 parent f35e3b5 commit f2c7698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch03_searching_files.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit f2c7698

Please sign in to comment.