forked from foxora/nix
changed neovim keybinds :3
This commit is contained in:
parent
63e987277e
commit
b1cfda31f1
1 changed files with 9 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ require("plugins")
|
||||||
require("lsp")
|
require("lsp")
|
||||||
require("colors")
|
require("colors")
|
||||||
|
|
||||||
|
-- move windows :3
|
||||||
vim.keymap.set("n", "<A-h>", function()
|
vim.keymap.set("n", "<A-h>", function()
|
||||||
vim.cmd("wincmd h")
|
vim.cmd("wincmd h")
|
||||||
end)
|
end)
|
||||||
|
|
@ -22,3 +23,11 @@ end)
|
||||||
vim.keymap.set("n", "<A-l>", function()
|
vim.keymap.set("n", "<A-l>", function()
|
||||||
vim.cmd("wincmd l")
|
vim.cmd("wincmd l")
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
-- splits <3 (i love splits sm)
|
||||||
|
vim.keymap.set("n", "<leader>s", function()
|
||||||
|
vim.cmd("split")
|
||||||
|
end)
|
||||||
|
vim.keymap.set("n", "<leader>v", function()
|
||||||
|
vim.cmd("vsplit")
|
||||||
|
end)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue