diff --git a/lua/keymaps.lua b/lua/keymaps.lua index e4fef89..9e5e6dd 100644 --- a/lua/keymaps.lua +++ b/lua/keymaps.lua @@ -31,10 +31,15 @@ vim.keymap.set('n', '', '', { desc = 'Move focus to the upper win -- 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', 'v' }, 'cd', ':cd ', { desc = 'Prepare CMD for [C]hange [D]irectory' }) + +-- Open git window from fugitive in full screen +vim.keymap.set({ 'n', 'v' }, 'go', ':Gito', { desc = '[G]it [O]pen' }) + -- Highlight when yanking (copying) text -- Try it with `yap` in normal mode -- See `:help vim.highlight.on_yank()`