@@ -3,95 +3,30 @@ local hls = {
3
3
sel = " PmenuSel" ,
4
4
title = " IncSearch"
5
5
}
6
- local function title (str , opts )
7
- return vim .tbl_deep_extend (" keep" , opts or {},
8
- {
9
- prompt = " ❯ " ,
10
- winopts = {
11
- -- title = { { " " .. str .. " ", hls.title } },
12
- title = " " .. str .. " " ,
13
- title_pos = " center" ,
14
- }
15
- })
16
- end
17
6
return {
18
- desc = " borderless and not so minimalistic" ,
19
- winopts = {
7
+ { " default-title" }, -- base profile
8
+ desc = " borderless and not so minimalistic" ,
9
+ winopts = {
20
10
border = { " " , " " , " " , " " , " " , " " , " " , " " },
21
11
preview = {
22
12
scrollbar = " float" ,
23
13
scrolloff = " -2" ,
24
14
title_pos = " center" ,
25
15
},
26
16
},
27
- hls = {
17
+ hls = {
28
18
title = hls .title ,
29
19
border = hls .bg ,
30
20
preview_title = hls .title ,
31
21
preview_border = hls .bg ,
32
22
scrollfloat_e = " " ,
33
23
scrollfloat_f = hls .sel ,
34
24
},
35
- fzf_colors = {
25
+ fzf_colors = {
36
26
[" gutter" ] = { " bg" , hls .bg },
37
27
[" bg" ] = { " bg" , hls .bg },
38
28
[" bg+" ] = { " bg" , hls .sel },
39
29
[" fg+" ] = { " fg" , hls .sel },
40
30
},
41
- files = title (" Files" ),
42
- buffers = title (" Buffers" ),
43
- tabs = title (" Tabs" ),
44
- lines = title (" Lines" ),
45
- blines = title (" Buffer Lines" ),
46
- grep = title (" Search" , { rg_glob = true }),
47
- git = {
48
- files = title (" Git Files" ),
49
- status = title (" Git Status" ),
50
- commits = title (" Git Commits" ),
51
- bcommits = title (" Git BCommits" ),
52
- branches = title (" Git Branches" ),
53
- stash = title (" Git Stash" ),
54
- },
55
- args = title (" Args" ),
56
- oldfiles = title (" Oldfiles" ),
57
- quickfix = title (" Quickfix List" ),
58
- quickfix_stack = title (" Quickfix List Stack" ),
59
- loclist = title (" Location List" ),
60
- loclist_stack = title (" Location List Stack" ),
61
- tags = title (" Tags" ),
62
- btags = title (" Buffer Tags" ),
63
- colorschemes = title (" Colorschemes" ),
64
- highlights = title (" Highlights" ),
65
- helptags = title (" Neovim Help" ),
66
- manpages = title (" Man Pages" ),
67
- lsp = title (" LSP" , {
68
- prompt = false ,
69
- symbols = title (" LSP" , { prompt = false }),
70
- finder = title (" LSP Finder" ),
71
- code_actions = title (" Code Actions" ),
72
- }),
73
- diagnostics = title (" Diagnostics" ),
74
- builtin = title (" FzfLua Builtin" ),
75
- profiles = title (" FzfLua Profiles" ),
76
- marks = title (" Marks" ),
77
- jumps = title (" Jumps" ),
78
- tagstack = title (" Tagstack" ),
79
- commands = title (" Commands" ),
80
- autocmds = title (" Autocmds" ),
81
- command_history = title (" Command history" ),
82
- search_history = title (" Search history" ),
83
- registers = title (" Registers" ),
84
- keymaps = title (" Keymaps" ),
85
- spell_suggest = title (" Spell Suggestions" ),
86
- filetypes = title (" Filetypes" ),
87
- packadd = title (" Packer Packadd" ),
88
- menus = title (" Menus" ),
89
- tmux = title (" Tmux Buffers" ),
90
- dap = {
91
- commands = title (" DAP Commands" ),
92
- configurations = title (" DAP Configurations" ),
93
- variables = title (" DAP Variables" ),
94
- frames = title (" DAP Frames" ),
95
- breakpoints = title (" DAP Breakpoints" ),
96
- },
31
+ grep = { rg_glob = true },
97
32
}
0 commit comments