From 10b175f252104458d7478d8a2822818850cfdf92 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 15 Jan 2023 22:47:30 +0100 Subject: Refactor file structure --- fnl/plugins/alpha.fnl | 47 ----------------------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 fnl/plugins/alpha.fnl (limited to 'fnl/plugins/alpha.fnl') diff --git a/fnl/plugins/alpha.fnl b/fnl/plugins/alpha.fnl deleted file mode 100644 index 87c45e0..0000000 --- a/fnl/plugins/alpha.fnl +++ /dev/null @@ -1,47 +0,0 @@ -;; A customizable greeter. - -(local ascii-art [" ##############..... ############## " - " ##############......############## " - " ##########..........########## " - " ##########........########## " - " ##########.......########## " - " ##########.....##########.. " - " ##########....##########..... " - " ..##########..##########......... " - " ....##########.#########............. " - " ..################JJJ............ " - " ################............. " - " ##############.JJJ.JJJJJJJJJJ " - " ############...JJ...JJ..JJ JJ " - " ##########....JJ...JJ..JJ JJ " - " ########......JJJ..JJJ JJJ JJJ " - " ###### ......... " - " ..... " - " . "]) - -(fn setup [] - (let [alpha (require :alpha)] - (let [dashboard (require :alpha.themes.dashboard)] - (set dashboard.section.header.val ascii-art) - (set dashboard.section.buttons.val - [(dashboard.button :e " New file" ":ene startinsert ") - (dashboard.button :f " Find file" - ":Telescope find_files theme=dropdown") - (dashboard.button :t " Find text" - ":Telescope live_grep theme=dropdown") - (dashboard.button :p " Find project" - ":Telescope projects theme=dropdown") - (dashboard.button :r " Recently used files" - ":Telescope oldfiles theme=dropdown") - (dashboard.button :c " Configuration" - ":e ~/.config/nvim/init.lua ") - (dashboard.button :q " Quit Neovim" ":qa")]) - (set dashboard.section.header.opts.hl :AlphaHeader) - (set dashboard.section.buttons.opts.hl :AlphaButtons) - (set dashboard.opts.opts.noautocmd true) - (alpha.setup dashboard.opts)))) - -{1 :goolord/alpha-nvim - :event :VimEnter - :config (fn [] - (setup))} -- cgit v1.2.3-70-g09d2