Update .config/nvim/lua/config/20_keymaps.lua

Update .config/nvim/lua/plugin/38_oil.lua
This commit is contained in:
Lewis Wynne 2025-11-04 03:39:04 +00:00
parent 941794402e
commit 9d8708a6bc
2 changed files with 8 additions and 0 deletions

View file

@ -22,3 +22,8 @@ for i = 1, 6 do
end end
nmap_leader(';', '<Cmd>vsplit<CR>', 'vsplit') nmap_leader(';', '<Cmd>vsplit<CR>', 'vsplit')
nmap_leader('-', '<Cmd>split<CR>', 'hsplit') nmap_leader('-', '<Cmd>split<CR>', 'hsplit')
nmap_leader('j', '<Cmd>resize +10<CR>', 'bigger height')
nmap_leader('k', '<Cmd>resize -10<CR>', 'smaller height')
nmap_leader('l', '<Cmd>vertical resize +20<CR>', 'bigger width')
nmap_leader('h', '<Cmd>vertical resize -20<CR>', 'smaller width')

View file

@ -4,5 +4,8 @@ return {
dependencies = { { "nvim-mini/mini.icons" } }, dependencies = { { "nvim-mini/mini.icons" } },
opts = {}, opts = {},
lazy = false, lazy = false,
keys = {
{ "<leader>o", mode = "n", "<Cmd>Oil<CR>", desc = "oil" },
},
}, },
} }