Changes #1

Merged
snoweuph merged 5 commits from SZUT-Dominik/Dotfiles_nvim:master into master 2025-01-14 22:59:12 +00:00
2 changed files with 15 additions and 1 deletions
Showing only changes of commit e62017f9bb - Show all commits

View file

@ -7,6 +7,17 @@ vim.g.mapleader = ' '
vim.keymap.set('n', '<Tab>', '>>') vim.keymap.set('n', '<Tab>', '>>')
vim.keymap.set('n', '<S-Tab>', '<<') vim.keymap.set('n', '<S-Tab>', '<<')
--[[ Groups ]]
K.GROUPS = {
{ '<leader>s', group = 'Session' },
{ '<leader>g', group = 'Git/Global' },
{ '<leader>o', group = 'Ollama' },
{ '<leader>f', group = 'File' },
{ '<leader>d', group = 'Debugger' },
{ '<leader>c', group = 'Code' },
{ '<leader>a', group = 'Angular' },
}
--[[ Focus Shade ]] --[[ Focus Shade ]]
K.FOCUS_SHADE = { K.FOCUS_SHADE = {
UP = { UP = {

View file

@ -1,8 +1,11 @@
local K = require('core.keymap')
return { return {
'folke/which-key.nvim', 'folke/which-key.nvim',
config = function() config = function()
vim.o.timeout = true vim.o.timeout = true
vim.o.timeoutlen = 300 vim.o.timeoutlen = 300
require('which-key').setup({}) local wk = require('which-key')
wk.add(K.GROUPS)
wk.setup({})
end, end,
} }