diff options
| author | aktersnurra <gustaf@gustafrydholm.xyz> | 2026-04-16 15:10:52 +0200 |
|---|---|---|
| committer | aktersnurra <gustaf@gustafrydholm.xyz> | 2026-04-17 23:28:47 +0200 |
| commit | 152fd9d787c7433cad95795992e444250cb83216 (patch) | |
| tree | 0ae3b4a3b42005dc08b1400981cfc4c1f37297fe /fnl/plugins/telescope.fnl | |
| parent | 83a7f3505a441f1c152229d50a3d6011951a82fc (diff) | |
Add fff and other nice things such as macros
Diffstat (limited to 'fnl/plugins/telescope.fnl')
| -rw-r--r-- | fnl/plugins/telescope.fnl | 24 |
1 files changed, 4 insertions, 20 deletions
diff --git a/fnl/plugins/telescope.fnl b/fnl/plugins/telescope.fnl index 0facab9..3932d84 100644 --- a/fnl/plugins/telescope.fnl +++ b/fnl/plugins/telescope.fnl @@ -1,11 +1,7 @@ ;; 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 + [{1 :ahmedkhalf/project.nvim :event :VeryLazy :opts {:active true :on_config_done nil @@ -26,23 +22,15 @@ (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]) +(local extensions [:orgmode :projects :git_worktree :harpoon]) (λ load-extensions [telescope] (each [_ extension (ipairs extensions)] (telescope.load_extension extension))) -(local keys [{1 :mf - 2 "<cmd>Telescope find_files theme=dropdown previewer=false disable_devicons=true<cr>" - :desc "Find Files"} - {1 :mg - 2 "<cmd>Telescope live_grep theme=dropdown<cr>" - :desc "Find Text"} - {1 :mb +(local keys [{1 :mb 2 "<cmd>Telescope buffers theme=dropdown previewer=true initial_mode=normal<cr>" :desc "Switch Buffer"} {1 :<leader>fC @@ -102,11 +90,7 @@ :--line-number :--column :--smart-case - :--hidden]} - :extensions {:fzf {:fuzzy true - :override_generic_sorter true - :override_file_sorter true - :case_mode :smart_case}}}) + :--hidden]}}) (load-extensions telescope))) {1 :nvim-telescope/telescope.nvim |