11 lines
560 B
Fennel
11 lines
560 B
Fennel
(import-macros {: setup} :macros)
|
|
|
|
(local actions (require :telescope.actions))
|
|
|
|
(setup :telescope {
|
|
:defaults {:mappings {: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"]}}})
|