Sfoglia il codice sorgente

back to startify while I figure out what's wrong with dashboard

Chris 4 anni fa
parent
commit
3a254a9807
4 ha cambiato i file con 11 aggiunte e 10 eliminazioni
  1. 2 1
      init.lua
  2. 1 4
      lua/nv-dashboard/init.lua
  3. 6 3
      lua/nv-startify/init.lua
  4. 2 2
      lua/plugins.lua

+ 2 - 1
init.lua

@@ -28,7 +28,8 @@ require('nv-lspkind')
 require('nv-hop')
 require('nv-gitblame')
 require('nv-nvim-peekup')
-require('nv-dashboard')
+-- require('nv-dashboard')
+require('nv-startify')
 require('nv-dial')
 require('nv-nvim-dap')
 require('nv-lightbulb')

+ 1 - 4
lua/nv-dashboard/init.lua

@@ -14,12 +14,9 @@ vim.g.dashboard_custom_section = {
     b = {description = {' Recently Used Files'}, command = 'Telescope oldfiles'},
     c = {description = {' Load Last Session  '}, command = 'SessionLoad'},
     d = {description = {' Find Word          '}, command = 'Telescope live_grep'},
-    e = {description = {' Marks              '}, command = 'Telescope marks'},
+    e = {description = {' Marks              '}, command = 'Telescope marks'}
 }
 
-
-
-
 -- file_browser = {description = {' File Browser'}, command = 'Telescope find_files'},
 
 -- vim.g.dashboard_custom_shortcut = {

+ 6 - 3
lua/nv-startify/init.lua

@@ -1,7 +1,10 @@
 vim.g.startify_custom_header = {
-    '        _   ___    ________          __   ', '       / | / / |  / / ____/___  ____/ /__ ',
-    '      /  |/ /| | / / /   / __ \\/ __  / _ \\', '     / /|  / | |/ / /___/ /_/ / /_/ /  __/',
-    '    /_/ |_/  |___/\\____/\\____/\\__,_/\\___/ '
+    '   ███╗   ██╗██╗   ██╗ ██████╗ ██████╗ ██████╗ ███████╗',
+    '   ████╗  ██║██║   ██║██╔════╝██╔═══██╗██╔══██╗██╔════╝',
+    '   ██╔██╗ ██║██║   ██║██║     ██║   ██║██║  ██║█████╗',
+    '   ██║╚██╗██║╚██╗ ██╔╝██║     ██║   ██║██║  ██║██╔══╝',
+    '   ██║ ╚████║ ╚████╔╝ ╚██████╗╚██████╔╝██████╔╝███████╗',
+    '   ╚═╝  ╚═══╝  ╚═══╝   ╚═════╝ ╚═════╝ ╚═════╝ ╚══════╝'
 }
 
 vim.g.webdevicons_enable_startify = 1

+ 2 - 2
lua/plugins.lua

@@ -105,7 +105,7 @@ return require('packer').startup(function(use)
     use 'liuchengxu/vim-which-key'
     use 'kevinhwang91/nvim-bqf'
     use 'airblade/vim-rooter'
-    use 'glepnir/dashboard-nvim'
+    -- use 'glepnir/dashboard-nvim'
     use 'metakirby5/codi.vim'
     use 'psliwka/vim-smoothie'
     use 'moll/vim-bbye'
@@ -138,5 +138,5 @@ return require('packer').startup(function(use)
     --     end
     -- }
     -- use 'tpope/vim-sleuth'
-    -- use 'mhinz/vim-startify'
+    use 'mhinz/vim-startify'
 end)