Skip to content

Commit

Permalink
Merge pull request #134 from CyrusYip/patch-2
Browse files Browse the repository at this point in the history
Leader key is backslash
  • Loading branch information
iggredible authored Jan 14, 2022
2 parents f35e3b5 + f2c7698 commit 6ca2ff7
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 6ca2ff7

Please sign in to comment.