Update .config/nvim/lua/config/20_keymaps.lua
Update .config/nvim/lua/plugin/38_oil.lua
This commit is contained in:
parent
941794402e
commit
9d8708a6bc
2 changed files with 8 additions and 0 deletions
|
|
@ -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')
|
||||||
|
|
|
||||||
|
|
@ -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" },
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue