This commit is contained in:
sankalp committed 2024-03-31 18:47:18 +05:45
1 parent bb6973b12e
commit 725fde93d8
15 files changed
+7 -474

No files matched your search

@@ -1,27 +0,0 @@
local header_collection = require('plugins.dashboard-theme.headers')
return {
theme = 'doom',
config = {
header = header_collection.dash,
center = {
{
icon = '',
icon_hl = 'Title',
desc = 'Find File ',
desc_hl = 'String',
key = 'f',
key_hl = 'Number',
key_format = ' %s', -- remove default surrounding `[]`
action = 'Telescope find_files'
},
{
icon = '',
desc = 'Quit',
key = 'q',
key_format = ' %s', -- remove default surrounding `[]`
action = 'qa'
},
},
footer = {} --your footer
}
}
@@ -1,54 +0,0 @@
local M = {}
M.default = {
" ",
" ",
" ███╗ ██╗███████╗ ██████╗ ██╗ ██╗██╗███╗ ███╗ ",
" ████╗ ██║██╔════╝██╔═══██╗██║ ██║██║████╗ ████║ ",
" ██╔██╗ ██║█████╗ ██║ ██║██║ ██║██║██╔████╔██║ ",
" ██║╚██╗██║██╔══╝ ██║ ██║╚██╗ ██╔╝██║██║╚██╔╝██║ ",
" ██║ ╚████║███████╗╚██████╔╝ ╚████╔╝ ██║██║ ╚═╝ ██║ ",
" ╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚═══╝ ╚═╝╚═╝ ╚═╝ ",
" ",
" ",
}
M.dash = {
" ",
" ",
"▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄",
"█ ▄ ▄ █",
"█ ▄ ▄▄▄ ▄ ▄▄▄ ▄ ▄ █",
"█ █ ▄ █▄█ ▄▄▄ █ █▄█ █ █ █",
"█ ▄▄ █▄█▄▄▄█ █▄█▄█▄▄█▄▄█ █ █",
"█ ▄ █▄▄█ ▄ ▄▄ ▄█ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄ █",
"█ █▄▄▄▄ ▄▄▄ █ ▄ ▄▄▄ ▄ ▄▄▄ ▄ ▄ █ ▄ █",
"█ ▄ █ █▄█ █▄█ █ █ █▄█ █ █▄█ ▄▄▄ █ █ █",
"█ █▄█ ▄ █▄▄█▄▄█ █ ▄▄█ █ ▄ █ █▄█▄█ █ █",
"█ █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█ █▄█▄▄▄█ █",
"█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█",
" ",
" "
}
M.neovim_mini1 = {
"",
"",
" _______ ____ ____.__ ",
" \\ \\ ____ ___\\ \\ / /|__| _____ ",
" / | \\_/ __ \\/ _ \\ Y / | |/ \\ ",
"/ | \\ ___( <_> ) / | | Y Y \\",
"\\____|__ /\\___ >____/ \\___/ |__|__|_| /",
" \\/ \\/ \\/ ",
"",
}
M.neovim_mini2 = {
" __ ",
" .-----.-----.-----.--.--|__|--------. ",
" | | -__| _ | | | | | ",
" |__|__|_____|_____|\\___/|__|__|__|__| ",
""
}
return M
@@ -1,58 +0,0 @@
local header_collection = require('plugins.dashboard-theme.headers')
local limit = 9
return {
theme = 'hyper',
change_to_vcs_root = true,
shortcut_type = 'number',
hide = {
statusline = true, -- hide statusline default is true
tabline = true, -- hide the tabline
winbar = true, -- hide winbar
},
config = {
header = header_collection.default,
week_header = {
enable = false,
},
packages = { enable = true }, -- show how many plugins neovim loaded
project = {
enable = false,
limit = 8,
icon = '',
group = '@function',
label = 'Projects',
action = 'Telescope find_files cwd='
},
mru = {
limit = limit,
icon = '',
label = 'Recent (Last ' .. tostring(limit) .. ' files)',
},
shortcut = {
{
icon = '',
desc = 'New file',
group = 'DiagnosticOk',
action = 'ene',
key = 'n'
},
{
icon = '',
desc = 'Files',
group = 'DiagnosticInfo',
action = 'Telescope find_files',
key = 'f',
},
{
icon = '',
desc = 'Words',
group = 'DiagnosticWarn',
action = 'Telescope live_grep',
key = 'g',
},
{ icon = '󰚰 ', desc = 'Lazy', group = '@property', action = 'Lazy', key = 'l' },
{ icon = '', desc = 'Quit', group = 'DiagnosticError', action = 'qa', key = 'q' },
},
},
}
@@ -1,47 +0,0 @@
local header_collection = require('plugins.dashboard-theme.headers')
return {
theme = 'hyper',
change_to_vcs_root = true,
shortcut_type = 'number',
hide = {
statusline = true, -- hide statusline default is true
tabline = true, -- hide the tabline
winbar = true, -- hide winbar
},
config = {
header = header_collection.default,
week_header = {
enable = false,
},
packages = { enable = true }, -- show how many plugins neovim loaded
project = { enable = false },
mru = { },
shortcut = {
{
icon = '',
desc = 'New file',
group = 'DiagnosticOk',
action = 'ene',
key = 'e'
},
{
icon = '',
desc = 'Files',
group = 'DiagnosticInfo',
action = 'Telescope find_files',
key = 'f',
},
{
icon = '',
desc = 'Words',
group = 'DiagnosticWarn',
action = 'Telescope live_grep',
key = 'g',
},
{ icon = '󰚰 ', desc = 'Update', group = '@property', action = 'Lazy update', key = 'u' },
{ icon = '', desc = 'Quit', group = 'DiagnosticError', action = 'qa', key = 'q' },
},
},
}
@@ -1,31 +0,0 @@
local header_collection = require('plugins.dashboard-theme.headers')
return {
theme = 'doom',
config = {
header = header_collection.dash,
center = {
{
icon = '',
icon_hl = 'Title',
desc = 'New file',
desc_hl = 'String',
action = 'ene',
},
{
icon = '',
icon_hl = 'Title',
desc = 'Find files',
desc_hl = 'String',
action = 'Telescope find_files',
},
{
icon = '',
icon_hl = 'Title',
desc = 'Quit',
desc_hl = 'String',
action = 'qa',
},
},
footer = { "🎉 No Code, No Bug 🎉", ""} --your footer
}
}
@@ -13,6 +13,7 @@ return {
border = {
enable = true,
},
use_trouble_qf = true,
hooks = {
before_open = function(results, open, jump, method)
local uri = vim.uri_from_bufnr(0)