From 19880dd87d918c0318616276270050406dc73785 Mon Sep 17 00:00:00 2001 From: Joe Date: Sun, 7 Jan 2024 21:46:46 +0100 Subject: up --- .config/nvim/after/plugin/startify.lua | 56 +++++++++++++++++----------------- .config/nvim/lua/pack.lua | 15 ++++++++- 2 files changed, 42 insertions(+), 29 deletions(-) (limited to '.config/nvim') diff --git a/.config/nvim/after/plugin/startify.lua b/.config/nvim/after/plugin/startify.lua index cd510a9..61e9466 100644 --- a/.config/nvim/after/plugin/startify.lua +++ b/.config/nvim/after/plugin/startify.lua @@ -1,29 +1,29 @@ -- Startify -vim.cmd [[ -let g:startify_custom_header = startify#pad([ -\ '========================', -\ '===== ===============', -\ '====== ================', -\ '====== ================', -\ '====== ==== ==== ==', -\ '====== === == = =', -\ '====== === = == =', -\ '= === === = == ====', -\ '= === === = == = =', -\ '== ===== ==== ==', -\ '========================', -\ ]) -let g:startify_lists = [ - \ { 'type': 'sessions', 'header': startify#pad(['Sessions']) }, - \ { 'type': 'files', 'header': startify#pad(['Recent']) }, - \ { 'type': 'bookmarks', 'header': startify#pad(['Bookmarks']) }, - \ { 'type': 'commands', 'header': startify#pad(['Commands']) }, - \ ] -]] -vim.g.startify_bookmarks = { - { env = '~/.config/env' }, - { v = '~/.config/nvim/init.vim' }, - { zc = '~/.config/zsh/.zshrc' }, - { za = '~/.config/zsh/alias.zsh' }, - { gj = '~/dev/go/gojosh' }, -} +-- vim.cmd [[ +-- let g:startify_custom_header = startify#pad([ +-- \ '========================', +-- \ '===== ===============', +-- \ '====== ================', +-- \ '====== ================', +-- \ '====== ==== ==== ==', +-- \ '====== === == = =', +-- \ '====== === = == =', +-- \ '= === === = == ====', +-- \ '= === === = == = =', +-- \ '== ===== ==== ==', +-- \ '========================', +-- \ ]) +-- let g:startify_lists = [ +-- \ { 'type': 'sessions', 'header': startify#pad(['Sessions']) }, +-- \ { 'type': 'files', 'header': startify#pad(['Recent']) }, +-- \ { 'type': 'bookmarks', 'header': startify#pad(['Bookmarks']) }, +-- \ { 'type': 'commands', 'header': startify#pad(['Commands']) }, +-- \ ] +-- ]] +-- vim.g.startify_bookmarks = { +-- { env = '~/.config/env' }, +-- { v = '~/.config/nvim/init.vim' }, +-- { zc = '~/.config/zsh/.zshrc' }, +-- { za = '~/.config/zsh/alias.zsh' }, +-- { gj = '~/dev/go/gojosh' }, +-- } diff --git a/.config/nvim/lua/pack.lua b/.config/nvim/lua/pack.lua index a6a64a0..63e8707 100644 --- a/.config/nvim/lua/pack.lua +++ b/.config/nvim/lua/pack.lua @@ -15,7 +15,20 @@ return require('packer').startup({function(use) use 'jiangmiao/auto-pairs' use 'folke/which-key.nvim' use 'lewis6991/gitsigns.nvim' - use 'mhinz/vim-startify' + -- use 'mhinz/vim-startify' + use { + 'nvimdev/dashboard-nvim', + event = 'VimEnter', + config = function() + require('dashboard').setup { + theme = 'hyper', + hide = { + statusLine = false, + }, + } + end, + requires = {'nvim-tree/nvim-web-devicons'} + } use 'mg979/vim-visual-multi' use 'preservim/tagbar' -- use 'preservim/nerdcommenter' -- cgit v1.2.3