diff --git a/lua/keymaps.lua b/lua/keymaps.lua index 94295fe..22e0ab4 100644 --- a/lua/keymaps.lua +++ b/lua/keymaps.lua @@ -33,11 +33,6 @@ vim.keymap.set('n', '', '', { desc = 'Move focus to the right win vim.keymap.set('n', '', '', { desc = 'Move focus to the lower window' }) vim.keymap.set('n', '', '', { desc = 'Move focus to the upper window' }) --- Delete (currently selected) text without yanking it -vim.keymap.set({ 'n', 'v' }, 'dny', '"_d', { desc = '[D]elete [N]o [Y]ank' }) --- Replace currently selected text with default register without yanking it -vim.keymap.set('v', 'pny', '"_dP', { desc = '[P]aste [N]o [Y]ank' }) - -- Populate CMD to prepare for change directory vim.keymap.set('n', 'cd ', ':cd ', { desc = 'Prepare CMD for [C]hange [D]irectory' }) -- Navigate to 'base' directory, the initial dir that nvim was run in diff --git a/lua/kickstart/plugins/which-key.lua b/lua/kickstart/plugins/which-key.lua index a0d711f..66a2b4e 100644 --- a/lua/kickstart/plugins/which-key.lua +++ b/lua/kickstart/plugins/which-key.lua @@ -22,7 +22,7 @@ return { -- Document existing key chains require('which-key').add { { 'c', group = '[C]ode-/[C]hange' }, - { 'd', group = '[D]ocument/[D]elete', mode = { 'n', 'v' } }, + { 'd', group = '[D]ocument' }, { 'r', group = '[R]ename' }, { 's', group = '[S]earch' }, { 'w', group = '[W]orkspace' }, @@ -31,12 +31,9 @@ return { { 'g', group = '[G]it/[G]lobal', mode = { 'n', 'v' } }, { 'b', group = '[B]uffer/[B]reakpoint' }, { 'cd', group = '[D]irectory' }, - { 'dn', group = '[N]o', mode = { 'n', 'v' } }, { 'l', group = '[L]ist', mode = { 'n', 'v' } }, { 'f', group = '[F]ormat/[F]ile', mode = { 'n', 'v' } }, { 'o', group = '[O]verseer', mode = { 'n', 'v' } }, - { 'p', group = '[P]aste', mode = { 'v' } }, - { 'pn', group = '[N]o', mode = { 'v' } }, } end, },