add color names, highlighing on hover, and keybindings

This commit is contained in:
ksyasuda
2023-08-16 02:29:56 -07:00
parent 9579c18f98
commit d0ea29e2b5
6 changed files with 133 additions and 78 deletions

View File

@@ -17,6 +17,7 @@ require('packer').startup(function(use)
use { 'nvim-telescope/telescope-file-browser.nvim' }
use 'nvim-telescope/telescope-dap.nvim'
use { 'ghassan0/telescope-glyph.nvim' }
use { 'nat-418/telescope-color-names.nvim' }
use {
'nvim-telescope/telescope-fzf-native.nvim',
run =
@@ -268,48 +269,6 @@ require('packer').startup(function(use)
use {
'glepnir/dashboard-nvim',
-- event = 'VimEnter',
config = function()
require('dashboard').setup {
theme = 'doom', -- theme is doom and hyper default is hyper
disable_move = false, -- default is false disable move keymap for hyper
shortcut_type = 'number', -- shorcut type 'letter' or 'number'
change_to_vcs_root = false, -- default is false,for open file in hyper mru. it will change to the root of vcs
config = {
header = { "NVIM DASHBOARD" }, -- your header
center = {
{
icon = '',
icon_hl = 'Title',
desc = 'Find File ',
desc_hl = 'String',
key = 'b',
keymap = 'SPC f f',
key_hl = 'Number',
action = 'lua print(2)'
}
-- {
-- icon = ' ',
-- desc = 'Find Dotfiles',
-- key = 'f',
-- keymap = 'SPC f d',
-- action = 'lua print(3)'
-- }
},
footer = {} -- your footer
},
hide = {
statusline = true, -- hide statusline default is true
tabline = true, -- hide the tabline
winbar = true -- hide winbar
}
-- preview = {
-- command = "bat", -- preview command
-- file_path -- preview file path
-- file_height -- preview file height
-- file_width -- preview file width
-- },
}
end,
requires = { 'nvim-tree/nvim-web-devicons' }
}
use {