Merge pull request 'reorg' (#10) from reorg into master

Reviewed-on: #10
This commit is contained in:
clint 2023-06-21 04:06:09 +00:00
commit 5fbc6f4a16
18 changed files with 418 additions and 193 deletions

View File

@ -0,0 +1,57 @@
let SessionLoad = 1
let s:so_save = &g:so | let s:siso_save = &g:siso | setg so=0 siso=0 | setl so=-1 siso=-1
let v:this_session=expand("<sfile>:p")
silent only
silent tabonly
cd ~/dotfiles/nvim/.config/nvim
if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == ''
let s:wipebuf = bufnr('%')
endif
let s:shortmess_save = &shortmess
if &shortmess =~ 'A'
set shortmess=aoOA
else
set shortmess=aoO
endif
badd +1 ~/dotfiles/nvim/.config/nvim/after/plugin/alpha.lua
badd +25 lua/plugins/greeter.lua
badd +38 lua/plugins/ui.lua
argglobal
%argdel
edit lua/plugins/ui.lua
argglobal
balt lua/plugins/greeter.lua
setlocal fdm=indent
setlocal fde=0
setlocal fmr={{{,}}}
setlocal fdi=#
setlocal fdl=99
setlocal fml=1
setlocal fdn=99
setlocal fen
3
normal! zo
let s:l = 37 - ((31 * winheight(0) + 17) / 35)
if s:l < 1 | let s:l = 1 | endif
keepjumps exe s:l
normal! zt
keepjumps 37
normal! 014|
tabnext 1
if exists('s:wipebuf') && len(win_findbuf(s:wipebuf)) == 0 && getbufvar(s:wipebuf, '&buftype') isnot# 'terminal'
silent exe 'bwipe ' . s:wipebuf
endif
unlet! s:wipebuf
set winheight=1 winwidth=20
let &shortmess = s:shortmess_save
let s:sx = expand("<sfile>:p:r")."x.vim"
if filereadable(s:sx)
exe "source " . fnameescape(s:sx)
endif
let &g:so = s:so_save | let &g:siso = s:siso_save
nohlsearch
let g:this_session = v:this_session
let g:this_obsession = v:this_session
doautoall SessionLoadPost
unlet SessionLoad
" vim: set ft=vim :

View File

@ -1,116 +0,0 @@
local status_ok, alpha = pcall(require, "alpha")
if not status_ok then
return
end
local dashboard = require("alpha.themes.dashboard")
PANDA = {
"⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣴⣶⣶⣦⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀",
"⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿⣿⣿⣿⣿⣆⣀⣀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀",
"⠀⠀⠀⠀⠀⠀⠀⠀⢈⣿⡿⠿⠛⠛⠉⠉⠉⠉⠉⠛⠛⠶⣦⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀",
"⠀⠀⠀⠀⠀⠀⣠⡶⠛⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠻⢶⣄⡀⠀⢀⣀⡀⠀⠀⠀⠀",
"⠀⠀⠀⠀⣠⠞⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⢿⣾⣿⣿⣿⣦⠀⠀⠀",
"⠀⠀⢀⡾⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣤⣤⣤⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⢿⣿⣿⣿⠆⠀⠀",
"⠀⢀⣾⠀⠀⠀⠀⠀⠀⠀⠀⢠⣴⣿⣿⣿⣿⣿⣿⣷⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⢿⡿⠟⠀⠀⠀",
"⠀⣾⣿⠀⠀⠀⠀⠀⠀⠀⠀⠻⣿⣿⣿⡿⠟⠛⠛⠛⠀⠀⠀⠀⢀⣤⣤⣄⠀⠀⠈⣷⠀⠀⠀⠀",
"⢸⣿⣿⣇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠁⢠⠄⠂⢄⠀⠀⣤⣄⠀⠘⣿⣿⣿⡆⠀⠀⢸⡇⠀⠀⠀",
"⢸⣿⣿⣿⣦⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢧⣀⣀⠜⠀⠀⢹⠟⠃⠀⢹⣿⡿⠃⠀⠀⢸⣇⠀⠀⠀",
"⢸⣿⣿⣿⣿⣿⣷⣦⣤⣤⣤⣀⣀⣀⣀⣀⣈⣁⣀⣀⣰⡋⠀⠀⠀⢀⡄⠀⠀⠀⠀⢸⡇⠀⠀⠀",
"⠸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣤⡀⠀⠀⠀⢀⣴⣾⣧⣴⡟⠀",
"⠀⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣦⡀⠀⣾⣿⣿⣿⡟⠀⠀",
"⠀⠈⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧⣤⣿⣿⣿⣿⣇⠀⠀",
"⠀⠀⠈⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⢿⣟⠳⢤⡳⠽⣷⣄",
"⠀⠀⠀⠀⠙⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠋⠈⠙⠚⠿⠆⠀⠀",
"⠀⠀⠀⠀⠀⠀⠙⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠟⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀",
"⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠛⠻⠿⣿⣿⣿⣿⣿⣿⡿⠿⠟⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀"
}
BONFIRE = {
" ⣰⢤⢤⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀",
"⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⡿⡟⠛⢿⡆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀",
"⠀⠀⠀⠀⠀⠀⠀⠀⠀⠸⣧⣀⣠⠞⢹⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀",
"⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢙⣶⣆⣐⢿⣿⠃⣈⣰⣄⠀⠀⠀⠀⠀⠀",
"⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡾⡌⣿⠟⡱⣾⣞⡙⣼⣿⣆⠀⠀⠀⠀⠀",
"⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣬⡿⠿⢾⢿⣿⣿⢻⢻⡯⣿⣂⠀⠀⠀⠀",
"⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⢻⣧⡧⡡⢺⠸⣿⣷⡦⠽⢻⡄⠀⠀⠀⠀",
"⠀⠀⠀⠀⠀⠀⠀⠀⠀⣸⣾⣿⣎⠇⡄⣄⣼⣿⣦⣔⠈⢻⡴⣶⡀⠀",
"⠀⠀⠀⠀⠀⠀⠀⠀⣴⡿⣾⣿⣿⡓⠴⠿⠿⠿⣿⣿⡿⢋⠈⢸⣧⠀",
"⠀⠀⠀⠀⠀⠀⠀⠀⣏⠧⣿⣿⣿⣟⠻⡛⠛⢋⣿⠟⠔⠁⠀⢨⣿⡀",
"⠀⠀⠀⠀⠀⠀⠀⠰⢦⣽⣿⢧⢩⡟⠶⣟⣋⡽⢣⠊⠀⠀⠀⢸⡿⡇",
"⠀⠀⠀⠀⠀⠀⠀⣲⣷⣿⣿⣿⣿⣾⡇⣲⡿⢡⠃⠀⠀⠀⠀⢸⢻⡇",
"⠀⠀⠀⢠⣀⡠⡺⠋⢹⣧⣝⣿⢇⣿⣷⡿⠁⠆⠀⠀⠀⠀⠀⢺⣿⡇",
"⠀⠀⠄⣁⠟⢏⠀⠀⣼⡿⠻⢾⣼⣿⢿⠇⣸⠀⠀⠀⠀⠀⢐⣿⣿⠇",
"⡍⣠⠞⠁⠄⠁⠰⣶⢿⣯⣀⣾⡿⠁⠚⠀⢥⣭⣁⠂⢀⠀⣎⡽⡻⠀",
"⠚⣁⠤⠴⠀⠀⣼⠹⢹⡾⠛⡏⠀⠀⠀⠀⠀⠹⣿⣿⣦⢳⠕⣀⣀⣀",
"⠉⠀⠀⠀⠀⠐⡙⠶⠾⢷⣽⠀⠀⠀⠀⠀⠀⠀⣣⣭⣿⠟⡄⠉⠉⠉"
}
HYDRA = {
" ",
" ",
" ",
" ⣴⣶⣤⡤⠦⣤⣀⣤⠆ ⣈⣭⣿⣶⣿⣦⣼⣆ ",
" ⠉⠻⢿⣿⠿⣿⣿⣶⣦⠤⠄⡠⢾⣿⣿⡿⠋⠉⠉⠻⣿⣿⡛⣦ ",
" ⠈⢿⣿⣟⠦ ⣾⣿⣿⣷ ⠻⠿⢿⣿⣧⣄ ",
" ⣸⣿⣿⢧ ⢻⠻⣿⣿⣷⣄⣀⠄⠢⣀⡀⠈⠙⠿⠄ ",
" ⢠⣿⣿⣿⠈ ⣻⣿⣿⣿⣿⣿⣿⣿⣛⣳⣤⣀⣀ ",
" ⢠⣧⣶⣥⡤⢄ ⣸⣿⣿⠘ ⢀⣴⣿⣿⡿⠛⣿⣿⣧⠈⢿⠿⠟⠛⠻⠿⠄ ",
" ⣰⣿⣿⠛⠻⣿⣿⡦⢹⣿⣷ ⢊⣿⣿⡏ ⢸⣿⣿⡇ ⢀⣠⣄⣾⠄ ",
" ⣠⣿⠿⠛ ⢀⣿⣿⣷⠘⢿⣿⣦⡀ ⢸⢿⣿⣿⣄ ⣸⣿⣿⡇⣪⣿⡿⠿⣿⣷⡄ ",
" ⠙⠃ ⣼⣿⡟ ⠈⠻⣿⣿⣦⣌⡇⠻⣿⣿⣷⣿⣿⣿ ⣿⣿⡇ ⠛⠻⢷⣄ ",
" ⢻⣿⣿⣄ ⠈⠻⣿⣿⣿⣷⣿⣿⣿⣿⣿⡟ ⠫⢿⣿⡆ ",
" ⠻⣿⣿⣿⣿⣶⣶⣾⣿⣿⣿⣿⣿⣿⣿⣿⡟⢀⣀⣤⣾⡿⠃ ",
" ",
}
ANIME = {
'',
'⡆⣐⢕⢕⢕⢕⢕⢕⢕⢕⠅⢗⢕⢕⢕⢕⢕⢕⢕⠕⠕⢕⢕⢕⢕⢕⢕⢕⢕⢕',
'⢐⢕⢕⢕⢕⢕⣕⢕⢕⠕⠁⢕⢕⢕⢕⢕⢕⢕⢕⠅⡄⢕⢕⢕⢕⢕⢕⢕⢕⢕',
'⢕⢕⢕⢕⢕⠅⢗⢕⠕⣠⠄⣗⢕⢕⠕⢕⢕⢕⠕⢠⣿⠐⢕⢕⢕⠑⢕⢕⠵⢕',
'⢕⢕⢕⢕⠁⢜⠕⢁⣴⣿⡇⢓⢕⢵⢐⢕⢕⠕⢁⣾⢿⣧⠑⢕⢕⠄⢑⢕⠅⢕',
'⢕⢕⠵⢁⠔⢁⣤⣤⣶⣶⣶⡐⣕⢽⠐⢕⠕⣡⣾⣶⣶⣶⣤⡁⢓⢕⠄⢑⢅⢑',
'⠍⣧⠄⣶⣾⣿⣿⣿⣿⣿⣿⣷⣔⢕⢄⢡⣾⣿⣿⣿⣿⣿⣿⣿⣦⡑⢕⢤⠱⢐',
'⢠⢕⠅⣾⣿⠋⢿⣿⣿⣿⠉⣿⣿⣷⣦⣶⣽⣿⣿⠈⣿⣿⣿⣿⠏⢹⣷⣷⡅⢐',
'⣔⢕⢥⢻⣿⡀⠈⠛⠛⠁⢠⣿⣿⣿⣿⣿⣿⣿⣿⡀⠈⠛⠛⠁⠄⣼⣿⣿⡇⢔',
'⢕⢕⢽⢸⢟⢟⢖⢖⢤⣶⡟⢻⣿⡿⠻⣿⣿⡟⢀⣿⣦⢤⢤⢔⢞⢿⢿⣿⠁⢕',
'⢕⢕⠅⣐⢕⢕⢕⢕⢕⣿⣿⡄⠛⢀⣦⠈⠛⢁⣼⣿⢗⢕⢕⢕⢕⢕⢕⡏⣘⢕',
'⢕⢕⠅⢓⣕⣕⣕⣕⣵⣿⣿⣿⣾⣿⣿⣿⣿⣿⣿⣿⣷⣕⢕⢕⢕⢕⡵⢀⢕⢕',
'⢑⢕⠃⡈⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⢃⢕⢕⢕',
'⣆⢕⠄⢱⣄⠛⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⢁⢕⢕⠕⢁',
'⣿⣦⡀⣿⣿⣷⣶⣬⣍⣛⣛⣛⡛⠿⠿⠿⠛⠛⢛⣛⣉⣭⣤⣂⢜⠕⢑⣡⣴⣿',
'',
}
dashboard.section.header.val = PANDA
dashboard.section.buttons.val = {
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("c", " Configuration", ":e ~/.config/nvim/init.lua <CR>"),
dashboard.button("q", " Quit Neovim", ":qa<CR>"),
}
local function footer()
-- NOTE: requires the fortune-mod package to work
-- local handle = io.popen("fortune")
-- local fortune = handle:read("*a")
-- handle:close()
-- return fortune
return ""
end
dashboard.section.footer.val = footer()
dashboard.section.footer.opts.hl = "Type"
dashboard.section.header.opts.hl = "Include"
dashboard.section.buttons.opts.hl = "Keyword"
dashboard.opts.opts.noautocmd = true
-- vim.cmd([[autocmd User AlphaReady echo 'ready']])
alpha.setup(dashboard.opts)

View File

@ -1,9 +0,0 @@
vim.opt.list = true
vim.opt.listchars:append "space:⋅"
vim.opt.listchars:append "eol:↴"
require("indent_blankline").setup {
space_char_blankline = " ",
show_current_context = true,
show_current_context_start = true,
}

View File

@ -1,9 +0,0 @@
-- require('possession').setup{
-- autosave = {
-- current = false, -- or fun(name): boolean
-- tmp = true, -- or fun(): boolean
-- tmp_name = 'tmp',
-- on_load = true,
-- on_quit = true,
-- }
-- }

View File

@ -1,16 +1,16 @@
require("telescope").setup{
defaults = {
prompt_prefix = "$ ",
mappings = {
i = {
["C-a"] = function() print("asdf") end
}
}
}
}
require("telescope").load_extension("fzf")
require("telescope").load_extension("file_browser")
require("telescope").load_extension("neoclip")
-- require("telescope").setup{
-- defaults = {
-- prompt_prefix = "$ ",
-- mappings = {
-- i = {
-- ["C-a"] = function() print("asdf") end
-- }
-- }
-- }
-- }
--
-- require("telescope").load_extension("fzf")
-- require("telescope").load_extension("file_browser")
-- require("telescope").load_extension("neoclip")
-- require("telescope").load_extension("possession")
-- require("telescope").load_extension("repo")

View File

@ -1,26 +1,26 @@
require('nvim-treesitter').setup({
-- enable syntax highlighting
highlight = {
enable = true,
},
-- enable indentation
indent = { enable = true },
-- enable autotagging (w/ nvim-ts-autotag plugin)
autotag = { enable = true },
-- ensure these language parsers are installed
ensure_installed = {
"json",
"yaml",
"html",
"css",
"markdown",
"bash",
"lua",
"vim",
"dockerfile",
"gitignore",
"python",
},
-- auto install above language parsers
auto_install = true,
})
-- require('nvim-treesitter').setup({
-- -- enable syntax highlighting
-- highlight = {
-- enable = true,
-- },
-- -- enable indentation
-- indent = { enable = true },
-- -- enable autotagging (w/ nvim-ts-autotag plugin)
-- autotag = { enable = true },
-- -- ensure these language parsers are installed
-- ensure_installed = {
-- "json",
-- "yaml",
-- "html",
-- "css",
-- "markdown",
-- "bash",
-- "lua",
-- "vim",
-- "dockerfile",
-- "gitignore",
-- "python",
-- },
-- -- auto install above language parsers
-- auto_install = true,
-- })

View File

@ -10,16 +10,9 @@ require("clint/lazy_bootstrap") -- bootstraps folke/lazy
require("lazy").setup(
{
spec = "plugins",
install = { colorscheme = { "gruvbox", "ayu", "melange", } }
-- install = { colorscheme = { "gruvbox", "ayu", "melange", } }
}
) -- loads each lua/plugin/*
require("clint") -- loads lua/clint/init.lua
require('dap-python').setup('~/.virtualenvs/debugpy/bin/python')
vim.opt.termguicolors = true
vim.cmd.colorscheme 'ayu'
vim.cmd("highlight Normal guibg=none")
vim.cmd("highlight NonText guibg=none")
vim.cmd("highlight Normal ctermbg=none")
vim.cmd("highlight NonText ctermbg=none")

View File

@ -1,9 +0,0 @@
-- general theme
-- vim.opt.termguicolors = true
-- vim.cmd.colorscheme 'ayu'
-- ignore background color for transparency
-- vim.cmd("highlight Normal guibg=none")
-- vim.cmd("highlight NonText guibg=none")
-- vim.cmd("highlight Normal ctermbg=none")
-- vim.cmd("highlight NonText ctermbg=none")

View File

@ -1,6 +1,5 @@
require("clint.autocmds")
require("clint.keybindings")
require("clint.settings")
require("clint.colorscheme")
require("clint.lsp")
require("clint.statusline")

View File

@ -1 +0,0 @@
-- can delete this i think

View File

@ -0,0 +1,10 @@
local M = {
'rebelot/kanagawa.nvim',
config = function(_, opts)
local kanagawa = require("kanagawa")
kanagawa.setup(opts)
kanagawa.load()
end,
}
return M

View File

@ -0,0 +1,6 @@
return {
{ 'mfussenegger/nvim-dap' },
{ 'rcarriga/nvim-dap-ui', config = true },
{ "mfussenegger/nvim-dap-python" },
{ "theHamsta/nvim-dap-virtual-text", config = true },
}

View File

@ -0,0 +1,24 @@
return {
{ 'kdheepak/lazygit.nvim' },
{
'lewis6991/gitsigns.nvim',
config = {
signs = {
add = { hl = 'GitSignsAdd', text = '+', numhl = 'GitSignsAddNr', linehl = 'GitSignsAddLn' },
change = { hl = 'GitSignsChange', text = '', numhl = 'GitSignsChangeNr',
linehl = 'GitSignsChangeLn' },
delete = { hl = 'GitSignsDelete', text = '-', numhl = 'GitSignsDeleteNr',
linehl = 'GitSignsDeleteLn' },
topdelete = { hl = 'GitSignsDelete', text = '', numhl = 'GitSignsDeleteNr',
linehl = 'GitSignsDeleteLn' },
changedelete = { hl = 'GitSignsChange', text = '~', numhl = 'GitSignsChangeNr',
linehl = 'GitSignsChangeLn' },
untracked = { hl = 'GitSignsAdd', text = '', numhl = 'GitSignsAddNr', linehl = 'GitSignsAddLn' },
},
current_line_blame = true,
show_deleted = true,
}
},
}

View File

@ -0,0 +1,86 @@
return
{
'goolord/alpha-nvim',
dependencies = { 'nvim-tree/nvim-web-devicons' },
config = function()
-- require('alpha').setup()
-- local status_ok, alpha = pcall(require, "alpha")
-- if not status_ok then
-- return
-- end
local dashboard = require("alpha.themes.dashboard")
PANDA = {
"⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣴⣶⣶⣦⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀",
"⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿⣿⣿⣿⣿⣆⣀⣀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀",
"⠀⠀⠀⠀⠀⠀⠀⠀⢈⣿⡿⠿⠛⠛⠉⠉⠉⠉⠉⠛⠛⠶⣦⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀",
"⠀⠀⠀⠀⠀⠀⣠⡶⠛⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠻⢶⣄⡀⠀⢀⣀⡀⠀⠀⠀⠀",
"⠀⠀⠀⠀⣠⠞⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⢿⣾⣿⣿⣿⣦⠀⠀⠀",
"⠀⠀⢀⡾⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣤⣤⣤⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⢿⣿⣿⣿⠆⠀⠀",
"⠀⢀⣾⠀⠀⠀⠀⠀⠀⠀⠀⢠⣴⣿⣿⣿⣿⣿⣿⣷⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⢿⡿⠟⠀⠀⠀",
"⠀⣾⣿⠀⠀⠀⠀⠀⠀⠀⠀⠻⣿⣿⣿⡿⠟⠛⠛⠛⠀⠀⠀⠀⢀⣤⣤⣄⠀⠀⠈⣷⠀⠀⠀⠀",
"⢸⣿⣿⣇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠁⢠⠄⠂⢄⠀⠀⣤⣄⠀⠘⣿⣿⣿⡆⠀⠀⢸⡇⠀⠀⠀",
"⢸⣿⣿⣿⣦⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢧⣀⣀⠜⠀⠀⢹⠟⠃⠀⢹⣿⡿⠃⠀⠀⢸⣇⠀⠀⠀",
"⢸⣿⣿⣿⣿⣿⣷⣦⣤⣤⣤⣀⣀⣀⣀⣀⣈⣁⣀⣀⣰⡋⠀⠀⠀⢀⡄⠀⠀⠀⠀⢸⡇⠀⠀⠀",
"⠸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣤⡀⠀⠀⠀⢀⣴⣾⣧⣴⡟⠀",
"⠀⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣦⡀⠀⣾⣿⣿⣿⡟⠀⠀",
"⠀⠈⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧⣤⣿⣿⣿⣿⣇⠀⠀",
"⠀⠀⠈⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⢿⣟⠳⢤⡳⠽⣷⣄",
"⠀⠀⠀⠀⠙⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠋⠈⠙⠚⠿⠆⠀⠀",
"⠀⠀⠀⠀⠀⠀⠙⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠟⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀",
"⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠛⠻⠿⣿⣿⣿⣿⣿⣿⡿⠿⠟⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀"
}
ANIME = {
'',
'⡆⣐⢕⢕⢕⢕⢕⢕⢕⢕⠅⢗⢕⢕⢕⢕⢕⢕⢕⠕⠕⢕⢕⢕⢕⢕⢕⢕⢕⢕',
'⢐⢕⢕⢕⢕⢕⣕⢕⢕⠕⠁⢕⢕⢕⢕⢕⢕⢕⢕⠅⡄⢕⢕⢕⢕⢕⢕⢕⢕⢕',
'⢕⢕⢕⢕⢕⠅⢗⢕⠕⣠⠄⣗⢕⢕⠕⢕⢕⢕⠕⢠⣿⠐⢕⢕⢕⠑⢕⢕⠵⢕',
'⢕⢕⢕⢕⠁⢜⠕⢁⣴⣿⡇⢓⢕⢵⢐⢕⢕⠕⢁⣾⢿⣧⠑⢕⢕⠄⢑⢕⠅⢕',
'⢕⢕⠵⢁⠔⢁⣤⣤⣶⣶⣶⡐⣕⢽⠐⢕⠕⣡⣾⣶⣶⣶⣤⡁⢓⢕⠄⢑⢅⢑',
'⠍⣧⠄⣶⣾⣿⣿⣿⣿⣿⣿⣷⣔⢕⢄⢡⣾⣿⣿⣿⣿⣿⣿⣿⣦⡑⢕⢤⠱⢐',
'⢠⢕⠅⣾⣿⠋⢿⣿⣿⣿⠉⣿⣿⣷⣦⣶⣽⣿⣿⠈⣿⣿⣿⣿⠏⢹⣷⣷⡅⢐',
'⣔⢕⢥⢻⣿⡀⠈⠛⠛⠁⢠⣿⣿⣿⣿⣿⣿⣿⣿⡀⠈⠛⠛⠁⠄⣼⣿⣿⡇⢔',
'⢕⢕⢽⢸⢟⢟⢖⢖⢤⣶⡟⢻⣿⡿⠻⣿⣿⡟⢀⣿⣦⢤⢤⢔⢞⢿⢿⣿⠁⢕',
'⢕⢕⠅⣐⢕⢕⢕⢕⢕⣿⣿⡄⠛⢀⣦⠈⠛⢁⣼⣿⢗⢕⢕⢕⢕⢕⢕⡏⣘⢕',
'⢕⢕⠅⢓⣕⣕⣕⣕⣵⣿⣿⣿⣾⣿⣿⣿⣿⣿⣿⣿⣷⣕⢕⢕⢕⢕⡵⢀⢕⢕',
'⢑⢕⠃⡈⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⢃⢕⢕⢕',
'⣆⢕⠄⢱⣄⠛⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⢁⢕⢕⠕⢁',
'⣿⣦⡀⣿⣿⣷⣶⣬⣍⣛⣛⣛⡛⠿⠿⠿⠛⠛⢛⣛⣉⣭⣤⣂⢜⠕⢑⣡⣴⣿',
'',
}
dashboard.section.header.val = ANIME
dashboard.section.buttons.val = {
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("c", " Configuration", ":e ~/.config/nvim/init.lua <CR>"),
dashboard.button("q", " Quit Neovim", ":qa<CR>"),
}
local function footer()
-- NOTE: requires the fortune-mod package to work
-- local handle = io.popen("fortune")
-- local fortune = handle:read("*a")
-- handle:close()
-- return fortune
return ""
end
dashboard.section.footer.val = footer()
dashboard.section.footer.opts.hl = "Type"
dashboard.section.header.opts.hl = "Include"
dashboard.section.buttons.opts.hl = "Keyword"
dashboard.opts.opts.noautocmd = true
-- vim.cmd([[autocmd User AlphaReady echo 'ready']])
-- alpha.setup(dashboard.opts)
require("alpha").setup(dashboard.opts)
end
}

View File

@ -0,0 +1,12 @@
return
{
{ "williamboman/mason.nvim" },
{ "williamboman/mason-lspconfig.nvim" },
{ 'neovim/nvim-lspconfig' },
{ 'hrsh7th/cmp-nvim-lsp' },
{ 'hrsh7th/cmp-nvim-lua' },
{ 'hrsh7th/cmp-buffer' },
{ 'hrsh7th/cmp-path' },
{ 'hrsh7th/nvim-cmp' },
{ 'saadparwaiz1/cmp_luasnip' },
}

View File

@ -0,0 +1,14 @@
return {
{ 'nvim-lua/plenary.nvim' },
{
'nvim-telescope/telescope.nvim',
config = function()
require("telescope").load_extension("fzf")
require("telescope").load_extension("file_browser")
require("telescope").load_extension("neoclip")
end
},
{ 'nvim-telescope/telescope-fzf-native.nvim', build = 'make' },
{ "nvim-telescope/telescope-file-browser.nvim" },
}

View File

@ -0,0 +1,40 @@
return {
-- status line
{ 'nvim-lualine/lualine.nvim' },
-- Devicons
{ 'nvim-tree/nvim-web-devicons' },
-- Indent lines
{
"lukas-reineke/indent-blankline.nvim",
config =
{
show_end_of_line = true,
space_char_blankline = " ",
show_current_context = true,
show_current_context_start = true,
}
},
-- Cursor line
{
'yamatsum/nvim-cursorline',
config =
{
cursorline = {
enable = true,
timeout = 0,
number = true,
},
cursorword = {
enable = false,
}
}
},
-- Greeter
-- Scroll bar
-- { 'petertriho/nvim-scrollbar', config = true },
}

View File

@ -0,0 +1,128 @@
return {
-- Linter
{
'jose-elias-alvarez/null-ls.nvim',
config = function()
local nls = require("null-ls")
nls.setup({
sources = {
nls.builtins.formatting.black,
},
})
end,
},
-- Sessions
{ "tpope/vim-obsession" },
-- SuperTab
{ 'ervandew/supertab' },
-- Surround
-- { 'tpope/vim-surround' },
{ 'echasnovski/mini.surround', version = '*', config = true },
-- Slime, for tmux repl-ing
{ 'jpalardy/vim-slime' },
-- -- Telescope, fuzzy finding
-- { 'nvim-lua/plenary.nvim' },
-- { 'nvim-telescope/telescope.nvim' },
-- { 'nvim-telescope/telescope-fzf-native.nvim', build = 'make' },
-- { "nvim-telescope/telescope-file-browser.nvim" },
--
-- Treesitter
{
'nvim-treesitter/nvim-treesitter',
build = ':TSUpdate',
highlight = {
enable = true,
},
-- enable indentation
indent = { enable = true },
-- enable autotagging (w/ nvim-ts-autotag plugin)
autotag = { enable = true },
-- ensure these language parsers are installed
ensure_installed = {
"json",
"yaml",
"html",
"css",
"markdown",
"bash",
"lua",
"vim",
"dockerfile",
"gitignore",
"python",
},
-- auto install above language parsers
auto_install = true,
},
-- Registry history
{
"AckslD/nvim-neoclip.lua",
dependencies = {
{ 'kkharji/sqlite.lua', module = 'sqlite' },
{ 'nvim-telescope/telescope.nvim' },
},
config = {
enable_persistent_history = true,
continuous_sync = true
},
},
-- Auto pairs
{ "windwp/nvim-autopairs", config = true }, -- See `config` under https://github.com/folke/lazy.nvim#-plugin-spec
-- Comment / uncomment
{ "numToStr/Comment.nvim", config = true },
-- Git Repo Telescope
{ 'cljoly/telescope-repo.nvim' },
-- Which-Key
{
"folke/which-key.nvim",
config = true,
},
-- File Explorer
{
"nvim-neo-tree/neo-tree.nvim",
branch = "v2.x",
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
"MunifTanjim/nui.nvim",
},
},
-- Object Explorer
{
'simrat39/symbols-outline.nvim',
config = {
auto_preview = true,
}
},
-- Terminal
{
'akinsho/toggleterm.nvim',
version = "*",
config = {
open_mapping = [[<c-\>]],
direction = 'horizontal'
}
},
{
"iamcco/markdown-preview.nvim",
build = "cd app && npm install",
enabled = true,
-- ft = "markdown",
},
}