diff --git a/lua/plugins/ui/which-key.lua b/lua/plugins/ui/which-key.lua index 30d0d11..7b5ce89 100644 --- a/lua/plugins/ui/which-key.lua +++ b/lua/plugins/ui/which-key.lua @@ -4,7 +4,7 @@ local util = require('lib.util') local prompts = require('lib.prompts') local setup = { - preset = 'modern', + preset = 'helix', plugins = { marks = true, registers = true, @@ -31,24 +31,6 @@ local setup = { }, rules = false, -- enable auto icon rules }, - win = { - no_overlap = true, - border = 'rounded', - width = 0.8, - height = { min = 5, max = 25 }, - padding = { 1, 2 }, - title = true, - title_pos = 'center', - zindex = 1000, - wo = { - winblend = 10, - }, - }, - layout = { - width = { min = 20 }, - spacing = 6, - align = 'center', - }, show_help = false, show_keys = true, triggers = { @@ -145,7 +127,6 @@ local normal_mappings = { { 'i', group = ' Insert' }, { 'id', ":put =strftime('## %a, %d %b, %Y, %r')", desc = 'Date' }, { 'if', ":put =expand('%:t')", desc = 'File Name' }, - { 'in', ':Nerdy', desc = 'Nerd Glyphs' }, { 'ip', ':put %', desc = 'Relative Path' }, { 'iP', ':put %:p', desc = 'Absolute Path' }, { 'it', ":put =strftime('## %r')", desc = 'Time' }, @@ -219,7 +200,6 @@ local normal_mappings = { { 'mt', ":lua require('markit').toggle()", desc = 'Toggle' }, { 'mx', ":lua require('markit').delete_bookmark()", desc = 'Delete Bookmark' }, - { 'o', group = ' Options' }, { 'oi', 'vim.show_pos', desc = 'Inspect Position' }, { 'oN', ':lua Snacks.notifier.show_history()', desc = 'Notification History' }, @@ -434,8 +414,6 @@ local visual_mappings = { }, { 'pi', 'CodeSnapASCII', mode = 'x', desc = 'Save ASCII code snapshot into clipboard' }, - - { 'y', group = ' Yank' }, { 'yg', ':lua require"gitlinker".get_buf_range_url("v")', desc = 'Copy Git URL' }, }