mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2024-12-12 12:50:37 +00:00
dashboard using alpha + tasks.nvim + keybinds
This commit is contained in:
parent
f2ac9f069d
commit
9885b038cb
3 changed files with 34 additions and 54 deletions
|
@ -294,6 +294,14 @@ M.telescope = {
|
|||
},
|
||||
}
|
||||
|
||||
M.tasks = {
|
||||
plugin = true,
|
||||
|
||||
n = {
|
||||
["<leader>st"] = { "<cmd> Telescope tasks specs <CR>", "show available tasks" }
|
||||
}
|
||||
}
|
||||
|
||||
M.nvterm = {
|
||||
plugin = true,
|
||||
|
||||
|
|
|
@ -44,17 +44,27 @@ local options = {
|
|||
header = {
|
||||
type = "text",
|
||||
val = {
|
||||
" ⣴⣶⣤⡤⠦⣤⣀⣤⠆ ⣈⣭⣿⣶⣿⣦⣼⣆ ",
|
||||
" ⠉⠻⢿⣿⠿⣿⣿⣶⣦⠤⠄⡠⢾⣿⣿⡿⠋⠉⠉⠻⣿⣿⡛⣦ ",
|
||||
" ⠈⢿⣿⣟⠦ ⣾⣿⣿⣷ ⠻⠿⢿⣿⣧⣄ ",
|
||||
" ⣸⣿⣿⢧ ⢻⠻⣿⣿⣷⣄⣀⠄⠢⣀⡀⠈⠙⠿⠄ ",
|
||||
" ⢠⣿⣿⣿⠈ ⣻⣿⣿⣿⣿⣿⣿⣿⣛⣳⣤⣀⣀ ",
|
||||
" ⢠⣧⣶⣥⡤⢄ ⣸⣿⣿⠘ ⢀⣴⣿⣿⡿⠛⣿⣿⣧⠈⢿⠿⠟⠛⠻⠿⠄ ",
|
||||
" ⣰⣿⣿⠛⠻⣿⣿⡦⢹⣿⣷ ⢊⣿⣿⡏ ⢸⣿⣿⡇ ⢀⣠⣄⣾⠄ ",
|
||||
" ⣠⣿⠿⠛ ⢀⣿⣿⣷⠘⢿⣿⣦⡀ ⢸⢿⣿⣿⣄ ⣸⣿⣿⡇⣪⣿⡿⠿⣿⣷⡄ ",
|
||||
" ⠙⠃ ⣼⣿⡟ ⠈⠻⣿⣿⣦⣌⡇⠻⣿⣿⣷⣿⣿⣿ ⣿⣿⡇ ⠛⠻⢷⣄ ",
|
||||
" ⢻⣿⣿⣄ ⠈⠻⣿⣿⣿⣷⣿⣿⣿⣿⣿⡟ ⠫⢿⣿⡆ ",
|
||||
" ⠻⣿⣿⣿⣿⣶⣶⣾⣿⣿⣿⣿⣿⣿⣿⣿⡟⢀⣀⣤⣾⡿⠃ ",
|
||||
-- " ⣴⣶⣤⡤⠦⣤⣀⣤⠆ ⣈⣭⣿⣶⣿⣦⣼⣆ ",
|
||||
-- " ⠉⠻⢿⣿⠿⣿⣿⣶⣦⠤⠄⡠⢾⣿⣿⡿⠋⠉⠉⠻⣿⣿⡛⣦ ",
|
||||
-- " ⠈⢿⣿⣟⠦ ⣾⣿⣿⣷ ⠻⠿⢿⣿⣧⣄ ",
|
||||
-- " ⣸⣿⣿⢧ ⢻⠻⣿⣿⣷⣄⣀⠄⠢⣀⡀⠈⠙⠿⠄ ",
|
||||
-- " ⢠⣿⣿⣿⠈ ⣻⣿⣿⣿⣿⣿⣿⣿⣛⣳⣤⣀⣀ ",
|
||||
-- " ⢠⣧⣶⣥⡤⢄ ⣸⣿⣿⠘ ⢀⣴⣿⣿⡿⠛⣿⣿⣧⠈⢿⠿⠟⠛⠻⠿⠄ ",
|
||||
-- " ⣰⣿⣿⠛⠻⣿⣿⡦⢹⣿⣷ ⢊⣿⣿⡏ ⢸⣿⣿⡇ ⢀⣠⣄⣾⠄ ",
|
||||
-- " ⣠⣿⠿⠛ ⢀⣿⣿⣷⠘⢿⣿⣦⡀ ⢸⢿⣿⣿⣄ ⣸⣿⣿⡇⣪⣿⡿⠿⣿⣷⡄ ",
|
||||
-- " ⠙⠃ ⣼⣿⡟ ⠈⠻⣿⣿⣦⣌⡇⠻⣿⣿⣷⣿⣿⣿ ⣿⣿⡇ ⠛⠻⢷⣄ ",
|
||||
-- " ⢻⣿⣿⣄ ⠈⠻⣿⣿⣿⣷⣿⣿⣿⣿⣿⡟ ⠫⢿⣿⡆ ",
|
||||
-- " ⠻⣿⣿⣿⣿⣶⣶⣾⣿⣿⣿⣿⣿⣿⣿⣿⡟⢀⣀⣤⣾⡿⠃ ",
|
||||
--
|
||||
" ",
|
||||
" ████ ██████ █████ ██ ",
|
||||
" ███████████ █████ ",
|
||||
" █████████ ███████████████████ ███ ███████████ ",
|
||||
" █████████ ███ █████████████ █████ ██████████████ ",
|
||||
" █████████ ██████████ █████████ █████ █████ ████ █████ ",
|
||||
" ███████████ ███ ███ █████████ █████ █████ ████ █████ ",
|
||||
" ██████ █████████████████████ ████ █████ █████ ████ ██████ ",
|
||||
" ",
|
||||
},
|
||||
opts = {
|
||||
position = "center",
|
||||
|
|
|
@ -88,48 +88,6 @@ local plugins = {
|
|||
end,
|
||||
},
|
||||
|
||||
["EthanJWright/vs-tasks.nvim"] = {
|
||||
requires = {
|
||||
'nvim-lua/popup.nvim',
|
||||
'nvim-lua/plenary.nvim',
|
||||
'nvim-telescope/telescope.nvim'
|
||||
},
|
||||
setup = function()
|
||||
require("vstask").setup({
|
||||
cache_json_conf = true, -- don't read the json conf every time a task is ran
|
||||
cache_strategy = "last", -- can be "most" or "last" (most used / last used)
|
||||
use_harpoon = true, -- use harpoon to auto cache terminals
|
||||
telescope_keys = { -- change the telescope bindings used to launch tasks
|
||||
vertical = '<C-v>',
|
||||
split = '<C-p>',
|
||||
tab = '<C-t>',
|
||||
current = '<CR>',
|
||||
},
|
||||
autodetect = { -- auto load scripts
|
||||
npm = "on"
|
||||
},
|
||||
terminal = 'nvterm',
|
||||
term_opts = {
|
||||
vertical = {
|
||||
direction = "vertical",
|
||||
size = "80"
|
||||
},
|
||||
horizontal = {
|
||||
direction = "horizontal",
|
||||
size = "10"
|
||||
},
|
||||
current = {
|
||||
direction = "float",
|
||||
},
|
||||
tab = {
|
||||
direction = 'tab',
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
end,
|
||||
},
|
||||
|
||||
-- git stuff
|
||||
["lewis6991/gitsigns.nvim"] = {
|
||||
ft = "gitcommit",
|
||||
|
@ -222,7 +180,7 @@ local plugins = {
|
|||
|
||||
["goolord/alpha-nvim"] = {
|
||||
after = "base46",
|
||||
disable = true,
|
||||
disable = false,
|
||||
config = function()
|
||||
require "plugins.configs.alpha"
|
||||
end,
|
||||
|
@ -261,6 +219,10 @@ local plugins = {
|
|||
end,
|
||||
},
|
||||
|
||||
["GustavoKatel/tasks.nvim"] = {
|
||||
requires = { "nvim-lua/plenary.nvim" },
|
||||
},
|
||||
|
||||
-- Only load whichkey after all the gui
|
||||
["folke/which-key.nvim"] = {
|
||||
disable = true,
|
||||
|
|
Loading…
Reference in a new issue