How to set nvim telescope prompt input position?

Tue, 13 Dec 2022 10:37:16 GMT

## Problem

By default, the Telescope prompt input is at the bottom. I want to move it to the top.

## Solution

Add this options

```lua
{
defaults = {
layout_strategy = "horizontal",
layout_config = {
horizontal = {
prompt_position = "top",
},
},
sorting_strategy = "ascending",

Problem

By default, the Telescope prompt input is at the bottom. I want to move it to the top.

Solution

Add this options

{
  defaults = {
    layout_strategy = "horizontal",
    layout_config = {
      horizontal = {
        prompt_position = "top",
      },
    },
    sorting_strategy = "ascending",
    --- other configs
  },
}


{
  defaults = {
    layout_strategy = "horizontal",
    layout_config = {
      horizontal = {
        prompt_position = "top",
      },
    },
    sorting_strategy = "ascending",
    --- other configs
  },
}