Advertisement
Abir-Tx

Neovim Dashboard Config

Mar 24th, 2024
612
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.30 KB | Software | 0 0
  1. -- dashboard-nvim settings
  2. require('dashboard').setup {
  3.     theme = 'hyper',
  4.     disable_move = true,
  5.     shortcut_type = 'number',
  6.     change_to_vcs_root = true,
  7.     config = {
  8.         week_header = {
  9.             enable = true,
  10.         },
  11.         shortcut = {
  12.             { desc = '󰊳 Update', group = '@property', action = 'Lazy update', key = 'u' },
  13.             {
  14.                 icon = ' ',
  15.                 icon_hl = '@variable',
  16.                 desc = 'Files',
  17.                 group = 'Label',
  18.                 action = 'Telescope find_files',
  19.                 key = 'f',
  20.             },
  21.             {
  22.                 desc = ' Neovim Config',
  23.                 group = 'DiagnosticHint',
  24.                 action = 'cd ~/.config/nvim | edit init.lua',
  25.                 key = 'a',
  26.             },
  27.             {
  28.                 desc = ' dotfiles',
  29.                 group = 'DiagnosticInfo',
  30.                 action = 'Telescope find_files cwd=~/code/github/setup-Aorus-Xtrex/archlinux/',
  31.                 key = 'd',
  32.             },
  33.         },
  34.         packages = { enable = true },
  35.         project = { enable = true, limit = 8, icon = ' ', label = 'My Projects', action = 'Telescope find_files cwd=' },
  36.         mru = { limit = 15, icon = ' ', label = 'My Files', cwd_only = false },
  37.     },
  38. }
  39.  
Tags: neovim
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement