;; Telescope a highly extendable fuzzy finder over lists. (local dependencies [:nvim-lua/popup.nvim :nvim-telescope/telescope-frecency.nvim {1 :nvim-telescope/telescope-fzf-native.nvim :build :make} :tami5/sqlite.lua {1 :ahmedkhalf/project.nvim :event :VeryLazy :opts {:active true :on_config_done nil :manual_mode false :detection_methods [:patterns] :patterns [:git :_darcs :.hg :.bzr :.svn :Makefile :package.json] :show_hidden false :silent_chdir true :ignore_lsp {} :datapath (vim.fn.stdpath :data)} :config (λ [_ opts] (let [project (require :project_nvim)] (project.setup opts)))} :nvim-lua/plenary.nvim :nvim-telescope/telescope-fzf-native.nvim :nvim-telescope/telescope-frecency.nvim {1 :nvim-orgmode/telescope-orgmode.nvim}]) (local extensions [:fzf :frecency :orgmode :projects :git_worktree :harpoon :rest]) (λ load-extensions [telescope] (each [_ extension (ipairs extensions)] (telescope.load_extension extension))) (local keys [{1 :mf 2 "Telescope find_files theme=ivy previewer=false disable_devicons=true" :desc "Find Files"} {1 :mg 2 "Telescope live_grep theme=dropdown" :desc "Find Text"} {1 :mb 2 "Telescope buffers theme=ivy previewer=true initial_mode=normal" :desc "Switch Buffer"} {1 :fC 2 "Telescope commands theme=ivy" :desc :Commands} {1 :fH 2 "Telescope highlights" :desc :Highlights} {1 :fR 2 "Telescope registers theme=ivy" :desc :Registers} {1 :fS 2 "Telescope grep_string theme=ivy" :desc "Find String"} {1 :gb 2 "Telescope git_branches theme=ivy" :desc "Checkout Branch"} {1 :ff 2 "Telescope find_files theme=ivy" :desc "Find files"} {1 :fh 2 "Telescope help_tags theme=ivy" :desc :Help} {1 :fk 2 "Telescope keymaps theme=ivy" :desc :Keymaps} {1 :fl 2 "Telescope resume theme=ivy" :desc "Last Search"} {1 :fp 2 "Telescope projects theme=ivy" :desc "Find Project"} {1 :fr 2 "Telescope oldfiles theme=ivy previewer=false" :desc "Recent File"} {1 :ft 2 "Telescope live_grep theme=ivy" :desc "Find Text"} {1 :gc 2 "Telescope git_commits theme=ivy" :desc "Checkout Commit"}]) (λ config [] (let [telescope (require :telescope) icons (require :settings.icons)] (telescope.setup {:defaults {:prompt_prefix (.. " " (. icons :telescope) " ") :selection_caret (.. (. icons :caret) " ") :path_display [:smart] :color_devicons false :pickers {:find_files {:theme :dropdown :disable_devicons true}} :vimgrep_arguments [:rg :--color=never :--no-heading :--with-filename :--line-number :--column :--smart-case :--hidden]} :extensions {:fzf {:fuzzy true :override_generic_sorter true :override_file_sorter true :case_mode :smart_case}}}) (load-extensions telescope))) {1 :nvim-telescope/telescope.nvim :cmd :Telescope : config : dependencies : keys}