Compare commits

..

2 Commits

Author SHA1 Message Date
THEON-1
2b45d04598 window keymaps 2025-10-29 12:57:51 +01:00
THEON-1
275323acd7 Lazy color scheme 2025-10-29 12:57:33 +01:00
2 changed files with 10 additions and 2 deletions

View File

@@ -44,6 +44,10 @@ vim.keymap.set("n", "<leader>sb", function ()
assert(io.popen(string.format("/usr/bin/chmod +x \"%s\"", filename))) assert(io.popen(string.format("/usr/bin/chmod +x \"%s\"", filename)))
end) end)
-- window splitting
vim.keymap.set("n", "<C-/>", "<cmd>sp<CR>")
vim.keymap.set("n", "<C-\\>", "<cmd>vs<CR>")
-- window switching -- window switching
vim.keymap.set("n", "<C-h>", "<cmd>wincmd h<CR>") vim.keymap.set("n", "<C-h>", "<cmd>wincmd h<CR>")
vim.keymap.set("n", "<C-j>", "<cmd>wincmd j<CR>") vim.keymap.set("n", "<C-j>", "<cmd>wincmd j<CR>")
@@ -55,7 +59,11 @@ vim.keymap.set("n", "<C-Left>", "<cmd>wincmd H<CR>")
vim.keymap.set("n", "<C-Right>", "<cmd>wincmd L<CR>") vim.keymap.set("n", "<C-Right>", "<cmd>wincmd L<CR>")
vim.keymap.set("n", "<C-Up>", "<cmd>wincmd K<CR>") vim.keymap.set("n", "<C-Up>", "<cmd>wincmd K<CR>")
vim.keymap.set("n", "<C-Down>", "<cmd>wincmd J<CR>") vim.keymap.set("n", "<C-Down>", "<cmd>wincmd J<CR>")
vim.keymap.set("n", "<C-r>", "<cmd>wincmd r<CR>") vim.keymap.set("n", "<C->", "<cmd>wincmd r<CR>")
vim.keymap.set("n", "<C-A-Right>", "<cmd>vert res +1<CR>")
vim.keymap.set("n", "<C-A-Left>", "<cmd>vert res -1<CR>")
vim.keymap.set("n", "<C-A-Up>", "<cmd>res +1<CR>")
vim.keymap.set("n", "<C-A-Down>", "<cmd>res -1<CR>")
-- lsp -- lsp
vim.keymap.set("n", "<F4>", vim.lsp.buf.code_action) vim.keymap.set("n", "<F4>", vim.lsp.buf.code_action)

View File

@@ -29,7 +29,7 @@ require("lazy").setup({
}, },
-- Configure any other settings here. See the documentation for more details. -- Configure any other settings here. See the documentation for more details.
-- colorscheme that will be used when installing plugins. -- colorscheme that will be used when installing plugins.
install = { colorscheme = { "habamax" } }, install = { colorscheme = { "gruvbox" } },
-- automatically check for plugin updates -- automatically check for plugin updates
checker = { enabled = true }, checker = { enabled = true },
}) })