- added Netrw shortcut and settings

This commit is contained in:
Erik Mertens
2025-07-03 10:50:10 +02:00
parent bc0e4a1650
commit 4e6533cf57
5 changed files with 22 additions and 1 deletions

View File

@@ -5,3 +5,5 @@ require("ui")
-- require("vue")
require("pluginmanager")
-- require("commands")

3
lua/commands.lua Normal file
View File

@@ -0,0 +1,3 @@
function SayName()
end

View File

@@ -10,6 +10,9 @@ return {
wk.add({
{ "<leader>D", group = "Debug" }
})
wk.add({
{ "<leader>t", group = "Tree" }
})
end,
keys = {
{
@@ -19,5 +22,11 @@ return {
end,
desc = "Buffer Local Keymaps (which-key)",
},
{
"<leader>tt", ":Lexplore<cr>", desc = "Expore current directory"
},
{
"<leader>t.", ":Lexplore %:p:h<cr>", desc = "Expore file directory"
}
},
}

View File

@@ -51,6 +51,12 @@ vim.o.laststatus = 3
vim.o.breakindent = true
vim.o.showbreak = "=>"
-- Netrw settings
vim.g.netrw_keepdir = 0
vim.g.netrw_winsize = 25
vim.g.netrw_banner = 0
vim.g.netrw_localcopydircmd = "cp -r"
-- -- terminal mode
-- if jit.os == "Windows" then
-- vim.o.shell = [[C:\Users\mertens\AppData\Local\Programs\Git\bin\bash.exe]]

View File

@@ -32,7 +32,8 @@ end
if vim.g.neovide then
-- vim.o.guifont = "Maple Mono:h13"
vim.o.guifont = "MonaspiceNe Nerd Font"
-- vim.o.guifont = "MonaspiceNe Nerd Font"
vim.o.guifont = "GeistMono Nerd Font:h14"
vim.g.neovide_floating_shadow = true
vim.g.neovide_floating_z_height = 10
vim.g.neovide_light_angle_degrees = 45