diff --git a/init.lua b/init.lua index d0cac94c..e316607d 100644 --- a/init.lua +++ b/init.lua @@ -288,7 +288,7 @@ require('lazy').setup({ -- Document existing key chains require('which-key').register { ['x'] = { name = '[X] Close buffer', _ = 'which_key_ignore' }, - ['h'] = { name = '[H]arpoon', _ = 'which_key_ignore' }, + ['o'] = { name = 'Harp[O]on', _ = 'which_key_ignore' }, ['t'] = { name = '[T]oggleTerminal', _ = 'which_key_ignore' }, ['c'] = { name = '[C]ode', _ = 'which_key_ignore' }, ['d'] = { name = '[D]ocument', _ = 'which_key_ignore' }, @@ -303,6 +303,7 @@ require('lazy').setup({ -- visual mode require('which-key').register({ ['h'] = { 'Git [H]unk' }, + ['R'] = { name = '[R]efactor', _ = 'which_key_ignore' }, }, { mode = 'v' }) end, }, @@ -422,7 +423,7 @@ require('lazy').setup({ end, }, - { -- You can easily change to a different colorscheme. + --[[ { -- You can easily change to a different colorscheme. -- Change the name of the colorscheme plugin below, and then -- change the command in the config to whatever the name of that colorscheme is. -- @@ -438,7 +439,8 @@ require('lazy').setup({ -- You can configure highlights by doing something like: vim.cmd.hi 'Comment gui=none' end, - }, + }, ]] + require 'custom.plugins.catppuccin', -- Highlight todo, notes, etc in comments { 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } }, diff --git a/lua/custom/plugins/catppuccin.lua b/lua/custom/plugins/catppuccin.lua index c288c742..c9d50e46 100644 --- a/lua/custom/plugins/catppuccin.lua +++ b/lua/custom/plugins/catppuccin.lua @@ -1,3 +1,4 @@ +return { 'catppuccin/nvim', name = 'catppuccin', priority = 1000, @@ -11,7 +12,12 @@ vim.cmd.hi 'Comment gui=none' end, opts = { - term_colors = true, + dim_inactive = { + enabled = true, + shade = 'dark', + percentage = 0.15, + }, + transparent_background = true, --[[ color_overrides = { mocha = { base = '#000000',