diff options
Diffstat (limited to '.config/nvim/lua/plugin_settings.lua')
-rw-r--r-- | .config/nvim/lua/plugin_settings.lua | 44 |
1 files changed, 17 insertions, 27 deletions
diff --git a/.config/nvim/lua/plugin_settings.lua b/.config/nvim/lua/plugin_settings.lua index 4d97720..55b3cae 100644 --- a/.config/nvim/lua/plugin_settings.lua +++ b/.config/nvim/lua/plugin_settings.lua | |||
@@ -248,35 +248,25 @@ require('telescope').load_extension('fzf') | |||
248 | 248 | ||
249 | -- dashboard {{{ -- | 249 | -- dashboard {{{ -- |
250 | 250 | ||
251 | local home = os.getenv('HOME') | 251 | require('dashboard').setup { |
252 | local db = require('dashboard') | 252 | theme = 'hyper', |
253 | db.custom_header = { | 253 | config = { |
254 | '', | 254 | week_header = { |
255 | ' ▄ ▄███▄ ████▄ ▄ ▄█ █▀▄▀█ ', | 255 | enable = true, |
256 | ' █ █▀ ▀ █ █ █ ██ █ █ █ ', | 256 | }, |
257 | '██ █ ██▄▄ █ █ █ █ ██ █ ▄ █ ', | 257 | shortcut = { |
258 | '█ █ █ █▄ ▄▀ ▀████ █ █ ▐█ █ █ ', | 258 | { desc = ' Update', group = '@property', action = 'PackerSync', key = 'u' }, |
259 | '█ █ █ ▀███▀ █ █ ▐ █ ', | 259 | { |
260 | '█ ██ █▐ ▀ ', | 260 | icon = ' ', |
261 | ' ▐ ', | 261 | icon_hl = '@variable', |
262 | '', | 262 | desc = 'Files', |
263 | '', | 263 | group = 'Label', |
264 | } | 264 | action = 'Telescope find_files', |
265 | db.custom_center = { | 265 | key = 'f', |
266 | { | 266 | }, |
267 | desc = 'new file ', | 267 | }, |
268 | action = 'DashboardNewFile', | ||
269 | }, | ||
270 | { | ||
271 | desc = 'find files ', | ||
272 | action = 'Telescope find_files', | ||
273 | }, | 268 | }, |
274 | { | ||
275 | desc = 'old files', | ||
276 | action = "Telescope oldfiles", | ||
277 | } | ||
278 | } | 269 | } |
279 | db.custom_footer = { '⛅' } | ||
280 | 270 | ||
281 | -- }}} dashboard -- | 271 | -- }}} dashboard -- |
282 | 272 | ||