feat: define scroll speed + smart_send to qflist (#610)
* smart send to qflist * Previewer scrolling for half window height * Start doing cleanup in readme * feat: add ability to define the scrolling speed * move scrolling action to action.set * docs: added more docs for actions * [docgen] Update doc/telescope.txt skip-checks: true Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de> Co-authored-by: Github Actions <actions@github>
This commit is contained in:
@@ -53,6 +53,9 @@
|
||||
---
|
||||
--- - preview_width:
|
||||
--- - Change the width of Telescope's preview window
|
||||
---
|
||||
--- - scroll_speed:
|
||||
--- - Change the scrolling speed of the previewer
|
||||
---@brief ]]
|
||||
|
||||
local config = require('telescope.config')
|
||||
@@ -99,6 +102,7 @@ layout_strategies.horizontal = function(self, max_columns, max_lines)
|
||||
height_padding = "How many cells to pad the height",
|
||||
preview_width = "(Resolvable): Determine preview width",
|
||||
mirror = "Flip the location of the results/prompt and preview windows",
|
||||
scroll_speed = "The speed when scrolling through the previewer",
|
||||
})
|
||||
|
||||
local initial_options = self:_get_initial_window_options()
|
||||
@@ -266,6 +270,7 @@ layout_strategies.vertical = function(self, max_columns, max_lines)
|
||||
height_padding = "How many cells to pad the height",
|
||||
preview_height = "(Resolvable): Determine preview height",
|
||||
mirror = "Flip the locations of the results and prompt windows",
|
||||
scroll_speed = "The speed when scrolling through the previewer",
|
||||
})
|
||||
|
||||
local initial_options = self:_get_initial_window_options()
|
||||
|
||||
Reference in New Issue
Block a user