Backup
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
return {
|
||||
'goolord/alpha-nvim',
|
||||
dependencies = {
|
||||
'echasnovski/mini.icons',
|
||||
'nvim-lua/plenary.nvim',
|
||||
"nvim-telescope/telescope.nvim"
|
||||
},
|
||||
config = function ()
|
||||
local alpha = require("alpha")
|
||||
local dashboard = require("alpha.themes.dashboard")
|
||||
|
||||
dashboard.section.header.val = {
|
||||
" ",
|
||||
" ███╗ ██╗███████╗ ██████╗ ██╗ ██╗██╗███╗ ███╗ ",
|
||||
" ████╗ ██║██╔════╝██╔═══██╗██║ ██║██║████╗ ████║ ",
|
||||
" ██╔██╗ ██║█████╗ ██║ ██║██║ ██║██║██╔████╔██║ ",
|
||||
" ██║╚██╗██║██╔══╝ ██║ ██║╚██╗ ██╔╝██║██║╚██╔╝██║ ",
|
||||
" ██║ ╚████║███████╗╚██████╔╝ ╚████╔╝ ██║██║ ╚═╝ ██║ ",
|
||||
" ╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚═══╝ ╚═╝╚═╝ ╚═╝ ",
|
||||
" ",
|
||||
}
|
||||
dashboard.section.header.opts.hl = "Red"
|
||||
dashboard.section.buttons.val = {
|
||||
dashboard.button( "e", " > New file" , ":ene <BAR> startinsert <CR>"),
|
||||
dashboard.button( "f", " > Find file", ":cd $HOME | Telescope find_files<CR>"),
|
||||
dashboard.button( "r", " > Recent" , ":Telescope oldfiles<CR>"),
|
||||
dashboard.button( "s", " > Settings" , ":e $MYVIMRC | :cd %:p:h<CR>"),
|
||||
dashboard.button( "q", " > Quit NVIM", ":qa<CR>"),
|
||||
}
|
||||
alpha.setup(dashboard.opts)
|
||||
end
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
return {
|
||||
"startup-nvim/startup.nvim",
|
||||
dependencies = { "nvim-telescope/telescope.nvim", "nvim-lua/plenary.nvim", "nvim-telescope/telescope-file-browser.nvim" },
|
||||
config = function()
|
||||
require "startup".setup()
|
||||
end
|
||||
}
|
||||
@@ -2,7 +2,8 @@ return {
|
||||
"nvim-telescope/telescope.nvim",
|
||||
keys = {
|
||||
{',', "<cmd>Telescope find_files<cr>", desc = "Telescope find files"},
|
||||
{'<A-,>', "<cmd>Telescope live_grep<cr>", desc = "Telescope live grep"}
|
||||
{'<A-,>', "<cmd>Telescope live_grep<cr>", desc = "Telescope live grep"},
|
||||
{'<leader>o', "<cmd>Telescope oldfiles<cr>", desc = "Telescope live grep"}
|
||||
},
|
||||
requires = { "nvim-lua/plenary.nvim", "BurntSushi/ripgrep" },
|
||||
opts = {}
|
||||
|
||||
@@ -8,12 +8,12 @@ return {
|
||||
},
|
||||
keys = {
|
||||
-- 👇 in this section, choose your own keymappings!
|
||||
{
|
||||
"<A-f>",
|
||||
mode = { "n", "v" },
|
||||
"<cmd>Yazi<cr>",
|
||||
desc = "Open yazi at the current file",
|
||||
},
|
||||
-- {
|
||||
-- "<leader>f",
|
||||
-- mode = { "n", "v" },
|
||||
-- "<cmd>Yazi<cr>",
|
||||
-- desc = "Open yazi at the current file",
|
||||
-- },
|
||||
{
|
||||
-- Open in the current working directory
|
||||
"<leader>cw",
|
||||
|
||||
Reference in New Issue
Block a user