some quality of changes

This commit is contained in:
kossLAN 2025-01-15 21:43:30 -05:00
parent 282747a961
commit 7804ae3939
Signed by: kossLAN
SSH key fingerprint: SHA256:bdV0x+wdQHGJ6LgmstH3KV8OpWY+OOFmJcPcB0wQPV8
3 changed files with 30 additions and 0 deletions

19
nvim/plugin/dashboard.lua Normal file
View file

@ -0,0 +1,19 @@
require('dashboard').setup {
theme = 'hyper',
config = {
week_header = {
enable = true,
},
packages = { enable = false },
shortcut = {
{
icon = '',
icon_hl = '@variable',
desc = 'Files',
group = 'Label',
action = 'Telescope find_files',
key = 'f',
},
},
},
}

View file

@ -57,6 +57,15 @@ vim.api.nvim_set_keymap(
{ noremap = true, silent = true, desc = 'debugger [r]epl' }
)
-- LSP Fix
vim.keymap.set('n', '<leader>f', vim.lsp.buf.code_action, { noremap = true, silent = true, desc = 'Code Action' })
-- Window Resizing
vim.keymap.set('n', '<C-Left>', '<cmd>vertical resize -2<CR>', { noremap = true, silent = true })
vim.keymap.set('n', '<C-Right>', '<cmd>vertical resize +2<CR>', { noremap = true, silent = true })
vim.keymap.set('n', '<C-Up>', '<cmd>resize -2<CR>', { noremap = true, silent = true })
vim.keymap.set('n', '<C-Down>', '<cmd>resize +2<CR>', { noremap = true, silent = true })
--- Disabled keymaps [enable at your own risk]
-- Automatic management of search highlight