diff --git a/cli/fd/config/fd/ignore b/cli/fd/config/fd/ignore deleted file mode 100644 index b04e3ce..0000000 --- a/cli/fd/config/fd/ignore +++ /dev/null @@ -1,3 +0,0 @@ -!.env -.git - diff --git a/nvim/nvim/config/new/lua/windows/telescope.lua b/nvim/nvim/config/new/lua/windows/telescope.lua index d5f8a3c..9305c08 100644 --- a/nvim/nvim/config/new/lua/windows/telescope.lua +++ b/nvim/nvim/config/new/lua/windows/telescope.lua @@ -5,8 +5,16 @@ end telescope.setup({ defaults = { - prompt_prefix = " ", + prompt_prefix = "  ", selection_caret = " ", + sorting_strategy = "ascending", + layout_strategy = "horizontal", + layout_config = { + horizontal = { + prompt_position = "top", + } + }, + path_display = { "truncate" }, }, extensions = { fzf = { @@ -18,8 +26,17 @@ telescope.setup({ pickers = { find_files = { hidden = true, + find_command = { "fd", "--type", "f", "--strip-cwd-prefix", "-E", ".git" }, }, }, }) -require('telescope').load_extension('fzf') +telescope.load_extension('fzf') + +local wk = require("which-key") +wk.register({ + f = { "Telescope find_files", "Find files", }, + F = { "Telescope live_grep theme=ivy", "Find Text" }, +}, { + prefix = "", +})