mirror of
https://github.com/kossLAN/nvim-flake.git
synced 2025-11-05 02:09:49 -05:00
some quality of changes
This commit is contained in:
parent
282747a961
commit
7804ae3939
3 changed files with 30 additions and 0 deletions
19
nvim/plugin/dashboard.lua
Normal file
19
nvim/plugin/dashboard.lua
Normal 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',
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue