From 30b7919a7472dfad5d9474a251cad2e57cf359bb Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 19 Dec 2024 21:57:33 +0100 Subject: Update theme to ivy for telescope --- fnl/plugins/alpha.fnl | 10 +++++----- fnl/plugins/telescope.fnl | 28 ++++++++++++++-------------- 2 files changed, 19 insertions(+), 19 deletions(-) (limited to 'fnl') diff --git a/fnl/plugins/alpha.fnl b/fnl/plugins/alpha.fnl index 7d6ad3d..1062f24 100644 --- a/fnl/plugins/alpha.fnl +++ b/fnl/plugins/alpha.fnl @@ -27,20 +27,20 @@ (set dashboard.section.header.val ascii-art) (set dashboard.section.buttons.val [(dashboard.button :f (.. (. icons :search-files) " Find file") - ":Telescope find_files theme=dropdown") + ":Telescope find_files theme=ivy") (dashboard.button :g (.. (. icons :search-text) " Find text") - ":Telescope live_grep theme=dropdown") + ":Telescope live_grep theme=ivy") (dashboard.button :p (.. (. icons :search-project) " Find project") - ":Telescope projects theme=dropdown") + ":Telescope projects theme=ivy") (dashboard.button :r (.. (. icons :recent-files) " Recently used files") - ":Telescope oldfiles theme=dropdown") + ":Telescope oldfiles theme=ivy") (dashboard.button :t (.. (. icons :cog) " Configuration") ":e ~/.config/nvim/init.lua ") (dashboard.button :o (.. (. icons :org) " Org") - ":Telescope find_files theme=dropdown cwd=~/.local/share/org")]) + ":Telescope find_files theme=ivy cwd=~/.local/share/org")]) (set dashboard.section.header.opts.hl :AlphaHeader) (set dashboard.section.buttons.opts.hl :AlphaButtons) (set dashboard.opts.opts.noautocmd true) diff --git a/fnl/plugins/telescope.fnl b/fnl/plugins/telescope.fnl index e2e1cc0..b73d3f6 100644 --- a/fnl/plugins/telescope.fnl +++ b/fnl/plugins/telescope.fnl @@ -51,7 +51,7 @@ (local user-cmds [[:FindFiles (λ [] (telescope-builtin :find_files - {:theme :get_dropdown :previewer false})) + {:theme :get_ivy :previewer false})) {:nargs 0}]]) (λ init [] @@ -60,47 +60,47 @@ (local keys [{1 :mf 2 :FindFiles :desc "Find Files"} {1 :mg - 2 "Telescope live_grep theme=dropdown" + 2 "Telescope live_grep theme=ivy" :desc "Find Text"} {1 : - 2 "Telescope buffers theme=dropdown previewer=true initial_mode=normal" + 2 "Telescope buffers theme=ivy previewer=true initial_mode=normal" :desc "Switch Buffer"} {1 :fC - 2 "Telescope commands theme=dropdown" + 2 "Telescope commands theme=ivy" :desc :Commands} {1 :fH 2 "Telescope highlights" :desc :Highlights} {1 :fR - 2 "Telescope registers theme=dropdown" + 2 "Telescope registers theme=ivy" :desc :Registers} {1 :fS - 2 "Telescope grep_string theme=dropdown" + 2 "Telescope grep_string theme=ivy" :desc "Find String"} {1 :gb - 2 "Telescope git_branches theme=dropdown" + 2 "Telescope git_branches theme=ivy" :desc "Checkout Branch"} {1 :ff 2 :FindFiles :desc "Find files"} {1 :fh - 2 "Telescope help_tags theme=dropdown" + 2 "Telescope help_tags theme=ivy" :desc :Help} {1 :fk - 2 "Telescope keymaps theme=dropdown" + 2 "Telescope keymaps theme=ivy" :desc :Keymaps} {1 :fl - 2 "Telescope resume theme=dropdown" + 2 "Telescope resume theme=ivy" :desc "Last Search"} {1 :fp - 2 "Telescope projects theme=dropdown" + 2 "Telescope projects theme=ivy" :desc "Find Project"} {1 :fr - 2 "Telescope oldfiles theme=dropdown" + 2 "Telescope oldfiles theme=ivy" :desc "Recent File"} {1 :ft - 2 "Telescope live_grep theme=dropdown" + 2 "Telescope live_grep theme=ivy" :desc "Find Text"} {1 :gc - 2 "Telescope git_commits theme=dropdown" + 2 "Telescope git_commits theme=ivy" :desc "Checkout Commit"}]) (λ config [] -- cgit v1.2.3-70-g09d2