summaryrefslogtreecommitdiff
path: root/lua/telescope/mappings.lua
AgeCommit message (Collapse)Author
2023-02-19fix: execute autocmds correctly (#2375)Josa Gesell
2023-01-22docs: proof-read edits (#2311)James Trew
2022-11-06feat: the parameter "map" of attach_mappings can be list of modes to create ↵ADoyle
mapping on multiple modes (#2220)
2022-09-03fix: nop i_<c-j> because we dont want allow new line (#2147)Simon Hauser
2022-08-13docs: fix arguments in mappings table to refelct implementation (#2111) (#2125)Nikita Kulakov
2022-07-12docs: mappings documentation overhaul (#2065)Simon Hauser
Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
2022-07-07fix: also map <C-/> for which-key (#2051)Gregory Anders
Some terminals send Ctrl + / as <C-/>, not <C-_>. Map both to the which_key action to cover these cases.
2022-07-07chore: reformat with stylua 0.14.0Simon Hauser
2022-04-22feat: lua autocmd (#1707)Dave Lage
2022-03-20feat: enable individual options for mappings (#890)Waldson Patrício
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
2022-03-13fix: action mt again (#1487)Simon Hauser
actions should be concatinable again
2022-01-05feat: Add <C-w> to default mappings (#1650)Dave G
As described in https://github.com/nvim-telescope/telescope.nvim/issues/1579, this adds <C-w> to the default mappings.
2021-11-23Revert "fix: action mt so we can again concat actions from two different ↵Simon Hauser
tables (#1143)" (#1486) This reverts commit 6daf35c88c07dd4b220468968a742cda04889cd3.
2021-11-22fix: action mt so we can again concat actions from two different tables (#1143)Simon Hauser
* 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
2021-11-13feat: results scrolling actions (#1436)Luke Kershaw
2021-10-11feat: add `gg` and `G` to default mappings (#1325)Zachary Churchill
* feat: add `gg` and `G` to default mappings * refactor: use action_state.get_current_picker * docs: mention new default gg/G keymaps
2021-09-01feat: show keymaps for builtin actions (#1084)fdschmidt93
* Add default mappings `<C-/>`and `?` for insert and normal mode, respectively, to show registered keymappings (`actions.which_key`) attached to prompt buffer
2021-08-20mapping: Remove center action after select_default action in default ↵Joshua Cao
mappings. (#974)
2021-07-23chore: use stylua for formatting (#1040)Simon Hauser
* chore: stylua job and config * reformat with stylua
2021-06-09feat: set defaults for each picker in telescope setup (#883)Simon Hauser
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`
2021-03-09feat: add completion to pre-filtering (#626)fdschmidt93
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
2021-03-03fix: Keep remaps safe between reloadsTJ DeVries
2021-02-28feat: add ability to multiselect in reverse direction (#573)Volodymyr Kot
Use Shift+Tab
2021-02-27feat: multi selection. Only integrates with send_selected_to_qflist (#551)TJ DeVries
This will not yet work with select actions. More work is needed in that case. Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
2021-02-24feat: adds M mapping in normal mode (#544)Hubert Pelczarski
2021-02-24feat: advanced normal mode (#463)Simon Hauser
Add <count>j and k to normal mode and H and L to jump at top and bottom of displayed results
2021-02-22feat: Action improvements (#472)TJ DeVries
* 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>
2021-01-27Undo #465 (#469)anott03
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
2021-01-25fix: move to actions.select as default action (#465)anott03
2020-11-24fix: Use noremap when mapping. (#286)Julian Berman
Previously, if e.g. : was remapped, Telescope would be unclosable with its mappings (<Esc>). (Do the same for ensuring we :silent)
2020-11-02feat: Actions can now be summed up and center action (#204)Simon Hauser
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>
2020-10-08fix: Allow people to still override ALL the mappingsTJ DeVries
2020-10-08feat: Add more easily customizable mappings.TJ DeVries
Closes: #131
2020-09-06Normalize mappings (#28)runiq
Modes now use lowercase keys, mappings use the internal representation via `nvim_replace_termcodes()`.
2020-09-04Fix mapping prefix (#26)runiq
`<cmd>` doesn't trigger `InsertLeave`.
2020-09-04breaking: change attach_mappings to take bufnr as first argumentTJ DeVries
2020-09-02feat: add some new items and make mappings easierTJ DeVries
2020-08-31feat: Add better mapping supportTJ DeVries
2020-08-31wip: start on mappingsTJ DeVries
2020-08-29feat: Add escape spammingTJ DeVries
2020-08-29Try to fix thing for rockerTJ DeVries
2020-08-29feat: Add selection and start actionsTJ DeVries
2020-08-28fix: Hopefully fix opening preview window sometimeTJ DeVries
2020-08-28feat: borders and no previews for rockerTJ DeVries
2020-08-27slightly better small screen UXTJ DeVries
2020-08-27feat: Add livegrep and lsp referecnesTJ DeVries
2020-07-31Streamed some refactoring. More work to doTJ DeVries
2020-07-17Another streamTJ DeVries
2020-07-15Get simple rg example to workTJ DeVries