This commit is contained in:
Ray Elliott 2025-12-07 18:53:18 +00:00
commit b247db8531
4 changed files with 48 additions and 2 deletions

View file

@ -39,4 +39,11 @@ map('n', 'K', function()
if lsp_has(0, 'hoverProvider') then vim.lsp.buf.hover() end
end, { desc = 'Hover (LSP)', silent = true })
-- Netrw file explorer keymaps
-- Open netrw in new tab at current file's directory
map('n', '<leader>te', function()
vim.cmd('tabnew')
vim.cmd('Explore ' .. vim.fn.expand('%:p:h'))
end, { desc = 'Tab explore (netrw in new tab)', silent = true })
return {}