[update] Update nvim plugins
This commit is contained in:
28
config/nvim/lua/setup/dashboard.lua
Normal file
28
config/nvim/lua/setup/dashboard.lua
Normal file
@@ -0,0 +1,28 @@
|
||||
local home = os.getenv('HOME')
|
||||
local db = require('dashboard')
|
||||
db.custom_center = {
|
||||
{ icon = ' ',
|
||||
desc = 'Recently laset session ',
|
||||
shortcut = 'SPC s l',
|
||||
action = 'SessionLoad' },
|
||||
{ icon = ' ',
|
||||
desc = 'Recently opened files ',
|
||||
action = 'DashboardFindHistory',
|
||||
shortcut = 'SPC f h' },
|
||||
{ icon = ' ',
|
||||
desc = 'Find File ',
|
||||
action = 'Telescope find_files find_command=rg,--hidden,--files',
|
||||
shortcut = 'SPC f f' },
|
||||
{ icon = ' ',
|
||||
desc = 'File Browser ',
|
||||
action = 'Telescope file_browser',
|
||||
shortcut = 'SPC f b' },
|
||||
{ icon = ' ',
|
||||
desc = 'Find word ',
|
||||
aciton = 'DashboardFindWord',
|
||||
shortcut = 'SPC f w' },
|
||||
{ icon = ' ',
|
||||
desc = 'Open Personal dotfiles ',
|
||||
action = 'Telescope dotfiles path=' .. home .. '/.dotfiles',
|
||||
shortcut = 'SPC f d' },
|
||||
}
|
||||
Reference in New Issue
Block a user