diff options
| author | Dilan Baron <65829671+Yagua@users.noreply.github.com> | 2021-07-17 02:02:54 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-17 09:02:54 +0200 |
| commit | 9291922acd155c4fd564b618cf05987bc8233f16 (patch) | |
| tree | c75a5d22991fb01ebc4afb69fa7f64149f0a617d /README.md | |
| parent | 3f841cb3c529ca7e815b0f4d39f478ad5393740b (diff) | |
fix typos in readme (#1009)
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -349,7 +349,7 @@ local action_state = require('telescope.actions.state') ------------------------------ require('telescope.builtin').fd({ -- or new custom picker's attach_mappings field: attach_mappings = function(prompt_bufnr) - -- This will replace select no mather on which key it is mapped by default + -- This will replace select no matter on which key it is mapped by default action_set.select:replace(function(prompt_bufnr, type) local entry = action_state.get_selected_entry() actions.close(prompt_bufnr) @@ -701,7 +701,7 @@ but only for this instance, we could do something like: If we wanted to change the width for every time we use the `vertical` layout strategy, we could add the following to our `setup()` call: -``` +```lua require('telescope').setup({ defaults = { layout_config = { @@ -754,7 +754,7 @@ and some other functions can be easily changed in custom pickers or built-in fun -- Disable preview for find_files nnoremap <leader>ff :lua require('telescope.builtin').find_files({previewer = false})<cr> --- Change change prompt prefix for find_files builtin function: +-- Change prompt prefix for find_files builtin function: nnoremap <leader>fg :lua require('telescope.builtin').live_grep({ prompt_prefix=🔍 })<cr> nnoremap <leader>fg :Telescope live_grep prompt_prefix=🔍<cr> ``` |
