Files
dotfiles/.config/nvim/fnl/settings/telescope.fnl
2026-04-14 16:49:14 +02:00

22 lines
1.1 KiB
Fennel

(import-macros {: setup} :macros)
(local actions (require :telescope.actions))
(setup :telescope
{:defaults {:mappings {:i {"<C-Down>" actions.cycle_history_next
"<C-Up>" actions.cycle_history_prev}
:n {:S actions.file_split
:s actions.file_vsplit}}
:get_selection_window (. (require :window-picker) :pick_window)}
:pickers {:find_files {:find_command [:fd "--type" "f"
"--strip-cwd-prefix"
"--hidden"]}
:live_grep {:vimgrep_arguments ["rg"
"--color=never"
"--no-heading"
"--with-filename"
"--line-number"
"--column"
"--smart-case"
"--hidden"]}}})