diff options
Diffstat (limited to '.config/nvim/lua')
-rw-r--r-- | .config/nvim/lua/plugin_settings.lua | 44 | ||||
-rw-r--r-- | .config/nvim/lua/plugins.lua | 10 |
2 files changed, 24 insertions, 30 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 | ||
diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index 6af54ee..8d1e2c4 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua | |||
@@ -41,7 +41,11 @@ return require('packer').startup(function(use) | |||
41 | } | 41 | } |
42 | 42 | ||
43 | -- dashboard | 43 | -- dashboard |
44 | use 'glepnir/dashboard-nvim' | 44 | use { |
45 | 'glepnir/dashboard-nvim', | ||
46 | event = 'VimEnter', | ||
47 | requires = {'nvim-tree/nvim-web-devicons'} | ||
48 | } | ||
45 | 49 | ||
46 | -- completion suite | 50 | -- completion suite |
47 | use 'hrsh7th/nvim-cmp' | 51 | use 'hrsh7th/nvim-cmp' |
@@ -142,11 +146,11 @@ return require('packer').startup(function(use) | |||
142 | use 'numToStr/Comment.nvim' | 146 | use 'numToStr/Comment.nvim' |
143 | 147 | ||
144 | -- icon pack | 148 | -- icon pack |
145 | use 'kyazdani42/nvim-web-devicons' | 149 | use 'nvim-tree/nvim-web-devicons' |
146 | -- statusline of the $CURRENT_YEAR | 150 | -- statusline of the $CURRENT_YEAR |
147 | use { | 151 | use { |
148 | 'nvim-lualine/lualine.nvim', | 152 | 'nvim-lualine/lualine.nvim', |
149 | requires = {'kyazdani42/nvim-web-devicons', opt = true} | 153 | requires = {'nvim-tree/nvim-web-devicons', opt = true} |
150 | } | 154 | } |
151 | -- tabline | 155 | -- tabline |
152 | use {'romgrk/barbar.nvim', wants = 'nvim-web-devicons'} | 156 | use {'romgrk/barbar.nvim', wants = 'nvim-web-devicons'} |