| Age | Commit message (Collapse) | Author |
|
|
|
|
|
mapping on multiple modes (#2220)
|
|
|
|
|
|
Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
|
|
Some terminals send Ctrl + / as <C-/>, not <C-_>. Map both to the
which_key action to cover these cases.
|
|
|
|
|
|
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
|
|
actions should be concatinable again
|
|
As described in https://github.com/nvim-telescope/telescope.nvim/issues/1579, this adds <C-w> to the default mappings.
|
|
tables (#1143)" (#1486)
This reverts commit 6daf35c88c07dd4b220468968a742cda04889cd3.
|
|
* fix: action mt so we can again concat actions from two different tables
- without actually changing the public interface
- without having a local table that keeps track of all actions
* this should clear actions now
we never actually called this function which is kinda a problem because
we never cleaned up previous mapping stores.
We can also make a better mappings store which has access to the keys
sequences which would help the showing actions part
* bugfix
* that should now clear everything
only tests left i think
* more tests
* cleanup
* hack: make sure all actions get cleared
|
|
|
|
* feat: add `gg` and `G` to default mappings
* refactor: use action_state.get_current_picker
* docs: mention new default gg/G keymaps
|
|
* Add default mappings `<C-/>`and `?` for insert and normal mode, respectively, to show registered keymappings (`actions.which_key`) attached to prompt buffer
|
|
mappings. (#974)
|
|
* chore: stylua job and config
* reformat with stylua
|
|
This allows easier picker configuration for example:
```lua
require("telescope").setup {
pickers = {
buffers = {
show_all_buffers = true,
sort_lastused = true,
theme = "dropdown",
previewer = false,
mappings = {
i = {
["<c-q>"] = "smart_send_to_qflist",
}
}
}
}
}
```
This configuration will be applied when running `:Telescope buffers`
|
|
Works by pressing `<C-l>` in insert mode. Supported are all builtins that have prefiltering. Means:
- lsp_workspace_symbols
- lsp_workspace_diagnostics
- lsp_document_symbols
- lsp_document_diagnostics
|
|
|
|
Use Shift+Tab
|
|
This will not yet work with select actions. More work is needed in that case.
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
|
|
|
|
Add <count>j and k to normal mode and H and L to jump at top and bottom of displayed results
|
|
* feat: replace_map
* feat: Add action_set and action_state
* fix: Move all actions.get_ to action_state.get_
* fix: replace all internal references of _goto_file_selection_edit
* feat: add some docs
* fix: lint
* feat: actions.select
* remove mentions and usage of goto_file_selection APIs
* feat: special case attach_mappings to be overridable and defaultable
* Having goto_file_selection mappings will cause a error
as well as replacing deprecated goto_file_selection methodes
For config and replacing use this instead:
- actions.select_default
- actions.select_horizonal
- actions.select_vertical
- actions.select_tab
Only replacing:
- actions.set.edit -- for replacing all select functions
* adds actions.state.select_key_to_edit_key
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
|
|
We have broke all extension that do some sort of goto_file_selection:replace
Problem described here: https://github.com/nvim-telescope/telescope.nvim/pull/465#issuecomment-767831897
Possible solution: https://github.com/nvim-telescope/telescope.nvim/pull/465#issuecomment-767808213
|
|
|
|
Previously, if e.g. : was remapped, Telescope would be unclosable with
its mappings (<Esc>).
(Do the same for ensuring we :silent)
|
|
Closes: #182
* Actions can now be summed up and center action
* fix: Make some complicated changes for metatable
* Update documentation
Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
|
|
|
|
Closes: #131
|
|
Modes now use lowercase keys, mappings use the internal representation
via `nvim_replace_termcodes()`.
|
|
`<cmd>` doesn't trigger `InsertLeave`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|