summaryrefslogtreecommitdiff
path: root/nvim/fnl/plugins/startup.fnl
blob: cab351353b3c25597cd40923b9f34a862961e8bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{1 :startup-nvim/startup.nvim
 :config (fn []
           ((. (require :startup) :setup) {:body {:align :center
                                                  :content [[" Find File"
                                                             "Telescope find_files"
                                                             :<leader>ff]
                                                            ["󰍉 Find Word"
                                                             "Telescope live_grep"
                                                             :<leader>lg]
                                                            [" Recent Files"
                                                             "Telescope oldfiles"
                                                             :<leader>of]
                                                            [" File Browser"
                                                             "Telescope file_browser"
                                                             :<leader>fb]
                                                            [" New File"
                                                             "lua require'startup'.new_file()"
                                                             :<leader>nf]]
                                                  :default_color ""
                                                  :fold_section false
                                                  :highlight :String
                                                  :margin 5
                                                  :oldfiles_amount 0
                                                  :oldfiles_directory false
                                                  :title "Basic Commands"
                                                  :type :mapping}
                                           :colors {:background "#1f2227"
                                                    :folded_section "#56b6c2"}
                                           :footer {:align :center
                                                    :content [:eltrac.nvim]
                                                    :default_color ""
                                                    :fold_section false
                                                    :highlight :Number
                                                    :margin 5
                                                    :oldfiles_amount 0
                                                    :oldfiles_directory false
                                                    :title :Footer
                                                    :type :text}
                                           :header {:align :center
                                                    :content [" "
                                                              " "
                                                              "  ,-.       _,---._ __  / \\  "
                                                              " /  )    .-'       `./ /   \\ "
                                                              "(  (   ,'            `/    /|"
                                                              " \\  `-\"             \\'\\   / |"
                                                              "  `.              ,  \\ \\ /  |"
                                                              "   /`.          ,'-`----Y   |"
                                                              "  (            ;        |   '"
                                                              "  |  ,-.    ,-'         |  / "
                                                              "  |  | (   |            | /  "
                                                              "  )  |  \\  `.___________|/   "
                                                              "  `--'   `--'                "]
                                                    :default_color ""
                                                    :fold_section false
                                                    :highlight :Statement
                                                    :margin 5
                                                    :oldfiles_amount 0
                                                    :oldfiles_directory false
                                                    :title :Header
                                                    :type :text}
                                           :mappings {:execute_command :<CR>
                                                      :open_file :o
                                                      :open_file_split :<c-o>
                                                      :open_help "?"
                                                      :open_section :<TAB>}
                                           :options {:cursor_column 0.5
                                                     :disable_statuslines true
                                                     :empty_lines_between_mappings true
                                                     :mapping_keys true
                                                     :paddings [1 3 3 0]}
                                           :parts [:header :body :footer]}))
 :dependencies [:nvim-telescope/telescope.nvim
                :nvim-lua/plenary.nvim
                :nvim-telescope/telescope-file-browser.nvim]}