diff options
author | Yigit Sever | 2023-04-06 16:34:45 +0300 |
---|---|---|
committer | Yigit Sever | 2023-04-06 16:34:45 +0300 |
commit | 9d71574f0cd3d7ba7b37b12b143fce81eeccd463 (patch) | |
tree | 0a4c3f6eda78dacd3ceee7bc3dbfc0c35904b553 /.config/nvim/lua/plugin_settings.lua | |
parent | a721e34b213887fad693a9806627566b92af573e (diff) | |
download | dotfiles-9d71574f0cd3d7ba7b37b12b143fce81eeccd463.tar.gz dotfiles-9d71574f0cd3d7ba7b37b12b143fce81eeccd463.tar.bz2 dotfiles-9d71574f0cd3d7ba7b37b12b143fce81eeccd463.zip |
nvim: update dashboard config
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 | ||