1
0

FEAT: Added keymappings to <leader>e and <leader>le to open netrw

This commit is contained in:
Nigel Barink 2024-03-26 17:06:54 +01:00
parent ab7b92e179
commit 85f3ba3d71
Signed by: Nigel
GPG Key ID: 6893A31C2D84A9D2

View File

@ -5,6 +5,8 @@ vim.keymap.set('n', '<leader><F8>', vim.cmd.UndotreeToggle)
vim.keymap.set('n', '<leader>p', [["_dP]])
vim.keymap.set('n', '<leader>fa', vim.lsp.buf.format)
vim.keymap.set('n', '<leader>m', ":Mason<CR>")
vim.keymap.set('n', '<leader>e',':Explore<CR>', {noremap = false, silent=true})
vim.keymap.set('n', '<leader>le',':Lexplore<CR>', {noremap = false, silent=true})
local osname = vim.loop.os_uname().sysname
if osname == "Windows_NT" then
vim.keymap.set('n', '<leader>x', function() print("sorry this is windows!") end)