-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added alpha config, lazy detected changes, have to add logos for func…
…tionality
- Loading branch information
1 parent
ca8e9cb
commit e47bb5a
Showing
28 changed files
with
67 additions
and
749 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,4 @@ | ||
{ | ||
"Comment.nvim": { "branch": "master", "commit": "e1fe53117aab24c378d5e6deaad786789c360123" }, | ||
"LuaSnip": { "branch": "master", "commit": "b4bc24c4925aeb05fd47d2ee9b24b7f73f5d7e32" }, | ||
"alpha-nvim": { "branch": "main", "commit": "1838ae926e8d49fe5330d1498ee8289ae2c340bc" }, | ||
"clever-f.vim": { "branch": "master", "commit": "6a3ac5e3688598af9411ab741737f98c47370c22" }, | ||
"cmp-nvim-lsp": { "branch": "main", "commit": "0e6b2ed705ddcff9738ec4ea838141654f12eeef" }, | ||
"cmp_luasnip": { "branch": "master", "commit": "18095520391186d634a0045dacaa346291096566" }, | ||
"friendly-snippets": { "branch": "main", "commit": "10f741908e56ce47cf6b3440e3f04b4fdc0da2f2" }, | ||
"gitsigns.nvim": { "branch": "main", "commit": "c18b7ca0b5b50596722f3a1572eb9b8eb520c0f1" }, | ||
"gruvbox-baby": { "branch": "main", "commit": "7a3f1142ec3dc380f4d4af0df32bda3a85f959a3" }, | ||
"harpoon": { "branch": "master", "commit": "3476228be2d79f66ebbdb34eafc45842d054f7df" }, | ||
"indent-blankline.nvim": { "branch": "master", "commit": "018bd04d80c9a73d399c1061fa0c3b14a7614399" }, | ||
"lazy.nvim": { "branch": "main", "commit": "a93d8983c4335b6ae7d6e7d516a191d929186d5b" }, | ||
"leap.nvim": { "branch": "main", "commit": "6f2912755c9c4ae790abd829f0cf1b07c037b2a4" }, | ||
"lsp-zero.nvim": { "branch": "v2.x", "commit": "cf38e6034f2d776ebd16304a334b79543d1ffa60" }, | ||
"lualine.nvim": { "branch": "master", "commit": "05d78e9fd0cdfb4545974a5aa14b1be95a86e9c9" }, | ||
"markdown-preview.nvim": { "branch": "master", "commit": "02cc3874738bc0f86e4b91f09b8a0ac88aef8e96" }, | ||
"mason-lspconfig.nvim": { "branch": "main", "commit": "90a8bbf106b85b76951a34c542058ffa807de2b1" }, | ||
"mason.nvim": { "branch": "main", "commit": "a51391311e86c295fc7611be2beb58859e93f21b" }, | ||
"material.nvim": { "branch": "main", "commit": "0c725897bc3d22c45fbf25a602002ee02f06f619" }, | ||
"neodev.nvim": { "branch": "main", "commit": "6498a07601702349c31909005bb333003e4687d4" }, | ||
"noice.nvim": { "branch": "main", "commit": "c2a745a26ae562f1faecbf6177ac53377d2658d5" }, | ||
"nui.nvim": { "branch": "main", "commit": "698e75814cd7c56b0dd8af4936bcef2d13807f3c" }, | ||
"nvim-autopairs": { "branch": "master", "commit": "7747bbae60074acf0b9e3a4c13950be7a2dff444" }, | ||
"nvim-cmp": { "branch": "main", "commit": "935b4069ce73b60ba9075bf05ee6ab50ed3af1a9" }, | ||
"nvim-lspconfig": { "branch": "master", "commit": "84717430fb6f51c9e9cc8d63da10cceafc91500c" }, | ||
"nvim-notify": { "branch": "master", "commit": "159c6cf1be25a933f35e97499314c9faab55c98f" }, | ||
"nvim-tetris": { "branch": "master", "commit": "d17c99fb527ada98ffb0212ffc87ccda6fd4f7d9" }, | ||
"nvim-tree.lua": { "branch": "master", "commit": "270c95556cad96d18ca547d86ae65927334b108b" }, | ||
"nvim-treesitter": { "branch": "master", "commit": "73c7af9cdbce9330eeb9771639c86269f6d7cf9d" }, | ||
"nvim-ts-autotag": { "branch": "main", "commit": "40615e96075c743ef47aaf9de966dc348bec6459" }, | ||
"nvim-ts-context-commentstring": { "branch": "main", "commit": "0bf8fbc2ca8f8cdb6efbd0a9e32740d7a991e4c3" }, | ||
"nvim-web-devicons": { "branch": "master", "commit": "986875b7364095d6535e28bd4aac3a9357e91bbe" }, | ||
"plenary.nvim": { "branch": "master", "commit": "9ac3e9541bbabd9d73663d757e4fe48a675bb054" }, | ||
"telescope.nvim": { "branch": "master", "commit": "b79cd6c88b3d96b0f49cb7d240807cd59b610cd8" }, | ||
"themery.nvim": { "branch": "main", "commit": "406c7da665c2664cedb16f9d7cc3fa6ed907e5c3" }, | ||
"toggleterm.nvim": { "branch": "main", "commit": "2a787c426ef00cb3488c11b14f5dcf892bbd0bda" }, | ||
"transparent.nvim": { "branch": "main", "commit": "f09966923f7e329ceda9d90fe0b7e8042b6bdf31" }, | ||
"vim-be-good": { "branch": "master", "commit": "c290810728a4f75e334b07dc0f3a4cdea908d351" }, | ||
"vim-lichess": { "branch": "master", "commit": "1eb2039106121acb25da7a667bfc1aa186ab0ea7" }, | ||
"vim-startuptime": { "branch": "master", "commit": "01b67169c3ebe41f163c07bf6853555ca19bc27f" }, | ||
"vim-surround": { "branch": "master", "commit": "3d188ed2113431cf8dac77be61b842acb64433d9" }, | ||
"vscode.nvim": { "branch": "main", "commit": "dc5f37603ada51db13bc4009cbee628c5857a274" } | ||
"alpha-nvim": { "branch": "main", "commit": "9e33db324b8bb7a147bce9ea5496686ee859461d" }, | ||
"lazy.nvim": { "branch": "main", "commit": "c1aad95243f0d180f41348be26b2417547fb168b" } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
return { | ||
'goolord/alpha-nvim', | ||
event = 'VimEnter', | ||
config = function() | ||
local opts = { noremap = true, silent = true } | ||
|
||
vim.keymap.set('n', '<leader>a', ':Alpha<CR>', opts) | ||
|
||
local status_ok, alpha = pcall(require, 'alpha') | ||
if not status_ok then | ||
return | ||
end | ||
|
||
local function header() | ||
return require('v9.plugin_config.logos')['random'] | ||
end | ||
|
||
local dashboard = require('alpha.themes.dashboard') | ||
|
||
dashboard.section.header.val = header() | ||
|
||
dashboard.section.buttons.val = { | ||
dashboard.button('f', ' Find file', ':Telescope find_files <CR>'), | ||
dashboard.button('e', ' New file', ':ene <CR>'), | ||
dashboard.button('r', ' Recently used files', ':Telescope oldfiles <CR>'), | ||
dashboard.button('gr', ' Find text', ':Telescope live_grep <CR>'), | ||
dashboard.button('n', ' Open file tree', ':NvimTreeOpen <CR>'), | ||
dashboard.button('q', ' Quit Neovim', ':qa<CR>'), | ||
} | ||
|
||
local v = vim.version() | ||
local version = ' v' .. v.major .. '.' .. v.minor .. '.' .. v.patch | ||
local datetime = os.date(' %d-%m-%Y %H:%M:%S') | ||
|
||
vim.api.nvim_create_autocmd('User', { | ||
pattern = 'LazyVimStarted', | ||
callback = function() | ||
local stats = require('lazy').stats() | ||
local ms = (math.floor(stats.startuptime * 100 + 0.5) / 100) | ||
dashboard.section.footer.val = { | ||
'', | ||
'', | ||
version, | ||
'', | ||
datetime, | ||
'', | ||
'⚡ Neovim loaded ' .. stats.count .. ' plugins in ' .. ms .. 'ms', | ||
} | ||
pcall(vim.cmd.AlphaRedraw) | ||
end, | ||
}) | ||
|
||
dashboard.section.footer.val = {} | ||
|
||
dashboard.section.footer.opts.hl = 'Type' | ||
dashboard.section.header.opts.hl = 'Include' | ||
dashboard.section.buttons.opts.hl = 'Keyword' | ||
|
||
dashboard.opts.opts.noautocmd = true | ||
alpha.setup(dashboard.opts) | ||
|
||
end | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
return {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.