mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-07-07 16:04:27 +02:00
initial new update icon
This commit is contained in:
parent
aec3c632f0
commit
3ca400d195
8 changed files with 84 additions and 32 deletions
|
@ -25,14 +25,14 @@ end
|
|||
local dashboard = require("alpha.themes.dashboard")
|
||||
dashboard.section.header.val = board
|
||||
dashboard.section.buttons.val = {
|
||||
dashboard.button("f", " Find file", ":Telescope find_files <CR>"),
|
||||
dashboard.button("f", " Find file", ":Telescope find_files <CR>"),
|
||||
dashboard.button("e", " New file", ":ene <BAR> startinsert <CR>"),
|
||||
dashboard.button("p", " Find project", ":Telescope projects <CR>"),
|
||||
dashboard.button("r", " Recently used files", ":Telescope oldfiles <CR>"),
|
||||
dashboard.button("t", " Find text", ":Telescope live_grep <CR>"),
|
||||
dashboard.button("r", " Recently used files", ":Telescope oldfiles <CR>"),
|
||||
dashboard.button("t", " Find text", ":Telescope live_grep <CR>"),
|
||||
dashboard.button("c", " Configuration", ":e $MYVIMRC <CR>"),
|
||||
dashboard.button("z", "鈴 Lazy", ":Lazy<CR>"),
|
||||
dashboard.button("q", " Quit Neovim", ":qa<CR>"),
|
||||
dashboard.button("z", " Lazy", ":Lazy<CR>"),
|
||||
dashboard.button("q", " Quit Neovim", ":qa<CR>"),
|
||||
}
|
||||
|
||||
dashboard.section.footer.opts.hl = "Type"
|
||||
|
|
|
@ -11,7 +11,7 @@ return {
|
|||
Event = "",
|
||||
Field = "",
|
||||
File = "",
|
||||
Folder = "",
|
||||
Folder = "",
|
||||
Function = "",
|
||||
Interface = "",
|
||||
Key = "",
|
||||
|
@ -19,7 +19,7 @@ return {
|
|||
Method = "",
|
||||
Module = "",
|
||||
Namespace = "",
|
||||
Null = "ﳠ",
|
||||
Null = "",
|
||||
Number = "",
|
||||
Object = "",
|
||||
Operator = "",
|
||||
|
@ -69,7 +69,7 @@ return {
|
|||
Bug = "",
|
||||
Stacks = "",
|
||||
Scopes = "",
|
||||
Watches = "",
|
||||
Watches = "",
|
||||
DebugConsole = "",
|
||||
Calendar = "",
|
||||
Check = "",
|
||||
|
@ -80,7 +80,7 @@ return {
|
|||
ChevronShortUp = "",
|
||||
Circle = "",
|
||||
Dot = "",
|
||||
Close = "",
|
||||
Close = "",
|
||||
CloudDownload = "",
|
||||
Code = "",
|
||||
Comment = "",
|
||||
|
@ -115,19 +115,19 @@ return {
|
|||
NewFile = "",
|
||||
Note = "",
|
||||
Package = "",
|
||||
Pencil = "",
|
||||
Pencil = "",
|
||||
Plus = "",
|
||||
Project = "",
|
||||
Search = "",
|
||||
SignIn = "",
|
||||
SignOut = "",
|
||||
Tab = "",
|
||||
Tab = "",
|
||||
Table = "",
|
||||
Target = "",
|
||||
Telescope = "",
|
||||
Text = "",
|
||||
Tree = "",
|
||||
Triangle = "契",
|
||||
Triangle = "▸",
|
||||
TriangleShortArrowDown = "",
|
||||
TriangleShortArrowLeft = "",
|
||||
TriangleShortArrowRight = "",
|
||||
|
@ -144,7 +144,7 @@ return {
|
|||
BoldQuestion = "",
|
||||
Question = "",
|
||||
BoldHint = "",
|
||||
Hint = "",
|
||||
Hint = "",
|
||||
Debug = "",
|
||||
Trace = "✎",
|
||||
},
|
||||
|
|
|
@ -18,13 +18,13 @@ if data_exists then
|
|||
end
|
||||
startify.section.header.val = dash_model
|
||||
startify.section.top_buttons.val = {
|
||||
startify.button("f", " Find file", ":Telescope find_files <CR>"),
|
||||
startify.button("f", " Find file", ":Telescope find_files <CR>"),
|
||||
startify.button("e", " New file", ":ene <BAR> startinsert <CR>"),
|
||||
startify.button("p", " Find project", ":Telescope projects <CR>"),
|
||||
startify.button("r", " Recently used files", ":Telescope oldfiles <CR>"),
|
||||
startify.button("t", " Find text", ":Telescope live_grep <CR>"),
|
||||
startify.button("r", " Recently used files", ":Telescope oldfiles <CR>"),
|
||||
startify.button("t", " Find text", ":Telescope live_grep <CR>"),
|
||||
startify.button("c", " Configuration", ":e $MYVIMRC <CR>"),
|
||||
startify.button("z", "鈴 Lazy", ":Lazy<CR>"),
|
||||
startify.button("z", " Lazy", ":Lazy<CR>"),
|
||||
-- startify.button("q", " Quit Neovim", ":qa<CR>"),
|
||||
}
|
||||
-- disable MRU
|
||||
|
@ -37,7 +37,7 @@ startify.nvim_web_devicons.enabled = false
|
|||
-- startify.nvim_web_devicons.highlight = 'Keyword'
|
||||
--
|
||||
startify.section.bottom_buttons.val = {
|
||||
startify.button("q", " Quit NVIM", ":qa<CR>"),
|
||||
startify.button("q", " Quit NVIM", ":qa<CR>"),
|
||||
}
|
||||
|
||||
local footer_text = "Pojok Code"
|
||||
|
|
|
@ -7,21 +7,18 @@ local material_icon_ok, material_icon = pcall(require, "nvim-material-icon")
|
|||
if not material_icon_ok then
|
||||
return
|
||||
end
|
||||
local prettier_icon = ""
|
||||
local term_program = vim.fn.getenv("TERM_PROGRAM")
|
||||
if term_program == vim.NIL then
|
||||
prettier_icon = ""
|
||||
end
|
||||
|
||||
local prettier_icon = ""
|
||||
material_icon.setup({
|
||||
override = {
|
||||
["mjs"] = {
|
||||
icon = "",
|
||||
icon = "",
|
||||
color = "#f2c55c",
|
||||
cterm_color = "220",
|
||||
name = "Mjs",
|
||||
},
|
||||
["js"] = {
|
||||
icon = "",
|
||||
icon = "",
|
||||
color = "#f2c55c",
|
||||
cterm_color = "220",
|
||||
name = "javascript",
|
||||
|
@ -170,6 +167,30 @@ material_icon.setup({
|
|||
cterm_color = "220",
|
||||
name = "README_file",
|
||||
},
|
||||
["sh"] = {
|
||||
icon = "",
|
||||
color = "#ef510b",
|
||||
cterm_color = "220",
|
||||
name = "README_file",
|
||||
},
|
||||
["pdf"] = {
|
||||
icon = "",
|
||||
color = "#ef510b",
|
||||
cterm_color = "220",
|
||||
name = "pdffile",
|
||||
},
|
||||
["xlsx"] = {
|
||||
icon = "",
|
||||
color = "#349C42",
|
||||
cterm_color = "220",
|
||||
name = "xlsxfile",
|
||||
},
|
||||
["xls"] = {
|
||||
icon = "",
|
||||
color = "#349C42",
|
||||
cterm_color = "220",
|
||||
name = "xlsfile",
|
||||
},
|
||||
-- ["go"] = {
|
||||
-- icon = "",
|
||||
-- color = "#0FBFCF",
|
||||
|
@ -196,6 +217,12 @@ web_devicons.setup({
|
|||
cterm_color = "240",
|
||||
name = "viteconfigts",
|
||||
},
|
||||
["vite.config.js"] = {
|
||||
icon = "",
|
||||
color = "#ffab00",
|
||||
cterm_color = "240",
|
||||
name = "viteconfigjs",
|
||||
},
|
||||
[".releaserc"] = {
|
||||
icon = "",
|
||||
color = "#9C9C9C",
|
||||
|
@ -275,7 +302,7 @@ web_devicons.setup({
|
|||
name = "sequelizerc",
|
||||
},
|
||||
["pre-commit"] = {
|
||||
icon = "",
|
||||
icon = "",
|
||||
color = "#75e4b3",
|
||||
cterm_color = "240",
|
||||
name = "pre",
|
||||
|
@ -382,5 +409,29 @@ web_devicons.setup({
|
|||
cterm_color = "220",
|
||||
name = "gradlewFile-staging",
|
||||
},
|
||||
["nodemon.json"] = {
|
||||
icon = "",
|
||||
color = "#76d04b",
|
||||
cterm_color = "220",
|
||||
name = "nodemonjson",
|
||||
},
|
||||
["webpack.config.js"] = {
|
||||
icon = "",
|
||||
color = "#8ED6FB",
|
||||
cterm_color = "220",
|
||||
name = "webpackconfigjs",
|
||||
},
|
||||
["package.json"] = {
|
||||
icon = "",
|
||||
color = "#8ED6FB",
|
||||
cterm_color = "220",
|
||||
name = "packagejson",
|
||||
},
|
||||
[".gitignore"] = {
|
||||
icon = "",
|
||||
color = "#8ED6FB",
|
||||
cterm_color = "220",
|
||||
name = "gitignore",
|
||||
},
|
||||
},
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue