vim.keymap.set('n', 'Q', ':EvalPython') -- show the vim builtin Explorer vim.keymap.set('n', 'pv', vim.cmd.Ex, { desc = 'Open Builtin File Explorer' }) -- move whole blocks back and forth vim.keymap.set('v', 'J', ":m '>+1gv=gv") vim.keymap.set('v', 'K', ":m '<-2gv=gv") -- Keep the search results in the middle vim.keymap.set('n', 'n', 'nzzzv') vim.keymap.set('n', 'N', 'Nzzzv') -- Copy/Pasting with System Clipboard vim.keymap.set('n', 'y', '"+y') vim.keymap.set('v', 'y', '"+y') vim.keymap.set('n', 'Y', '"+Y') -- scrolling with C-e, C-y, scroll 5 lines at once vim.keymap.set('n', '', '5') vim.keymap.set('n', '', '5') -- When selecting Text, keep the Block selected vim.keymap.set('v', '<', '', '>gv') -- Buffer next/prev vim.keymap.set('n', 'a', ':bp!', { desc = 'Jump to previous buffer' }) vim.keymap.set('n', 's', ':bn!', { desc = 'Jump to next buffer' }) -- Telescope Buffer vim.keymap.set('n', 'b', ':Telescope buffers', { desc = 'Open the Telescope Buffers Window' })