fix(dashboard): fix icons
This commit is contained in:
parent
a195ca4b97
commit
1b7df448f5
4 changed files with 13 additions and 6 deletions
|
@ -25,19 +25,19 @@ g.dashboard_session_directory = vim.fn.stdpath('data') .. '/sessions'
|
|||
|
||||
g.dashboard_custom_section = {
|
||||
find_file = {
|
||||
description = { icons.file .. ' Find File <leader>ff' },
|
||||
description = { icons.file1 .. ' Find File <leader>ff' },
|
||||
command = 'Telescope find_files',
|
||||
},
|
||||
file_explorer = {
|
||||
description = { ' File Manager <C-n> ' },
|
||||
description = { icons.file2 .. ' File Manager <C-n> ' },
|
||||
command = 'NvimTreeToggle',
|
||||
},
|
||||
find_string = {
|
||||
description = { ' Grep String <leader>fs' },
|
||||
description = { icons.word .. ' Grep String <leader>fs' },
|
||||
command = 'NvimTreeToggle',
|
||||
},
|
||||
last_session = {
|
||||
description = { ' Load session <leader>sl' },
|
||||
description = { icons.clock .. ' Load session <leader>sl' },
|
||||
command = 'lua vim.cmd(":silent RestoreSession")',
|
||||
},
|
||||
}
|
||||
|
|
|
@ -27,15 +27,18 @@ g.nvim_tree_icons = {
|
|||
},
|
||||
}
|
||||
|
||||
g.nvim_tree_respect_buf_cwd = 1
|
||||
|
||||
-- set up args
|
||||
local args = {
|
||||
auto_close = true,
|
||||
diagnostics = {
|
||||
enable = true,
|
||||
},
|
||||
update_cwd = true,
|
||||
update_focused_file = {
|
||||
enable = true,
|
||||
ignore_list = {},
|
||||
update_cwd = true,
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
@ -22,6 +22,10 @@ local icons = {
|
|||
flame = ' ',
|
||||
check = ' ',
|
||||
trace = '✎',
|
||||
file1 = ' ',
|
||||
file2 = ' ',
|
||||
clock = ' ',
|
||||
word = '',
|
||||
git = {
|
||||
unstaged = '✗',
|
||||
staged = '✓',
|
||||
|
|
|
@ -196,7 +196,7 @@ return packer.startup(function()
|
|||
disable = vim.tbl_contains(user_plugins.disable, 'telescope'),
|
||||
})
|
||||
|
||||
-- session management
|
||||
-- session/project management
|
||||
use({
|
||||
'glepnir/dashboard-nvim',
|
||||
config = function()
|
||||
|
|
Loading…
Add table
Reference in a new issue