update
This commit is contained in:
parent
770c9ae01f
commit
b247db8531
4 changed files with 48 additions and 2 deletions
|
|
@ -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 {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue