diff options
| author | Dave Lage <rockerboo@gmail.com> | 2020-12-10 18:56:58 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-10 18:56:58 -0500 |
| commit | aa18920fc7768a1b2080eaa1b96869e64802ad6a (patch) | |
| tree | d2c3905ad0667e8208c2b476c8296846cc8860f2 | |
| parent | 8661d0d0cc3319e046f6d08d1fe7ebb85831436a (diff) | |
Add Example for pickers
| -rw-r--r-- | README.md | 30 |
1 files changed, 18 insertions, 12 deletions
@@ -12,11 +12,11 @@ modularity, allowing for easy customization. Community driven built-in [pickers](#pickers), [sorters](#sorters) and [previewers](#previewers). ### Built-in Support: -- [vim](#vim) -- [files](#files) -- [git](#git) -- [LSP](#lsp) -- [Treesitter](#treesitter) +- [vim](#vim-pickers) +- [files](#files-pickers) +- [git](#git-pickers) +- [LSP](#lsp-pickers) +- [Treesitter](#treesitter-pickers)  @@ -354,9 +354,15 @@ require('telescope.builtin').fd({ -- or new custom picker's attach_mappings fiel ## Pickers -Built-in function ready to be bound to any key you like :smile:. +Built-in functions. Ready to be bound to any key you like. :smile: -### Files +```vim +:lua require'telescope.builtin'.planets{} + +:nnoremap <Leader>pp :lua require'telescope.builtin'.planets{} +``` + +### File Pickers | Functions | Description | |-------------------------------------|---------------------------------------------------------------------------------------------| @@ -365,7 +371,7 @@ Built-in function ready to be bound to any key you like :smile:. | `builtin.grep_string` | Searches for a string under the cursor in current directory. | | `builtin.live_grep` | Searches in current directory files. (respecting .gitignore) | -### Vim +### Vim Pickers | Functions | Description | |-------------------------------------|---------------------------------------------------------------------------------------------| @@ -390,7 +396,7 @@ Built-in function ready to be bound to any key you like :smile:. | `builtin.current_buffer_tags` | Lists Tags in current buffer. | | .................................. | Your next awesome picker function here :D | -### LSP +### LSP Pickers | Functions | Description | |-------------------------------------|---------------------------------------------------------------------------------------------| @@ -401,7 +407,7 @@ Built-in function ready to be bound to any key you like :smile:. | `builtin.lsp_range_code_actions` | Lists LSP range code action to be trigged on enter. | | .................................. | Your next awesome picker function here :D | -### Git +### Git Pickers | Functions | Description | |-------------------------------------|---------------------------------------------------------------------------------------------| @@ -411,14 +417,14 @@ Built-in function ready to be bound to any key you like :smile:. | `builtin.git_status` | Lists current changes per file with diff preview and add action. (Multiselection still WIP) | | .................................. | Your next awesome picker function here :D | -### Treesitter +### Treesitter Picker | Functions | Description | |-------------------------------------|---------------------------------------------------------------------------------------------| | `builtin.treesitter` | Lists Function names, variables, from Treesitter! | | .................................. | Your next awesome picker function here :D | -### Lists +### Lists Picker | Functions | Description | |-------------------------------------|---------------------------------------------------------------------------------------------| |
